do not do a context switch on first invocation of callback() (set old_winpath = ".drw").
This commit is contained in:
parent
40d8b960f3
commit
31451e6be9
|
|
@ -980,7 +980,7 @@ static int waves_callback(int event, int mx, int my, KeySym key, int button, int
|
|||
int callback(const char *winpath, int event, int mx, int my, KeySym key,
|
||||
int button, int aux, int state)
|
||||
{
|
||||
static char old_winpath[PATH_MAX] = ""; /* previous focused window, used to do context switch */
|
||||
static char old_winpath[PATH_MAX] = ".drw"; /* previous focused window, used to do context switch */
|
||||
char str[PATH_MAX + 100];
|
||||
struct stat buf;
|
||||
int redraw_only;
|
||||
|
|
|
|||
Loading…
Reference in New Issue