aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-08 10:26:56 +0100
committermarha <marha@users.sourceforge.net>2011-11-08 10:26:56 +0100
commit8e620d3f39b8a94dca2d501e60ad5593b83a3477 (patch)
tree7a948f8eeeb68bd94dcf625b92863984fc38973f /xorg-server/hw
parentcf16503d350c471a3fea10fe485b355d46cf16f7 (diff)
downloadvcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.tar.gz
vcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.tar.bz2
vcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.zip
Solved problem of QueryMonitors not working
Diffstat (limited to 'xorg-server/hw')
-rw-r--r--xorg-server/hw/xwin/winmonitors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmonitors.c b/xorg-server/hw/xwin/winmonitors.c
index 7b9bdc09e..1a7c35990 100644
--- a/xorg-server/hw/xwin/winmonitors.c
+++ b/xorg-server/hw/xwin/winmonitors.c
@@ -67,5 +67,5 @@ Bool QueryMonitor(int index, struct GetMonitorInfoData *data)
data->requestedMonitor = index;
/* query information */
- return EnumDisplayMonitors(NULL, NULL, getMonitorInfo, (LPARAM) data);
+ return !EnumDisplayMonitors(NULL, NULL, getMonitorInfo, (LPARAM) data);
}