aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-05-23 21:19:02 +0300
committerSimon Ser <contact@emersion.fr>2022-05-27 13:31:30 +0000
commit75d31509db8c28e8379fe9570118ef8c82284581 (patch)
treecb91ff3dc1dd87ce40f17c57f211a54425d1d8b2 /tinywl
parentc1ec71903c51bb152d63cd96c5aae3fffa3639ec (diff)
tinywl: use xdg-shell v3
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index bf3fb433..d8e171e1 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -860,14 +860,14 @@ int main(int argc, char *argv[]) {
server.scene = wlr_scene_create();
wlr_scene_attach_output_layout(server.scene, server.output_layout);
- /* Set up xdg-shell version 2. The xdg-shell is a Wayland protocol which is
+ /* Set up xdg-shell version 3. The xdg-shell is a Wayland protocol which is
* used for application windows. For more detail on shells, refer to my
* article:
*
* https://drewdevault.com/2018/07/29/Wayland-shells.html
*/
wl_list_init(&server.views);
- server.xdg_shell = wlr_xdg_shell_create(server.wl_display, 2);
+ server.xdg_shell = wlr_xdg_shell_create(server.wl_display, 3);
server.new_xdg_surface.notify = server_new_xdg_surface;
wl_signal_add(&server.xdg_shell->events.new_surface,
&server.new_xdg_surface);