summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 3b3b6eaf..7431ac06 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -79,13 +79,6 @@ uint32_t view_get_x11_window_id(struct sway_view *view) {
79 return 0; 79 return 0;
80} 80}
81 81
82const char *view_get_window_role(struct sway_view *view) {
83 if (view->impl->get_string_prop) {
84 return view->impl->get_string_prop(view, VIEW_PROP_WINDOW_ROLE);
85 }
86 return NULL;
87}
88
89uint32_t view_get_window_type(struct sway_view *view) { 82uint32_t view_get_window_type(struct sway_view *view) {
90 if (view->impl->get_int_prop) { 83 if (view->impl->get_int_prop) {
91 return view->impl->get_int_prop(view, VIEW_PROP_WINDOW_TYPE); 84 return view->impl->get_int_prop(view, VIEW_PROP_WINDOW_TYPE);