mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
remove unused
ok oga@
This commit is contained in:
parent
fa87ef4a9e
commit
bd4c4d7734
1
calmwm.h
1
calmwm.h
@ -321,7 +321,6 @@ void client_send_delete(struct client_ctx *);
|
||||
struct client_ctx *client_current(void);
|
||||
void client_hide(struct client_ctx *);
|
||||
void client_unhide(struct client_ctx *);
|
||||
void client_nocurrent(void);
|
||||
void client_setname(struct client_ctx *);
|
||||
void client_warp(struct client_ctx *);
|
||||
void client_ptrwarp(struct client_ctx *);
|
||||
|
12
xevents.c
12
xevents.c
@ -192,17 +192,7 @@ xev_handle_enternotify(struct xevent *xev, XEvent *ee)
|
||||
XCrossingEvent *e = &ee->xcrossing;
|
||||
struct client_ctx *cc;
|
||||
|
||||
if ((cc = client_find(e->window)) == NULL) {
|
||||
/*
|
||||
* XXX - later. messes up unclutter. but may be
|
||||
* needed when we introduce menu windows and such into
|
||||
* the main event loop.
|
||||
*/
|
||||
#ifdef notyet
|
||||
if (e->window != e->root)
|
||||
client_nocurrent();
|
||||
#endif
|
||||
} else
|
||||
if ((cc = client_find(e->window)) != NULL)
|
||||
client_setactive(cc, 1);
|
||||
|
||||
xev_register(xev);
|
||||
|
Loading…
Reference in New Issue
Block a user