Kamal123 wrote:
Hi, I have been working on a compositing window manager for my kernel. The problem I am facing is with windows movements. If I move the window to right side or left side of the screen such that half of the window moves out of the visible screen, the half part automatically appears from left or from right side of the screen. For example, if I move window to left of the screen, the half part that left outside the screen will appear from right side of the screen. Why is that happening? How to fix that?
Try this:
https://github.com/JMarlin/wsbeNot looked at it myself in detail, but I found it via this forum, and will explain the basics of clipping.