From c4a8f44931713f32f250264ca00520aae30fc0e3 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9942049..2fb5f2e 100644 --- a/Makefile +++ b/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-2-gb3c3