summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2014-08-25 09:14:49 +0200
committerDave Davenport <qball@gmpclient.org>2014-08-25 09:14:49 +0200
commit26e1561622a4911a227dc7ce12993a889491b2d2 (patch)
treea0f0c4de08d8207461df30344871f222993805c6
parent04e13e3a20a6813c61d35152888908d6291c1e46 (diff)
Removed unused code. (NEAR and i3_mode)
-rw-r--r--config/config.c4
-rw-r--r--include/rofi.h1
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 ) ) )