1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Remove unused code.

This commit is contained in:
Qball Cow 2014-01-13 17:05:48 +01:00
parent dc8f2a2cfb
commit 67dea02a6a

View file

@ -724,7 +724,6 @@ client* window_client( Window win )
unsigned int windows_modmask; unsigned int windows_modmask;
KeySym windows_keysym; KeySym windows_keysym;
// flags to set if we switch modes on the fly // flags to set if we switch modes on the fly
int run_windows = 0;
Window main_window = None; Window main_window = None;
#include "textbox.c" #include "textbox.c"
@ -1006,7 +1005,7 @@ void run_switcher( int fmode )
XSync( display, True ); XSync( display, True );
} }
do { {
char pattern[50], **list = NULL; char pattern[50], **list = NULL;
int i, plen = 0, lines = 0; int i, plen = 0, lines = 0;
@ -1104,7 +1103,7 @@ void run_switcher( int fmode )
free( wins ); free( wins );
winlist_free( ids ); winlist_free( ids );
} while ( run_windows ); }
if ( fmode == FORK ) if ( fmode == FORK )
exit( EXIT_SUCCESS ); exit( EXIT_SUCCESS );