don't hover buttons while the pointer is grabbed
This commit is contained in:
parent
50a0bf090b
commit
6fbeeb8032
1 changed files with 4 additions and 0 deletions
|
@ -823,6 +823,10 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
|
/* when there is a grab on the pointer, we won't get enter/leave
|
||||||
|
notifies, but we still get motion events */
|
||||||
|
if (grab_on_pointer()) break;
|
||||||
|
|
||||||
con = frame_context(client, e->xmotion.window,
|
con = frame_context(client, e->xmotion.window,
|
||||||
e->xmotion.x, e->xmotion.y);
|
e->xmotion.x, e->xmotion.y);
|
||||||
switch (con) {
|
switch (con) {
|
||||||
|
|
Loading…
Reference in a new issue