win32: enable live resize of frames
original commit: 7ad81e7560da525cd5016477554e1e9eee0f87ec
This commit is contained in:
parent
8206ecb470
commit
89dfbe44e1
|
@ -276,6 +276,11 @@
|
|||
[(and (= msg WM_SIZE)
|
||||
(not (= wParam SIZE_MINIMIZED)))
|
||||
(queue-window-event this (lambda () (queue-on-size)))
|
||||
;; for live resize:
|
||||
(constrained-reply (get-eventspace)
|
||||
(lambda ()
|
||||
(let loop () (pre-event-sync #t) (when (yield) (loop))))
|
||||
(void))
|
||||
(stdret 0 1)]
|
||||
[(= msg WM_MOVE)
|
||||
(queue-window-event this (lambda () (queue-on-size)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user