From 0552425b23ee3a2ddd3452e9e2f5ffc97bfadd0d Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Tue, 20 May 2008 14:50:52 +0000 Subject: Pull out the behaviour in grab_label and search_start into one utility function menu_filter(). The plan is to eventually merge in grab_menu too. Shrinks the code a fair bit. Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other windows. This is particuarly noticable on slow machines with a LOT of xterms (todd, you're an odd man). ok okan@, todd@. --- app/cwm/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/cwm/Makefile') diff --git a/app/cwm/Makefile b/app/cwm/Makefile index 99420499f..2fb5f2eaf 100644 --- a/app/cwm/Makefile +++ b/app/cwm/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.6 2008/03/25 23:41:50 matthieu Exp $ +# $OpenBSD: Makefile,v 1.7 2008/05/20 14:50:51 oga Exp $ .include PROG= cwm -SRCS= calmwm.c screen.c xmalloc.c client.c grab.c search.c \ - util.c xutil.c conf.c input.c xevents.c group.c \ +SRCS= calmwm.c screen.c xmalloc.c client.c grab.c menu.c \ + search.c util.c xutil.c conf.c input.c xevents.c group.c \ kbfunc.c font.c parse.y CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR} -- cgit v1.2.3