Skip to content

Commit

Permalink
Darwin: Formatting Cleanup
Browse files Browse the repository at this point in the history
To better line up with xorg-server-1.4-apple branch
  • Loading branch information
Jeremy Huddleston committed Nov 20, 2007
1 parent a649bbe commit 8449077
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion hw/darwin/quartz/cr/crFrame.m
Expand Up @@ -36,7 +36,7 @@
#undef BOOL
#define BOOL xBOOL
#include "rootless.h"
#include "applewmExt.h"
#include "quartz/applewmExt.h"
#include "windowstr.h"
#undef BOOL

Expand Down
10 changes: 5 additions & 5 deletions hw/darwin/quartz/cr/crScreen.m
Expand Up @@ -36,12 +36,12 @@
#undef BOOL
#define BOOL xBOOL
#include "darwin.h"
#include "quartz.h"
#include "quartzCursor.h"
#include "quartz/quartz.h"
#include "quartz/quartzCursor.h"
#include "rootless.h"
#include "safeAlpha.h"
#include "pseudoramiX.h"
#include "applewmExt.h"
#include "safeAlpha/safeAlpha.h"
#include "quartz/pseudoramiX.h"
#include "quartz/applewmExt.h"

#include "regionstr.h"
#include "scrnintstr.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/fullscreen/fullscreen.c
Expand Up @@ -31,8 +31,8 @@
#endif
#include "quartzCommon.h"
#include "darwin.h"
#include "quartz.h"
#include "quartzCursor.h"
#include "quartz/quartz.h"
#include "quartz/quartzCursor.h"
#include "colormapst.h"
#include "scrnintstr.h"
#include "micmap.h"
Expand Down
1 change: 0 additions & 1 deletion hw/darwin/quartz/xpr/xprAppleWM.c
Expand Up @@ -36,7 +36,6 @@
#include "Xplugin.h"
#include <X11/X.h>


static int xprSetWindowLevel(
WindowPtr pWin,
int level)
Expand Down
14 changes: 1 addition & 13 deletions hw/darwin/quartz/xpr/xprScreen.c
Expand Up @@ -110,9 +110,8 @@ eventHandler(unsigned int type, const void *arg,
}
}


/*
* displayScreenBounds
* displayAtIndex
* Return the display ID for a particular display index.
*/
static CGDirectDisplayID
Expand All @@ -129,7 +128,6 @@ displayAtIndex(int index)
return kCGNullDirectDisplay;
}


/*
* displayScreenBounds
* Return the bounds of a particular display.
Expand All @@ -152,7 +150,6 @@ displayScreenBounds(CGDirectDisplayID id)
return frame;
}


/*
* xprAddPseudoramiXScreens
* Add a single virtual screen encompassing all the physical screens
Expand Down Expand Up @@ -208,7 +205,6 @@ xprAddPseudoramiXScreens(int *x, int *y, int *width, int *height)
xfree(displayList);
}


/*
* xprDisplayInit
* Find number of CoreGraphics displays and initialize Xplugin.
Expand All @@ -231,9 +227,7 @@ xprDisplayInit(void)
darwinScreensFound = 1;

if (xp_init(XP_BACKGROUND_EVENTS | XP_NO_DEFERRED_UPDATES) != Success)
{
FatalError("Could not initialize the Xplugin library.");
}

xp_select_events(XP_EVENT_DISPLAY_CHANGED
| XP_EVENT_WINDOW_STATE_CHANGED
Expand All @@ -246,7 +240,6 @@ xprDisplayInit(void)
xprAppleWMInit();
}


/*
* xprAddScreen
* Init the framebuffer and record pixmap parameters for the screen.
Expand Down Expand Up @@ -316,7 +309,6 @@ xprAddScreen(int index, ScreenPtr pScreen)
return TRUE;
}


/*
* xprSetupScreen
* Setup the screen for rootless access.
Expand Down Expand Up @@ -353,7 +345,6 @@ xprSetupScreen(int index, ScreenPtr pScreen)
return DRIFinishScreenInit(pScreen);
}


/*
* xprUpdateScreen
* Update screen after configuation change.
Expand All @@ -370,7 +361,6 @@ xprUpdateScreen(ScreenPtr pScreen)
RootlessUpdateScreenPixmap(pScreen);
}


/*
* xprInitInput
* Finalize xpr specific setup.
Expand All @@ -387,7 +377,6 @@ xprInitInput(int argc, char **argv)
AppleWMSetScreenOrigin(WindowTable[i]);
}


/*
* Quartz display mode function list.
*/
Expand All @@ -413,7 +402,6 @@ static QuartzModeProcsRec xprModeProcs = {
DRIDestroySurface
};


/*
* QuartzModeBundleInit
* Initialize the display mode bundle after loading.
Expand Down

0 comments on commit 8449077

Please sign in to comment.