diff --git a/src/manager.scm b/src/manager.scm index 42d55fe..1d80606 100644 --- a/src/manager.scm +++ b/src/manager.scm @@ -460,7 +460,9 @@ (if (window-exists? dpy (client:window client)) (let ((mode (focus-change-event-mode xevent)) (detail (focus-change-event-detail xevent))) - (if (and (eq? mode (notify-mode normal)) + + (if (and (or (eq? mode (notify-mode normal)) + (eq? mode (notify-mode while-grabbed))) (memq detail (list (notify-detail nonlinear) (notify-detail nonlinear-virtual) (notify-detail virtual)