From 1e46ba72f706d7ab2b0f7a6a14054b908348d10e Mon Sep 17 00:00:00 2001 From: oga Date: Tue, 20 May 2008 14:50:51 +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@. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 721f437..b0be0e4 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ 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 1.4.1