Client/Event: Fix raise with max flag and use flag IgnoreNextExose instead XQueryPointer for raise in client_focus
This commit is contained in:
11
src/event.c
11
src/event.c
@@ -368,11 +368,16 @@ enternotify(XEvent *e)
|
||||
Client *c;
|
||||
int n;
|
||||
|
||||
if((ev->mode != NotifyNormal
|
||||
|| ev->detail == NotifyInferior)
|
||||
&& ev->window != ROOT)
|
||||
if((ev->mode != NotifyNormal || ev->detail == NotifyInferior)
|
||||
&& ev->window != ROOT)
|
||||
return;
|
||||
|
||||
if(tags[selscreen][seltag[selscreen]].flags & IgnoreNextExpose)
|
||||
{
|
||||
tags[selscreen][seltag[selscreen]].flags &= ~IgnoreNextExpose;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Don't handle EnterNotify event if it's about systray */
|
||||
if(systray_find(ev->window) || ev->window == traywin)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user