diff --git a/src/callback.c b/src/callback.c index 3c7517de..90d0b58d 100644 --- a/src/callback.c +++ b/src/callback.c @@ -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;