mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view: add client_request flag to view->impl->unmap()
This makes explicit the subtle behavioral difference between xwayland_view_unmap() and handle_unmap(). With this change, the XDG and XWayland versions of handle_map/unmap() are now identical, which will make further refactoring possible.
This commit is contained in:
parent
b200dd2e7b
commit
370cdc80e0
4 changed files with 22 additions and 18 deletions
|
|
@ -246,7 +246,7 @@ view_minimize(struct view *view, bool minimized)
|
|||
}
|
||||
view->minimized = minimized;
|
||||
if (minimized) {
|
||||
view->impl->unmap(view);
|
||||
view->impl->unmap(view, /* client_request */ false);
|
||||
_view_set_activated(view, false);
|
||||
if (view == view->server->focused_view) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue