Skip to content

Commit

Permalink
Cooperate better with X11 window managers. Patch from Juliusz
Browse files Browse the repository at this point in the history
Chroboczek.
  • Loading branch information
Christophe Rhodes committed Apr 20, 2009
1 parent 5921d27 commit 5a2f315
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Backends/CLX/port.lisp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -458,7 +458,14 @@
(setf (xlib:wm-hints window) (xlib:make-wm-hints :input :on)) (setf (xlib:wm-hints window) (xlib:make-wm-hints :input :on))
(setf (xlib:wm-name window) (frame-pretty-name frame)) (setf (xlib:wm-name window) (frame-pretty-name frame))
(setf (xlib:wm-icon-name window) (frame-pretty-name frame)) (setf (xlib:wm-icon-name window) (frame-pretty-name frame))
(setf (xlib:wm-protocols window) `(:wm_delete_window))))) (xlib:set-wm-class
window
(string-downcase (frame-name frame))
(string-capitalize (string-downcase (frame-name frame))))
(setf (xlib:wm-protocols window) `(:wm_delete_window))
(xlib:change-property window
:WM_CLIENT_LEADER (list (xlib:window-id window))
:WINDOW 32))))


(defmethod realize-mirror ((port clx-port) (sheet unmanaged-top-level-sheet-pane)) (defmethod realize-mirror ((port clx-port) (sheet unmanaged-top-level-sheet-pane))
(realize-mirror-aux port sheet (realize-mirror-aux port sheet
Expand Down

0 comments on commit 5a2f315

Please sign in to comment.