mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] x11/sdl/wayland: implement new minimize
(stub for wayland)
This implements the new minimize function introduced in the last commit for x11 and SDL. Wayland at current is just a stub and needs some attention.
This commit is contained in:
@@ -1215,6 +1215,11 @@ static bool x11GetFullscreen(void)
|
||||
return x11.fullscreen;
|
||||
}
|
||||
|
||||
static void x11Minimize(void)
|
||||
{
|
||||
XIconifyWindow(x11.display, x11.window, XDefaultScreen(x11.display));
|
||||
}
|
||||
|
||||
struct LG_DisplayServerOps LGDS_X11 =
|
||||
{
|
||||
.setup = x11Setup,
|
||||
@@ -1254,6 +1259,7 @@ struct LG_DisplayServerOps LGDS_X11 =
|
||||
.setWindowSize = x11SetWindowSize,
|
||||
.setFullscreen = x11SetFullscreen,
|
||||
.getFullscreen = x11GetFullscreen,
|
||||
.minimize = x11Minimize,
|
||||
|
||||
.cbInit = x11CBInit,
|
||||
.cbNotice = x11CBNotice,
|
||||
|
Reference in New Issue
Block a user