1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

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 <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-12-08 22:42:40 +01:00
committed by Carlos R. Mafra
parent b5e89127ca
commit 1d1c5f77c7

View File

@@ -50,10 +50,8 @@
#define LEFT 1 #define LEFT 1
#define RIGHT 2 #define RIGHT 2
#define HORIZONTAL (LEFT|RIGHT)
#define UP 4 #define UP 4
#define DOWN 8 #define DOWN 8
#define VERTICAL (UP|DOWN)
/* True if window currently has a border. This also includes borderless /* True if window currently has a border. This also includes borderless
* windows which are currently selected * windows which are currently selected
@@ -2268,10 +2266,8 @@ void wMouseResizeWindow(WWindow * wwin, XEvent * ev)
#undef LEFT #undef LEFT
#undef RIGHT #undef RIGHT
#undef HORIZONTAL
#undef UP #undef UP
#undef DOWN #undef DOWN
#undef VERTICAL
#undef HCONSTRAIN #undef HCONSTRAIN
#undef RESIZEBAR #undef RESIZEBAR