[client] wayland: implement resizing for libdecor

This commit is contained in:
SytheZN
2021-10-04 19:55:18 +02:00
committed by Geoffrey McRae
parent 148ab0278e
commit 12321a8880
6 changed files with 56 additions and 22 deletions

View File

@@ -87,7 +87,7 @@ static const struct xdg_toplevel_listener xdgToplevelListener = {
.close = xdgToplevelClose,
};
bool waylandShellInit(const char * title, bool fullscreen, bool maximize, bool borderless)
bool waylandShellInit(const char * title, bool fullscreen, bool maximize, bool borderless, bool resizable)
{
if (!wlWm.xdgWmBase)
{
@@ -153,3 +153,8 @@ void waylandMinimize(void)
{
xdg_toplevel_set_minimized(wlWm.xdgToplevel);
}
void waylandShellResize(int w, int h)
{
//TODO: Implement resize for XDG.
}