mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 14:24:35 +00:00
Removed retrieval of unused values.
This commit is contained in:
parent
bdcffa90eb
commit
81249724e3
@ -782,10 +782,6 @@ static void enterFullscreenMode(_GLFWwindow* window)
|
|||||||
|
|
||||||
if (_glfw.x11.NET_WM_STATE && _glfw.x11.NET_WM_STATE_FULLSCREEN)
|
if (_glfw.x11.NET_WM_STATE && _glfw.x11.NET_WM_STATE_FULLSCREEN)
|
||||||
{
|
{
|
||||||
int x, y;
|
|
||||||
_glfwPlatformGetMonitorPos(window->monitor, &x, &y);
|
|
||||||
_glfwPlatformSetWindowPos(window, x, y);
|
|
||||||
|
|
||||||
if (_glfw.x11.NET_ACTIVE_WINDOW)
|
if (_glfw.x11.NET_ACTIVE_WINDOW)
|
||||||
{
|
{
|
||||||
// Ask the window manager to raise and focus the GLFW window
|
// Ask the window manager to raise and focus the GLFW window
|
||||||
|
Loading…
Reference in New Issue
Block a user