Hi,

Stumpwm can't run-or-raise windows that are on float-groups because
there's no frame associated with them and run-or-raise try to get the
window's frame.

I joined a patch to fix that, it avoid calling frames related functions
when the window is a float-window.
diff --git a/user.lisp b/user.lisp
index 2c334d9..b7762ca 100644
--- a/user.lisp
+++ b/user.lisp
@@ -278,9 +278,10 @@ instance. @var{all-groups} overrides this default. Similarily for
       ;; does not select the screen.
       ((goto-win (win)
          (let* ((group (window-group win))
-                (frame (window-frame win))
-                (old-frame (tile-group-current-frame group)))
-           (frame-raise-window group frame win)
+                (frame (unless (typep win 'float-window) (window-frame win)))
+                (old-frame (when frame (tile-group-current-frame group))))
+           (when frame
+             (frame-raise-window group frame win))
            (focus-all win)
            (unless (eq frame old-frame)
              (show-frame-indicator group)))))
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to