mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Prevent a keep-on-top from maximizing from window-select
This commit is contained in:
parent
c9ceaee673
commit
a8c0b8fc4f
2 changed files with 3 additions and 2 deletions
|
|
@ -299,7 +299,8 @@ with open windows and maximizes them. Only one instance allowed."))
|
|||
(set-on-change window-select (lambda (obj)
|
||||
(let ((win (gethash (value obj) (windows app))))
|
||||
(when win
|
||||
(window-maximize win)))))
|
||||
(unless (keep-on-top win)
|
||||
(window-maximize win))))))
|
||||
(create-option window-select :content "Select Window")
|
||||
window-select))
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
(set-on-window-can-close win #'can-do)
|
||||
(set-on-window-can-move win #'can-do)
|
||||
(set-on-window-can-size win #'can-do))
|
||||
|
||||
(window-keep-on-top win)
|
||||
(create-div win :content "I am pinned")))
|
||||
|
||||
(defun on-help-about (body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue