mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
xwayland: do not re-set deocrations on unminimize
Reproduce issue by: 1. Run an XWayland client 2. ToggleDecorations twice to hide deco 3. Minimize/unminimize from panel 4. Observe that deco is back Reported-by: @Consolatis
This commit is contained in:
parent
6c1ca61ee7
commit
1b8e404c9c
1 changed files with 3 additions and 1 deletions
|
|
@ -530,7 +530,9 @@ xwayland_view_map(struct view *view)
|
|||
* 3. set maximized (geometry depends on decorations)
|
||||
*/
|
||||
view_set_fullscreen(view, xwayland_surface->fullscreen);
|
||||
if (!view->been_mapped) {
|
||||
view_set_decorations(view, want_deco(xwayland_surface));
|
||||
}
|
||||
enum view_axis axis = VIEW_AXIS_NONE;
|
||||
if (xwayland_surface->maximized_horz) {
|
||||
axis |= VIEW_AXIS_HORIZONTAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue