From 4f14c1e7765532f0c623ec35ae8e0b85963f930b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 25 Feb 2019 14:08:41 +0100 Subject: [PATCH] X11: Fix copypaste errors Related to #1322. --- src/x11_monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/x11_monitor.c b/src/x11_monitor.c index 62d5df64..6c166e7c 100644 --- a/src/x11_monitor.c +++ b/src/x11_monitor.c @@ -354,11 +354,11 @@ void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, int* xpos, int* ypos if (xpos) *xpos = extents[0]; - if (xpos) + if (ypos) *ypos = extents[1]; - if (xpos) + if (width) *width = extents[2]; - if (xpos) + if (height) *height = extents[3]; XFree(extents);