mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
remove unused code
ok oga@
This commit is contained in:
parent
25af744559
commit
841c646a2b
@ -38,7 +38,6 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
|
|||||||
XMapRequestEvent *e = &ee->xmaprequest;
|
XMapRequestEvent *e = &ee->xmaprequest;
|
||||||
XWindowAttributes xattr;
|
XWindowAttributes xattr;
|
||||||
struct client_ctx *cc = NULL, *old_cc;
|
struct client_ctx *cc = NULL, *old_cc;
|
||||||
struct screen_ctx *sc;
|
|
||||||
|
|
||||||
#ifdef notyet
|
#ifdef notyet
|
||||||
int state;
|
int state;
|
||||||
@ -50,7 +49,6 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
|
|||||||
if ((cc = client_find(e->window)) == NULL) {
|
if ((cc = client_find(e->window)) == NULL) {
|
||||||
XGetWindowAttributes(X_Dpy, e->window, &xattr);
|
XGetWindowAttributes(X_Dpy, e->window, &xattr);
|
||||||
cc = client_new(e->window, screen_fromroot(xattr.root), 1);
|
cc = client_new(e->window, screen_fromroot(xattr.root), 1);
|
||||||
sc = CCTOSC(cc);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef notyet /* XXX - possibly, we shouldn't map if
|
#ifdef notyet /* XXX - possibly, we shouldn't map if
|
||||||
|
Loading…
Reference in New Issue
Block a user