xwayland: support minimizing
Allow minimizing xwayland windows. Co-authored-by: Steve Pronovost <spronovo@microsoft.com> Co-authored-by: Brenton DeGeer <brdegeer@microsoft.com> Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com> Signed-off-by: Steve Pronovost <spronovo@microsoft.com> Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>
This commit is contained in:
committed by
Derek Foreman
parent
cc69dc447e
commit
d902088bfc
@@ -400,6 +400,13 @@ set_maximized(struct weston_desktop_xwayland_surface *surface)
|
||||
surface->surface, true);
|
||||
}
|
||||
|
||||
static void
|
||||
set_minimized(struct weston_desktop_xwayland_surface *surface)
|
||||
{
|
||||
weston_desktop_api_minimized_requested(surface->desktop,
|
||||
surface->surface);
|
||||
}
|
||||
|
||||
static void
|
||||
set_pid(struct weston_desktop_xwayland_surface *surface, pid_t pid)
|
||||
{
|
||||
@@ -419,6 +426,7 @@ static const struct weston_desktop_xwayland_interface weston_desktop_xwayland_in
|
||||
.set_title = set_title,
|
||||
.set_window_geometry = set_window_geometry,
|
||||
.set_maximized = set_maximized,
|
||||
.set_minimized = set_minimized,
|
||||
.set_pid = set_pid,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user