diff options
author | David Reveman <davidr@novell.com> | 2009-01-26 18:41:32 -0500 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2009-01-26 18:41:32 -0500 |
commit | 99045bfaf2dab101c30e26a189e0e56d8f2d76c2 (patch) | |
tree | f8ac4f0a3ac5160b469d0c1fcbfb0431051926b4 /hw/dmx/dmxrandr.c | |
parent | 1dfa85d97ac704d8b81d96ce0b20c0ce34de51cf (diff) |
Add dbus method attachScreenAt.dmx-2
Diffstat (limited to 'hw/dmx/dmxrandr.c')
-rw-r--r-- | hw/dmx/dmxrandr.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/dmx/dmxrandr.c b/hw/dmx/dmxrandr.c index 18ba73396..a4318aa21 100644 --- a/hw/dmx/dmxrandr.c +++ b/hw/dmx/dmxrandr.c @@ -710,7 +710,9 @@ dmxRRScreenSetSize (ScreenPtr pScreen, int i; for (i = 0; i < dmxNumScreens; i++) - dmxResizeRootWindow (WindowTable[i], 0, 0, width, height); + dmxResizeRootWindow (WindowTable[i], + dmxScreens[i].rootX, dmxScreens[i].rootY, + width, height); for (i = 0; i < dmxNumScreens; i++) dmxUpdateScreenResources (screenInfo.screens[i], @@ -723,7 +725,10 @@ dmxRRScreenSetSize (ScreenPtr pScreen, else #endif { - dmxResizeRootWindow (WindowTable[pScreen->myNum], 0, 0, width, height); + dmxResizeRootWindow (WindowTable[pScreen->myNum], + dmxScreens[pScreen->myNum].rootX, + dmxScreens[pScreen->myNum].rootY, + width, height); dmxUpdateScreenResources (pScreen, 0, 0, width, height); } |