From bb325c1ee0a802b57526965838272ee0df8fce9c Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Tue, 16 Jan 2024 00:13:25 -0700 Subject: [PATCH] wayfire-shell: Bump version for new toggle_menu event --- plugins/protocols/wayfire-shell.cpp | 4 ++-- proto/wayfire-shell-unstable-v2.xml | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/protocols/wayfire-shell.cpp b/plugins/protocols/wayfire-shell.cpp index b283393b5..debd75c9f 100644 --- a/plugins/protocols/wayfire-shell.cpp +++ b/plugins/protocols/wayfire-shell.cpp @@ -245,7 +245,7 @@ class wfs_output { this->output = output; - resource = wl_resource_create(client, &zwf_output_v2_interface, 1, id); + resource = wl_resource_create(client, &zwf_output_v2_interface, 2, id); wl_resource_set_implementation(resource, &zwf_output_impl, this, handle_output_destroy); output->connect(&on_fullscreen_layer_focused); output->connect(&on_toggle_menu); @@ -423,7 +423,7 @@ void bind_zwf_shell_manager(wl_client *client, void *data, uint32_t version, uint32_t id) { auto resource = - wl_resource_create(client, &zwf_shell_manager_v2_interface, 1, id); + wl_resource_create(client, &zwf_shell_manager_v2_interface, 2, id); wl_resource_set_implementation(resource, &zwf_shell_manager_v2_impl, NULL, NULL); } diff --git a/proto/wayfire-shell-unstable-v2.xml b/proto/wayfire-shell-unstable-v2.xml index 247ab4cb4..a6d1d9d93 100644 --- a/proto/wayfire-shell-unstable-v2.xml +++ b/proto/wayfire-shell-unstable-v2.xml @@ -1,6 +1,6 @@ - + This protocol provides additional events and requests for special DE clients like panels, docks, etc. @@ -21,7 +21,7 @@ - + Represents a single output. Each output is managed independently from the others. @@ -88,9 +88,10 @@ - + + - Tells the menu to open. + Tells the menu to toggle open or close. Emitted using an activator binding.