File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -461,15 +461,15 @@ ewmhDesktopsEventHook'
461
461
462
462
if | mt == a_cw ->
463
463
killWindow w
464
+ | mt == a_cd, n : _ <- d, Just ww <- ws !? fi n ->
465
+ if W. currentTag s == W. tag ww then mempty else windows $ W. view (W. tag ww)
466
+ | mt == a_cd ->
467
+ trace $ " Bad _NET_CURRENT_DESKTOP with data=" ++ show d
464
468
| not (w `W.member` s) ->
465
469
-- do nothing for unmanaged windows; it'd be just a useless
466
470
-- refresh which breaks menus/popups of misbehaving apps that
467
471
-- send _NET_ACTIVE_WINDOW requests for override-redirect wins
468
472
mempty
469
- | mt == a_cd, n : _ <- d, Just ww <- ws !? fi n ->
470
- if W. currentTag s == W. tag ww then mempty else windows $ W. view (W. tag ww)
471
- | mt == a_cd ->
472
- trace $ " Bad _NET_CURRENT_DESKTOP with data=" ++ show d
473
473
| mt == a_d, n : _ <- d, Just ww <- ws !? fi n ->
474
474
if W. findTag w s == Just (W. tag ww) then mempty else windows $ W. shiftWin (W. tag ww) w
475
475
| mt == a_d ->
You can’t perform that action at this time.
0 commit comments