updated
This commit is contained in:
parent
ad3632dff6
commit
f1e3c2f9b5
|
@ -13,7 +13,7 @@
|
||||||
(display-event e))
|
(display-event e))
|
||||||
(loop (next-sync-x-event se (lambda (e) #t)))))))
|
(loop (next-sync-x-event se (lambda (e) #t)))))))
|
||||||
|
|
||||||
(let ((root-manager (create-root-wm dpy)))
|
(let ((root-manager (create-root-wm dpy '()))) ;; TODO: options
|
||||||
(display "Orion-wm finished\n"))))
|
(display "Orion-wm finished\n"))))
|
||||||
|
|
||||||
(define (display-event e)
|
(define (display-event e)
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
move-resize-window*
|
move-resize-window*
|
||||||
root-rectangle window-rectangle clip-rectangle
|
root-rectangle window-rectangle clip-rectangle
|
||||||
draw-shadow-rectangle
|
draw-shadow-rectangle
|
||||||
|
fill-rectangle*
|
||||||
invalidate-window
|
invalidate-window
|
||||||
text-center-pos
|
text-center-pos
|
||||||
window-level
|
window-level
|
||||||
|
@ -52,6 +53,13 @@
|
||||||
utils)
|
utils)
|
||||||
(files titlebar))
|
(files titlebar))
|
||||||
|
|
||||||
|
(define-structure prompt
|
||||||
|
(export prompt)
|
||||||
|
(open scheme list-lib rendezvous-channels
|
||||||
|
xlib
|
||||||
|
utils)
|
||||||
|
(files prompt))
|
||||||
|
|
||||||
;; *** key-grab ******************************************************
|
;; *** key-grab ******************************************************
|
||||||
|
|
||||||
(define-structure key-grab
|
(define-structure key-grab
|
||||||
|
@ -75,7 +83,7 @@
|
||||||
|
|
||||||
client? client:window client:client-window
|
client? client:window client:client-window
|
||||||
client:data set-client:data!
|
client:data set-client:data!
|
||||||
client-name
|
client-name find-window-by-name get-all-window-names
|
||||||
client-replace-window)
|
client-replace-window)
|
||||||
(open scheme threads list-lib locks
|
(open scheme threads list-lib locks
|
||||||
xlib
|
xlib
|
||||||
|
@ -106,7 +114,7 @@
|
||||||
threads rendezvous-channels rendezvous placeholders
|
threads rendezvous-channels rendezvous placeholders
|
||||||
xlib
|
xlib
|
||||||
manager
|
manager
|
||||||
utils)
|
utils key-grab)
|
||||||
(files split-wm))
|
(files split-wm))
|
||||||
|
|
||||||
;; *** switch manager ************************************************
|
;; *** switch manager ************************************************
|
||||||
|
@ -122,16 +130,20 @@
|
||||||
|
|
||||||
;; *** main package **************************************************
|
;; *** main package **************************************************
|
||||||
|
|
||||||
|
(define-structure scsh-things
|
||||||
|
(export ((run) :syntax))
|
||||||
|
(open scsh))
|
||||||
|
|
||||||
(define-structure root-manager
|
(define-structure root-manager
|
||||||
(export root-wm? create-root-wm)
|
(export root-wm? create-root-wm)
|
||||||
(open scheme list-lib
|
(open scheme list-lib scsh-things
|
||||||
define-record-types
|
define-record-types
|
||||||
xlib
|
xlib
|
||||||
rendezvous rendezvous-channels
|
rendezvous rendezvous-channels
|
||||||
utils key-grab
|
utils key-grab
|
||||||
manager
|
manager
|
||||||
move-wm split-wm switch-wm
|
move-wm split-wm switch-wm
|
||||||
)
|
prompt)
|
||||||
(files root-manager))
|
(files root-manager))
|
||||||
|
|
||||||
(define-structure main
|
(define-structure main
|
||||||
|
|
Loading…
Reference in New Issue