summaryrefslogtreecommitdiff
path: root/main.scm
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2022-12-02 16:14:26 +0100
committerSamuel Fadel <samuel@nihil.ws>2022-12-02 16:14:26 +0100
commit21ebd4dda267d09c60d8b646782aed28138c5690 (patch)
treea07d2103c745e382160a344263790235e3ec0c68 /main.scm
parent7aa66702b2b9396add0cc20849ec89a48495c7ff (diff)
Proof-of-concept event handling. See NOTE.
Diffstat (limited to 'main.scm')
-rw-r--r--main.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.scm b/main.scm
index 07c2f04..8a34528 100644
--- a/main.scm
+++ b/main.scm
@@ -1,4 +1,8 @@
(use-modules (wm))
(when (wm-init)
- (wm-quit "hello"))
+ (wm-set-configure-notify-handler!
+ (lambda (x y w h)
+ (display (+ x y w h))
+ (display "\n")))
+ (wm-quit))