diff options
Diffstat (limited to 'wm.scm')
-rw-r--r-- | wm.scm | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,7 +1,11 @@ (define-module (wm) #:use-module (system foreign) #:export (wm-init + key-from-str + wm-grab-key-with-mod + wm-grab-key-with-mod-shift wm-set-key-press-handler! + wm-focus-next wm-run wm-quit)) @@ -36,6 +40,17 @@ (define wm-run (schewm-func void "wm_run" '())) +(define wm-grab-key-with-mod + (schewm-func void "wm_grab_key_with_mod" + (list uint32))) + +(define wm-grab-key-with-mod-shift + (schewm-func void "wm_grab_key_with_mod_shift" + (list uint32))) + +(define (wm-focus-next) + '()) + (define c/wm-set-key-press-handler (schewm-func void "wm_set_key_press_handler" |