mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 22:43:06 +00:00
parent
fead23153e
commit
8de0c1cdc1
1 changed files with 3 additions and 6 deletions
|
@ -666,14 +666,11 @@ static GLFWbool createXdgSurface(_GLFWwindow* window)
|
|||
window->monitor->wl.output);
|
||||
setIdleInhibitor(window, GLFW_TRUE);
|
||||
}
|
||||
else if (window->wl.maximized)
|
||||
{
|
||||
xdg_toplevel_set_maximized(window->wl.xdg.toplevel);
|
||||
setIdleInhibitor(window, GLFW_FALSE);
|
||||
setXdgDecorations(window);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (window->wl.maximized)
|
||||
xdg_toplevel_set_maximized(window->wl.xdg.toplevel);
|
||||
|
||||
setIdleInhibitor(window, GLFW_FALSE);
|
||||
setXdgDecorations(window);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue