diff options
Diffstat (limited to 'xorg-server/hw/xwin/winmonitors.c')
-rw-r--r-- | xorg-server/hw/xwin/winmonitors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/winmonitors.c b/xorg-server/hw/xwin/winmonitors.c index 955fb9214..916b8b0bb 100644 --- a/xorg-server/hw/xwin/winmonitors.c +++ b/xorg-server/hw/xwin/winmonitors.c @@ -32,6 +32,8 @@ from The Open Group. #endif #include "win.h" +#define COMPILE_MULTIMON_STUBS +#include <multimon.h> #include "winmonitors.h" /* @@ -68,7 +70,5 @@ QueryMonitor(int i, struct GetMonitorInfoData *data) data->requestedMonitor = i; /* query information */ - EnumDisplayMonitors(NULL, NULL, getMonitorInfo, (LPARAM) data); - - return TRUE; + return !EnumDisplayMonitors(NULL, NULL, getMonitorInfo, (LPARAM) data); } |