diff options
author | Dave Davenport <qball@gmpclient.org> | 2014-08-25 09:14:49 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2014-08-25 09:14:49 +0200 |
commit | 26e1561622a4911a227dc7ce12993a889491b2d2 (patch) | |
tree | a0f0c4de08d8207461df30344871f222993805c6 | |
parent | 04e13e3a20a6813c61d35152888908d6291c1e46 (diff) |
Removed unused code. (NEAR and i3_mode)
-rw-r--r-- | config/config.c | 4 | ||||
-rw-r--r-- | include/rofi.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/config/config.c b/config/config.c index 7037599d..3597748f 100644 --- a/config/config.c +++ b/config/config.c @@ -60,10 +60,6 @@ Settings config = { .zeltak_mode = 0, // Terminal to use. (for ssh and open in terminal) .terminal_emulator = "x-terminal-emulator", -#ifdef I3 - // Auto-detected. no longer used. - .i3_mode = 0, -#endif // Key binding .window_key = "F12", .run_key = "mod1+F2", diff --git a/include/rofi.h b/include/rofi.h index 8951eb5b..1b46e682 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -3,7 +3,6 @@ #include <X11/X.h> #include <glib.h> -#define NEAR( a, o, b ) ( ( b ) > ( a ) - ( o ) && ( b ) < ( a ) + ( o ) ) #define OVERLAP( a, b, c, d ) ( ( ( a ) == ( c ) && ( b ) == ( d ) ) || MIN ( ( a ) + ( b ), ( c ) + ( d ) ) - MAX ( ( a ), ( c ) ) > 0 ) #define INTERSECT( x, y, w, h, x1, y1, w1, h1 ) ( OVERLAP ( ( x ), ( w ), ( x1 ), ( w1 ) ) && OVERLAP ( ( y ), ( h ), ( y1 ), ( h1 ) ) ) |