Skip to content

Commit

Permalink
Merge pull request #20 from A-Cloud-Ninja/main
Browse files Browse the repository at this point in the history
Updated simple-example.lua to properly use gtk4-layer-shell enums.
  • Loading branch information
wmww committed May 8, 2023
2 parents 6723ec7 + 9da5008 commit 89060a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/simple-example.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 89060a8

Please sign in to comment.