Skip to content

Commit

Permalink
Merge pull request #234 from hying-caritas/fix-gmove-follow
Browse files Browse the repository at this point in the history
Fix (gmove-and-follow "<float>") exception
  • Loading branch information
David Bjergaard committed Nov 9, 2015
2 parents b63be55 + c050b72 commit 1af3363
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions floating-group.lisp
Expand Up @@ -120,6 +120,9 @@
:width last-width
:height last-height)))))

(defmethod really-raise-window ((window float-window))
(raise-window window))

;;; floating group

(defclass float-group (group)
Expand Down
2 changes: 1 addition & 1 deletion tile-window.lisp
Expand Up @@ -55,7 +55,7 @@ like xterm and emacs.")

;;;;

(defun really-raise-window (window)
(defmethod really-raise-window ((window tile-window))
(frame-raise-window (window-group window) (window-frame window) window))

(defun raise-modals-of (window)
Expand Down
4 changes: 3 additions & 1 deletion window.lisp
Expand Up @@ -41,7 +41,7 @@
update-configuration no-focus
;; Window management API
update-decoration focus-window raise-window window-visible-p window-sync
window-head))
window-head really-raise-window))

(defvar *default-window-name* "Unnamed"
"The name given to a window that does not supply its own name.")
Expand Down Expand Up @@ -88,6 +88,8 @@
may need to sync itself. WHAT-CHANGED is a hint at what changed."))
(defgeneric window-head (window)
(:documentation "Report what window the head is currently on."))
(defgeneric really-raise-window (window)
(:documentation "Really bring the window to the top of the window stack in group"))

;; Urgency / demands attention

Expand Down

0 comments on commit 1af3363

Please sign in to comment.