diff options
Diffstat (limited to 'src/xwindow.c')
-rw-r--r-- | src/xwindow.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/xwindow.c b/src/xwindow.c index 1564cfe..3812ff2 100644 --- a/src/xwindow.c +++ b/src/xwindow.c @@ -72,18 +72,18 @@ int vwm_xwin_is_mapped(vwm_t *vwm, vwm_xwindow_t *xwin) return xwin->client_mapped; switch (vwm->focused_context) { - case VWM_CONTEXT_SHELF: - if (vwm->focused_shelf == vwin) - ret = 1; - break; - - case VWM_CONTEXT_DESKTOP: - if (vwm->focused_desktop == vwin->desktop && !vwin->shelved) - ret = 1; - break; - - default: - VWM_BUG("Unsupported context"); + case VWM_CONTEXT_SHELF: + if (vwm->focused_shelf == vwin) + ret = 1; + break; + + case VWM_CONTEXT_DESKTOP: + if (vwm->focused_desktop == vwin->desktop && !vwin->shelved) + ret = 1; + break; + + default: + VWM_BUG("Unsupported context"); } return ret; |