aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-05-12 08:52:48 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-05-12 08:52:48 -0400
commitac0e62584f6101277b76622a7274866cd50f615c (patch)
treebc4b40d375e765a9cc7bc9f812bea56e04047cbf /sway/tree
parentMerge pull request #1952 from Dudemanguy911/fix-crash-on-fullscreen (diff)
downloadsway-ac0e62584f6101277b76622a7274866cd50f615c.tar.gz
sway-ac0e62584f6101277b76622a7274866cd50f615c.tar.zst
sway-ac0e62584f6101277b76622a7274866cd50f615c.zip
Revert "Merge pull request #1953 from RyanDwyer/criteria-focused"
Diffstat (limited to 'sway/tree')
-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);