diff options
author | marha <marha@users.sourceforge.net> | 2009-10-11 19:02:38 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-11 19:02:38 +0000 |
commit | 6b4cfac5a67f87884a525ce2c99f30e0060b3ca7 (patch) | |
tree | 0b7068a671390a9241b131225ef22107e4183259 /xorg-server/miext/rootless/rootlessWindow.c | |
parent | 5d30999c0fed9919ec9c55d87d84665f79d51ca2 (diff) | |
download | vcxsrv-6b4cfac5a67f87884a525ce2c99f30e0060b3ca7.tar.gz vcxsrv-6b4cfac5a67f87884a525ce2c99f30e0060b3ca7.tar.bz2 vcxsrv-6b4cfac5a67f87884a525ce2c99f30e0060b3ca7.zip |
Now rootless dir compiles.
Diffstat (limited to 'xorg-server/miext/rootless/rootlessWindow.c')
-rw-r--r-- | xorg-server/miext/rootless/rootlessWindow.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/miext/rootless/rootlessWindow.c b/xorg-server/miext/rootless/rootlessWindow.c index d43301fc1..1b8c6cbf2 100644 --- a/xorg-server/miext/rootless/rootlessWindow.c +++ b/xorg-server/miext/rootless/rootlessWindow.c @@ -51,6 +51,12 @@ extern int darwinMainScreenX, darwinMainScreenY; #include "rootlessCommon.h" #include "rootlessWindow.h" +#ifdef _MSC_VER +#define inline __inline +#include "xplugin.h" +extern int darwinMainScreenX, darwinMainScreenY; +#endif + #ifdef ROOTLESS_GLOBAL_COORDS #define SCREEN_TO_GLOBAL_X \ (dixScreenOrigins[pScreen->myNum].x + rootlessGlobalOffsetX) @@ -74,6 +80,7 @@ extern int darwinMainScreenX, darwinMainScreenY; return atom; \ } + DEFINE_ATOM_HELPER (xa_native_screen_origin, "_NATIVE_SCREEN_ORIGIN") DEFINE_ATOM_HELPER (xa_native_window_id, "_NATIVE_WINDOW_ID") DEFINE_ATOM_HELPER (xa_apple_no_order_in, "_APPLE_NO_ORDER_IN") |