diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-23 08:16:43 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-23 08:19:00 -0500 |
commit | a4d601e3d6d6600bc4c26697d282616537ef9b02 (patch) | |
tree | 57de7c9ebb190f8ef0645e7e19e94659c137ad1b | |
parent | fc627afd1842a8288cec620daa729c170be2af17 (diff) |
decorations: respect motif hints
-rw-r--r-- | rootston/xwayland.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rootston/xwayland.c b/rootston/xwayland.c index eb84eba0..69c44add 100644 --- a/rootston/xwayland.c +++ b/rootston/xwayland.c @@ -312,9 +312,11 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { wl_list_insert(&desktop->views, &view->link); if (!surface->override_redirect) { - view->decorated = true; - view->border_width = 4; - view->titlebar_height = 12; + if (surface->decorations == WLR_XWAYLAND_SURFACE_DECORATIONS_ALL) { + view->decorated = true; + view->border_width = 4; + view->titlebar_height = 12; + } view_setup(view); } |