mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
decorations: respect motif hints
This commit is contained in:
parent
fc627afd18
commit
a4d601e3d6
1 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue