remove drop event infrastructure
This commit is contained in:
parent
4734a8af3d
commit
7073133e66
13
awesome.c
13
awesome.c
|
@ -415,18 +415,7 @@ main(int argc, char *argv[])
|
|||
{
|
||||
XNextEvent(dpy, &ev);
|
||||
if(handler[ev.type])
|
||||
handler[ev.type](&ev); /* call handler */
|
||||
|
||||
/* drop events requested to */
|
||||
if(globalconf.drop_events)
|
||||
{
|
||||
/* need to resync */
|
||||
XSync(dpy, False);
|
||||
while(XCheckMaskEvent(dpy, globalconf.drop_events, &ev));
|
||||
globalconf.drop_events = NoEventMask;
|
||||
}
|
||||
|
||||
/* need to resync */
|
||||
handler[ev.type](&ev);
|
||||
XSync(dpy, False);
|
||||
}
|
||||
|
||||
|
|
1
client.c
1
client.c
|
@ -216,7 +216,6 @@ focus(Client *c, Bool selscreen, int screen)
|
|||
RevertToPointerRoot, CurrentTime);
|
||||
|
||||
ewmh_update_net_active_window(phys_screen);
|
||||
globalconf.drop_events |= EnterWindowMask;
|
||||
}
|
||||
|
||||
/** Manage a new client
|
||||
|
|
Loading…
Reference in New Issue