diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-06-19 09:04:21 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-06-19 09:04:21 +0200 |
commit | 51a94a2f147e490101f33b276c83389e48307425 (patch) | |
tree | 1ab6353de634a0bde96b6d7ca08d5c6f514e5db8 /event.c | |
parent | c95bf3db9dcbf48428140bca6c2f86129977cc6c (diff) | |
download | dwm-51a94a2f147e490101f33b276c83389e48307425.tar.gz dwm-51a94a2f147e490101f33b276c83389e48307425.tar.bz2 dwm-51a94a2f147e490101f33b276c83389e48307425.zip |
removed crappy createnotify handler
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -225,19 +225,6 @@ configurenotify(XEvent *e) { } static void -createnotify(XEvent *e) { - static XWindowAttributes wa; - XCreateWindowEvent *ev = &e->xcreatewindow; - - if(!XGetWindowAttributes(dpy, ev->window, &wa)) - return; - if(wa.override_redirect) - return; - if(!getclient(ev->window) && (wa.map_state == IsViewable)) - manage(ev->window, &wa); -} - -static void destroynotify(XEvent *e) { Client *c; XDestroyWindowEvent *ev = &e->xdestroywindow; @@ -363,7 +350,6 @@ void (*handler[LASTEvent]) (XEvent *) = { [ButtonPress] = buttonpress, [ConfigureRequest] = configurerequest, [ConfigureNotify] = configurenotify, -/* [CreateNotify] = createnotify, */ [DestroyNotify] = destroynotify, [EnterNotify] = enternotify, [LeaveNotify] = leavenotify, |