diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index c1c7018..49368f2 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -1162,6 +1162,11 @@ static gboolean fullscreen_window_exists(GtkWidget* nw) wnck_workspace = wnck_screen_get_active_workspace (wnck_screen); + if (!wnck_workspace) + { + return FALSE; + } + for (l = wnck_screen_get_windows_stacked (wnck_screen); l != NULL; l = l->next) { WnckWindow *wnck_win = (WnckWindow *) l->data; |