aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2009-01-17 20:39:24 +0000
committerokan2009-01-17 20:39:24 +0000
commit57a05ccfccfb9498ff8505fb66ea7906f78ccec8 (patch)
tree82b228c4d34f4bacd2479527819d567fb6be5958 /xevents.c
parentc884a8ede0189efae770501fa9abbc837f6d6464 (diff)
downloadcwm-57a05ccfccfb9498ff8505fb66ea7906f78ccec8.tar.gz
remove unused
ok oga@
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/xevents.c b/xevents.c
index cc322ad..626262d 100644
--- a/xevents.c
+++ b/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.35 2009/01/17 18:41:50 oga Exp $
+ * $Id: xevents.c,v 1.36 2009/01/17 20:39:24 okan Exp $
*/
/*
@@ -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);