[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:
Quantum authored and Geoffrey McRae committed 2021-05-08 10:08:37 +10:00
1 parent c6d7fb8dd0
commit edbd6f6ade
2 files changed
+6 -1

No files matched your search

@@ -130,3 +130,8 @@ bool waylandGetFullscreen(void)
{
return wlWm.fullscreen;
}
void waylandMinimize(void)
{
libdecor_frame_set_minimized(wlWm.libdecorFrame);
}
+1 -1
View File
@@ -149,5 +149,5 @@ bool waylandGetFullscreen(void)
void waylandMinimize(void)
{
//FIXME
xdg_toplevel_set_minimized(wlWm.xdgToplevel);
}