XQuartz: Use applewmproto 1.4 updated headers.

(cherry picked from commit 203df06c0eb2dcd5adfa788a1ba9569650c15f9c)
This commit is contained in:
Jeremy Huddleston 2009-08-25 20:11:38 -07:00
parent 0f613007cd
commit 07c935b72f
8 changed files with 8 additions and 13 deletions

View File

@ -1685,7 +1685,7 @@ if test "x$XQUARTZ" = xyes; then
CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
PKG_CHECK_MODULES(XPBPROXY, [applewmproto >= 1.3] [applewm >= 1.3] xfixes fixesproto x11)
PKG_CHECK_MODULES(XPBPROXY, [applewmproto >= 1.4] [applewm >= 1.4] xfixes fixesproto x11)
if test "x$XQUARTZ_SPARKLE" = xyes ; then
AC_DEFINE(XQUARTZ_SPARKLE,1,[Support application updating through sparkle.])

View File

@ -41,8 +41,7 @@
#include "darwinEvents.h"
#include "quartzKeyboard.h"
#include "quartz.h"
#define _APPLEWM_SERVER_
#include "X11/extensions/applewm.h"
#include <X11/extensions/applewmconst.h>
#include "micmap.h"
#include "exglobals.h"

View File

@ -43,8 +43,7 @@
#include "darwin.h"
#include "darwinEvents.h"
#include "quartz.h"
#define _APPLEWM_SERVER_
#include "X11/extensions/applewm.h"
#include <X11/extensions/applewmconst.h>
#include "applewmExt.h"
#include <stdio.h>

View File

@ -47,7 +47,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <X11/Xatom.h>
#include "darwin.h"
#define _APPLEWM_SERVER_
#include "X11/extensions/applewmstr.h"
#include <X11/extensions/applewmproto.h>
#include "applewmExt.h"
#include "X11Application.h"

View File

@ -67,9 +67,8 @@ in this Software without prior written authorization from The Open Group.
#define SCROLLWHEELLEFTFAKE 6
#define SCROLLWHEELRIGHTFAKE 7
#define _APPLEWM_SERVER_
#include <X11/extensions/applewmconst.h>
#include "applewmExt.h"
#include <X11/extensions/applewm.h>
/* FIXME: Abstract this better */
void QuartzModeEQInit(void);

View File

@ -45,7 +45,7 @@
#include "X11Application.h"
#include <X11/extensions/applewm.h>
#include <X11/extensions/applewmconst.h>
#include <X11/extensions/randr.h>
// X headers

View File

@ -53,8 +53,7 @@ void QuartzResumeXCursor(ScreenPtr pScreen, int x, int y);
* See CGWindowLevel.h
*/
#define _APPLEWM_SERVER_
#include <X11/extensions/applewm.h>
#include <X11/extensions/applewmconst.h>
static const int normal_window_levels[AppleWMNumWindowLevels+1] = {
0, 3, 4, 5, INT_MIN + 30, INT_MIN + 29,
};

View File

@ -33,8 +33,7 @@
#include "xpr.h"
#define _APPLEWM_SERVER_
#include <X11/extensions/applewmstr.h>
#include <X11/extensions/applewmproto.h>
#include "applewmExt.h"
#include "rootless.h"