From 9da5008c1ee281bd8f3af4c36177049f075d757c Mon Sep 17 00:00:00 2001 From: A-Cloud-Ninja <5809177+A-Cloud-Ninja@users.noreply.github.com> Date: Sun, 7 May 2023 10:29:31 -0400 Subject: [PATCH] Updated simple-example.lua to properly use gtk4-layer-shell enums. --- examples/simple-example.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple-example.lua b/examples/simple-example.lua index be0e516..ccda2c2 100644 --- a/examples/simple-example.lua +++ b/examples/simple-example.lua @@ -20,8 +20,8 @@ app.on_activate = function() application = app } layer_shell.init_for_window(win) - layer_shell.set_layer(win, 2) - layer_shell.set_anchor(win, 1) + layer_shell.set_layer(win, layer_shell.Layer.TOP) + layer_shell.set_anchor(win, layer_shell.Edge.BOTTOM, true) layer_shell.set_exclusive_zone(win, 0) local button = Gtk.Button { label = "Gtk4 Layer Shell Example",