summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren van Elderen <sowmestno@msn.com>2012-11-27 19:27:10 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-05 17:36:11 +1000
commit521f3fb566e67330a486874928a21ce201dba02b (patch)
tree42a272a32e0bae5befdc76d98a2fc4419a68dd36
parent73bd33b4d4e3df4a8097826695a8dbdc2fb5c920 (diff)
hw/dmx: add update_desktop_dimensions() call
The Xdmx server did not update the desktop dimensions when computing screen origins. Signed-off-by: Sybren van Elderen <sowmestno@msn.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 6e18599d691036eca6ff082c17727d9ffb926984)
-rw-r--r--hw/dmx/dmxcursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/dmx/dmxcursor.c b/hw/dmx/dmxcursor.c
index 1a77c7d78..35aca81b4 100644
--- a/hw/dmx/dmxcursor.c
+++ b/hw/dmx/dmxcursor.c
@@ -346,6 +346,8 @@ dmxComputeScreenOrigins(void)
screenInfo.screens[i]->y -= minY;
}
}
+
+ update_desktop_dimensions();
}
/** Recompute origin information in the #dmxScreens list. This is