aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xquartz/quartz.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-19 20:55:15 +0000
committermarha <marha@users.sourceforge.net>2010-08-19 20:55:15 +0000
commit0ef233ddca61b9f3c72aa5f806ee818348f3aa20 (patch)
tree9ebcf3a881f9c387e5244055d48bc383f2afb16e /xorg-server/hw/xquartz/quartz.c
parent2aa7bcf37f00b7884ae166d62db81493ea37934a (diff)
downloadvcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.tar.gz
vcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.tar.bz2
vcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.zip
xserver git update 19/8/2010
Diffstat (limited to 'xorg-server/hw/xquartz/quartz.c')
-rw-r--r--xorg-server/hw/xquartz/quartz.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-server/hw/xquartz/quartz.c b/xorg-server/hw/xquartz/quartz.c
index de54290ab..3aa234e09 100644
--- a/xorg-server/hw/xquartz/quartz.c
+++ b/xorg-server/hw/xquartz/quartz.c
@@ -265,7 +265,6 @@ void QuartzUpdateScreens(void) {
pScreen->height = height;
DarwinAdjustScreenOrigins(&screenInfo);
- quartzProcs->UpdateScreen(pScreen);
/* DarwinAdjustScreenOrigins or UpdateScreen may change pScreen->x/y,
* so use it rather than x/y
@@ -277,6 +276,7 @@ void QuartzUpdateScreens(void) {
pRoot = pScreen->root;
AppleWMSetScreenOrigin(pRoot);
pScreen->ResizeWindow(pRoot, x - sx, y - sy, width, height, NULL);
+
miPaintWindow(pRoot, &pRoot->borderClip, PW_BACKGROUND);
/* <rdar://problem/7770779> pointer events are clipped to old display region after display reconfiguration
@@ -303,6 +303,8 @@ void QuartzUpdateScreens(void) {
e.u.configureNotify.borderWidth = wBorderWidth(pRoot);
e.u.configureNotify.override = pRoot->overrideRedirect;
DeliverEvents(pRoot, &e, 1, NullWindow);
+
+ quartzProcs->UpdateScreen(pScreen);
#ifdef FAKE_RANDR
RREditConnectionInfo(pScreen);