commit 8683fce4aa8cecec869552879f0d41b7aa3c76b9
parent 1875b8759296bc7c5133df90cd5128d4a723f58c
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 3 Jul 2022 14:57:57 +0100
use output width/height instead of hardcoding
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rc.fnl b/rc.fnl
@@ -17,8 +17,8 @@
(kiwmi:on
"output"
(fn [output]
- (output:set_mode 360 720 0)
- (let [[width height] (output:size)
+ (resize-wayland-backend output)
+ (let [(width height) (output:size)
r (output:renderer)
kill (texture.from-file r "close-window.png")
launch (texture.from-file r "launcher.png")