added send-configuration
This commit is contained in:
parent
dfd4bcfb28
commit
fd46b53447
|
@ -27,6 +27,7 @@
|
||||||
window-level
|
window-level
|
||||||
point-in-rectangle?
|
point-in-rectangle?
|
||||||
set-wm-state! get-wm-state ((wm-state) :syntax)
|
set-wm-state! get-wm-state ((wm-state) :syntax)
|
||||||
|
send-configuration
|
||||||
|
|
||||||
maximize-window maximal-size/hints
|
maximize-window maximal-size/hints
|
||||||
size-window desired-size/hints desired-position/hints
|
size-window desired-size/hints desired-position/hints
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
(define-structure titlebar
|
(define-structure titlebar
|
||||||
(export create-titlebar destroy-titlebar titlebar? titlebar:window
|
(export create-titlebar destroy-titlebar titlebar? titlebar:window
|
||||||
map-titlebar unmap-titlebar move-resize-titlebar
|
map-titlebar unmap-titlebar move-resize-titlebar
|
||||||
set-titlebar-state! set-titlebar-title!)
|
set-titlebar-state! set-titlebar-title! set-titlebar-title+state!)
|
||||||
(open scheme define-record-types threads list-lib
|
(open scheme define-record-types threads list-lib
|
||||||
rendezvous-channels rendezvous
|
rendezvous-channels rendezvous
|
||||||
xlib
|
xlib
|
||||||
|
|
|
@ -553,6 +553,15 @@
|
||||||
(uninstall-colormap dpy c))
|
(uninstall-colormap dpy c))
|
||||||
(all-window-colormaps dpy window)))
|
(all-window-colormaps dpy window)))
|
||||||
|
|
||||||
|
(define (send-configuration dpy window)
|
||||||
|
(let ((r (root-rectangle dpy window)))
|
||||||
|
(send-event dpy window #f (event-mask structure-notify)
|
||||||
|
(create-configure-event
|
||||||
|
(event-type configure-notify) 0 #t dpy window window
|
||||||
|
(rectangle:x r) (rectangle:y r)
|
||||||
|
(rectangle:width r) (rectangle:height r)
|
||||||
|
0 none #f))))
|
||||||
|
|
||||||
;; timer
|
;; timer
|
||||||
|
|
||||||
(define (now)
|
(define (now)
|
||||||
|
|
Loading…
Reference in New Issue