mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 15:27:19 +00:00
[client] wayland: implement minimize operation
This commit implements minimize for both xdg-shell and libdecor pseudo-shell. This fixes #535.
This commit is contained in:
parent
c6d7fb8dd0
commit
edbd6f6ade
@ -130,3 +130,8 @@ bool waylandGetFullscreen(void)
|
|||||||
{
|
{
|
||||||
return wlWm.fullscreen;
|
return wlWm.fullscreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void waylandMinimize(void)
|
||||||
|
{
|
||||||
|
libdecor_frame_set_minimized(wlWm.libdecorFrame);
|
||||||
|
}
|
||||||
|
@ -149,5 +149,5 @@ bool waylandGetFullscreen(void)
|
|||||||
|
|
||||||
void waylandMinimize(void)
|
void waylandMinimize(void)
|
||||||
{
|
{
|
||||||
//FIXME
|
xdg_toplevel_set_minimized(wlWm.xdgToplevel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user