diff options
author | marha <marha@users.sourceforge.net> | 2011-11-08 10:26:56 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-08 10:26:56 +0100 |
commit | 8e620d3f39b8a94dca2d501e60ad5593b83a3477 (patch) | |
tree | 7a948f8eeeb68bd94dcf625b92863984fc38973f /xorg-server/hw/xwin/winmonitors.c | |
parent | cf16503d350c471a3fea10fe485b355d46cf16f7 (diff) | |
download | vcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.tar.gz vcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.tar.bz2 vcxsrv-8e620d3f39b8a94dca2d501e60ad5593b83a3477.zip |
Solved problem of QueryMonitors not working
Diffstat (limited to 'xorg-server/hw/xwin/winmonitors.c')
-rw-r--r-- | xorg-server/hw/xwin/winmonitors.c | 2 |
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); } |