mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-14 17:43:01 -04:00
Removed unused code. (NEAR and i3_mode)
This commit is contained in:
parent
04e13e3a20
commit
26e1561622
2 changed files with 0 additions and 5 deletions
|
@ -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",
|
||||
|
|
|
@ -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 ) ) )
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue