mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Wayland: Fix GLFW_VISIBLE affecting full screen
Full screen window creation was not ignoring the GLFW_VISIBLE hint.
(cherry picked from commit 715b874db3
)
This commit is contained in:
parent
9ab14a8cc0
commit
86a1d3b628
@ -130,6 +130,7 @@ information on what to include when reporting a bug.
|
|||||||
- [Wayland] Bugfix: Window hiding and showing did not work (#1492,#1731)
|
- [Wayland] Bugfix: Window hiding and showing did not work (#1492,#1731)
|
||||||
- [Wayland] Bugfix: A key being repeated was not released when window lost focus
|
- [Wayland] Bugfix: A key being repeated was not released when window lost focus
|
||||||
- [Wayland] Bugfix: Showing a hidden window did not emit a window refresh event
|
- [Wayland] Bugfix: Showing a hidden window did not emit a window refresh event
|
||||||
|
- [Wayland] Bugfix: Full screen window creation did not ignore `GLFW_VISIBLE`
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
@ -760,7 +760,7 @@ static GLFWbool createSurface(_GLFWwindow* window,
|
|||||||
if (!window->wl.transparent)
|
if (!window->wl.transparent)
|
||||||
setOpaqueRegion(window);
|
setOpaqueRegion(window);
|
||||||
|
|
||||||
if (wndconfig->visible)
|
if (window->monitor || wndconfig->visible)
|
||||||
{
|
{
|
||||||
if (!createXdgSurface(window))
|
if (!createXdgSurface(window))
|
||||||
return GLFW_FALSE;
|
return GLFW_FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user