Note that in the 5 steps described in this fix, steps 1-4 are already built into gdk_screen_get_primary_monitor().
If we are willing to remove step 5 (which I maintained for compatibility with the oneiric default behaviour), then most of UScreen::Refresh() can be deleted and replaced by: primary_ = gdk_screen_get_primary_monitor(screen).
Note that in the 5 steps described in this fix, steps 1-4 are already built into gdk_screen_ get_primary_ monitor( ).
If we are willing to remove step 5 (which I maintained for compatibility with the oneiric default behaviour), then most of UScreen::Refresh() can be deleted and replaced by: primary_ = gdk_screen_ get_primary_ monitor( screen) .