summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-08-20 18:30:09 +0900
committerLibravatar Simon Ser <contact@emersion.fr>2020-06-23 22:26:00 +0200
commit8d5e627bc98f376f84e7f5b0a7caed791351c577 (patch)
tree7d90c18521bfbcc59155a418efbd9b489617086e /include
parentinput_cmd_click_method: fix typo in error text (diff)
downloadsway-8d5e627bc98f376f84e7f5b0a7caed791351c577.tar.gz
sway-8d5e627bc98f376f84e7f5b0a7caed791351c577.tar.zst
sway-8d5e627bc98f376f84e7f5b0a7caed791351c577.zip
Implement wlr-foreign-toplevel-management-v1
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h2
-rw-r--r--include/sway/tree/view.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 3c972bc5..0f5e3ab2 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -8,6 +8,7 @@
8#include <wlr/types/wlr_compositor.h> 8#include <wlr/types/wlr_compositor.h>
9#include <wlr/types/wlr_data_device.h> 9#include <wlr/types/wlr_data_device.h>
10#include <wlr/types/wlr_input_method_v2.h> 10#include <wlr/types/wlr_input_method_v2.h>
11#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
11#include <wlr/types/wlr_layer_shell_v1.h> 12#include <wlr/types/wlr_layer_shell_v1.h>
12#include <wlr/types/wlr_output_management_v1.h> 13#include <wlr/types/wlr_output_management_v1.h>
13#include <wlr/types/wlr_output_power_management_v1.h> 14#include <wlr/types/wlr_output_power_management_v1.h>
@@ -82,6 +83,7 @@ struct sway_server {
82 struct wl_listener output_power_manager_set_mode; 83 struct wl_listener output_power_manager_set_mode;
83 struct wlr_input_method_manager_v2 *input_method; 84 struct wlr_input_method_manager_v2 *input_method;
84 struct wlr_text_input_manager_v3 *text_input; 85 struct wlr_text_input_manager_v3 *text_input;
86 struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager;
85 87
86 size_t txn_timeout_ms; 88 size_t txn_timeout_ms;
87 list_t *transactions; 89 list_t *transactions;
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 6007ec49..b495fdf9 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -96,6 +96,10 @@ struct sway_view {
96 // when a transaction is applied. 96 // when a transaction is applied.
97 struct wlr_box saved_geometry; 97 struct wlr_box saved_geometry;
98 98
99 struct wlr_foreign_toplevel_handle_v1 *foreign_toplevel;
100 struct wl_listener foreign_activate_request;
101 struct wl_listener foreign_close_request;
102
99 bool destroying; 103 bool destroying;
100 104
101 list_t *executed_criteria; // struct criteria * 105 list_t *executed_criteria; // struct criteria *