summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-17 20:39:25 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-17 20:39:25 +0000
commite95b105d8bb734cb643495a29e2ce16fa3a00328 (patch)
treee032f56685e4e69ac568dbb7d71884539d79d373
parent5302cfe44d126ff354e5c8c679c5d10f9dec8e99 (diff)
remove unused
ok oga@
-rw-r--r--app/cwm/calmwm.h3
-rw-r--r--app/cwm/xevents.c14
2 files changed, 3 insertions, 14 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index b13187af4..675a6bd3e 100644
--- a/app/cwm/calmwm.h
+++ b/app/cwm/calmwm.h
@@ -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: calmwm.h,v 1.75 2009/01/17 18:41:50 oga Exp $
+ * $Id: calmwm.h,v 1.76 2009/01/17 20:39:24 okan Exp $
*/
#ifndef _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 *);
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index cc322ad06..626262d78 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/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);