mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
remove drop event infrastructure
This commit is contained in:
parent
4734a8af3d
commit
7073133e66
3 changed files with 1 additions and 15 deletions
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
|
||||
|
|
|
@ -330,8 +330,6 @@ struct AwesomeConf
|
|||
tag_client_node_t *tclink;
|
||||
/** Command line passed to awesome */
|
||||
char *argv;
|
||||
/** EventMask to drop before each XEvent treatement */
|
||||
long drop_events;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue