mirror of
https://github.com/stumpwm/stumpwm.git
synced 2026-09-10 07:26:20 -04:00
invert check for mode-line cleanup
spotted by Joram Schrijver and Philip Adams
This commit is contained in:
parent
4506f7baa3
commit
0e95d4df1d
|
|
@ -259,7 +259,7 @@ timer.")
|
|||
(defun destroy-mode-line (ml)
|
||||
(run-hook-with-args *destroy-mode-line-hook* ml)
|
||||
(xlib:destroy-window (mode-line-window ml))
|
||||
(unless (mode-line-cc ml) ;; mode-lines of dock-type windows do not have a cc
|
||||
(when (mode-line-cc ml) ;; mode-lines of dock-type windows do not have a cc
|
||||
(xlib:free-gcontext (mode-line-gc ml)))
|
||||
(setf *mode-lines* (remove ml *mode-lines*))
|
||||
(sync-mode-line ml)
|
||||
|
|
|
|||
Loading…
Reference in a new issue