mirror of
https://github.com/rabbibotton/clog.git
synced 2026-03-01 03:20:35 -08:00
unstick on move
This commit is contained in:
parent
45ad536b7f
commit
31f207c28a
2 changed files with 5 additions and 1 deletions
|
|
@ -87,7 +87,9 @@
|
|||
(set-geometry control-list :height (+ (- sheight 10) adj-size)))))
|
||||
(set-on-resize (window (connection-body obj)) #'on-size)
|
||||
(set-on-window-size win #'on-size)
|
||||
(set-on-window-move win #'on-size)
|
||||
(set-on-window-move win (lambda (obj)
|
||||
(setf (height obj) (height obj))
|
||||
(on-size obj)))
|
||||
(set-on-full-screen-change (html-document (connection-body obj)) #'on-size)
|
||||
(set-on-orientation-change (window (connection-body obj)) #'on-size)
|
||||
(set-on-pointer-down divider (lambda (obj data)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
(add-class content "w3-small")
|
||||
(set-on-window-close win (lambda (obj)
|
||||
(setf (control-properties-win app) nil)))
|
||||
(set-on-window-move win (lambda (obj)
|
||||
(setf (height obj) (height obj))))
|
||||
(window-toggle-pinned win :state t)
|
||||
(setf (control-properties-win app) win)
|
||||
(setf (properties-list app) control-list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue