+ // XXX Temporary fix for LP: #742544
+ // The final fix should default to lowest_x as above, but should also
+ // be configurable to use gdk_screen_get_primary_monitor like in natty.
+ primary_ = gdk_screen_get_primary_monitor(gdk_screen_get_default());
+
changed.emit(primary_, _monitors);
}
I have uploaded a temporary fix for Ubuntu 11.10 to ppa:vanvugt/unity: /launchpad. net/~vanvugt/ +archive/ unity
https:/
However it may take a while to build and then get published.
Only 1 line of code was required in the end. But it's not the final fix...
--- plugins/ unityshell/ src/UScreen. cpp 2011-09-26 14:43:35 +0000 unityshell/ src/UScreen. cpp 2011-10-15 09:32:14 +0000
+++ plugins/
@@ -130,5 +130,10 @@
g_print("\n");
+ // XXX Temporary fix for LP: #742544 get_primary_ monitor like in natty. get_primary_ monitor( gdk_screen_ get_default( )); emit(primary_ , _monitors);
+ // The final fix should default to lowest_x as above, but should also
+ // be configurable to use gdk_screen_
+ primary_ = gdk_screen_
+
changed.
}