diff options
author | Samuel Fadel <samuel@nihil.ws> | 2022-12-04 12:32:13 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2022-12-04 12:32:13 +0100 |
commit | f5cb5e5cf8a3b410a4afda52f925e84432ca2ac8 (patch) | |
tree | cb9ea8a97dfd345baa82b5bccf3804707de892d3 /main.scm | |
parent | da3523b11bcb174dac02fbfabfa58ed6b78a8622 (diff) |
Key grabbing, handling outputs, init clients.
* main.scm: Added key press handler
* wm.scm: Added key press handler
* schewm.c: Added key grabbing, output management, client
initialization (initial grab)
Diffstat (limited to 'main.scm')
-rw-r--r-- | main.scm | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -11,11 +11,12 @@ (make-config 2 0)) (when (wm-init) - (wm-set-configure-notify-handler! - (lambda (x y w h) - (display (+ x y w h)) + (wm-set-key-press-handler! + (lambda (mod keysym) + (display (list mod keysym)) (display "\n"))) (display config) (display "\n") (wm-run) (wm-quit)) + |