Re: ButtonRelease event when focus changed

2021-05-01 Thread Carsten Haitzler
On Fri, 30 Apr 2021 15:05:35 +0300 Rokas Kupstys said: in x, a button press implicitly grabs the mouse to that window you pressed on. that's why you can press, drag out of the window far away and release the mouse and the original window gets the motion events outside of the window and the

ButtonRelease event when focus changed

2021-05-01 Thread Rokas Kupstys
Hello, I am in this situation where i perform a drag operation which creates a new window under mouse cursor and starts moving it _NET_WM_MOVERESIZE atom, all without releasing mouse button. Problem is that neither window receives ButtonRelease event once drag operation is done, and