[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:
Geoffrey McRae
2021-05-06 22:25:38 +10:00
parent f698e4589d
commit 903cc9815f
5 changed files with 20 additions and 2 deletions

View File

@@ -146,3 +146,8 @@ bool waylandGetFullscreen(void)
{
return wlWm.fullscreen;
}
void waylandMinimize(void)
{
//FIXME
}

View File

@@ -177,6 +177,7 @@ struct LG_DisplayServerOps LGDS_Wayland =
.setWindowSize = waylandSetWindowSize,
.setFullscreen = waylandSetFullscreen,
.getFullscreen = waylandGetFullscreen,
.minimize = waylandMinimize,
.cbInit = waylandCBInit,
.cbNotice = waylandCBNotice,

View File

@@ -254,6 +254,7 @@ bool waylandShellInit(const char * title, bool fullscreen, bool maximize, bool b
void waylandShellAckConfigureIfNeeded(void);
void waylandSetFullscreen(bool fs);
bool waylandGetFullscreen(void);
void waylandMinimize(void);
// window module
bool waylandWindowInit(const char * title, bool fullscreen, bool maximize, bool borderless);