diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 600d969..7ccfd55 100644 --- a/src/screen.c +++ b/src/screen.c @@ -143,7 +143,7 @@ int vwm_screen_is_empty(vwm_t *vwm, const vwm_screen_t *scr) int is_empty = 1; list_for_each_entry(xwin, &vwm->xwindows, xwindows) { - if (!xwin->mapped) + if (!xwin->client_mapped) continue; if (!xwin->managed || (xwin->managed->desktop == vwm->focused_desktop && !xwin->managed->shelved && !xwin->managed->configuring)) { |