From 1d1c5f77c744dff0aa7323e5defc4f89b8df97b9 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Mon, 8 Dec 2014 22:42:40 +0100 Subject: [PATCH] wmaker: remove constants HORIZONTAL and VERTICAL from moveres.c These 2 constants have been defined at the beginning of the project, but where never used later. As the use of the associated constants suggests that they are not bringing anything useful, this patch simply removes them. Signed-off-by: Christophe CURIS --- src/moveres.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/moveres.c b/src/moveres.c index 8640511c..b271f324 100644 --- a/src/moveres.c +++ b/src/moveres.c @@ -50,10 +50,8 @@ #define LEFT 1 #define RIGHT 2 -#define HORIZONTAL (LEFT|RIGHT) #define UP 4 #define DOWN 8 -#define VERTICAL (UP|DOWN) /* True if window currently has a border. This also includes borderless * windows which are currently selected @@ -2268,10 +2266,8 @@ void wMouseResizeWindow(WWindow * wwin, XEvent * ev) #undef LEFT #undef RIGHT -#undef HORIZONTAL #undef UP #undef DOWN -#undef VERTICAL #undef HCONSTRAIN #undef RESIZEBAR