win32: enable live resize of frames
This commit is contained in:
parent
219a39575a
commit
7ad81e7560
|
@ -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