GNOME Bugzilla – Bug 668614
Change display mapping on "monitors-changed" event
Last modified: 2012-06-11 13:22:21 UTC
Otherwise we'd be pointing to the wrong monitor.
Created attachment 213989 [details] [review] Proposed patch Patch to update the display mapping when the signal "monitors-changed" is received.
Created attachment 214071 [details] [review] Updated patch Updated patch to use GnomeRRScreen instead of GdkScreen signals to get notified of rotation changes so that we can address bug 668547 using the same notification mechanism as well.
Review of attachment 214071 [details] [review]: Looks good. ::: plugins/wacom/gsd-wacom-manager.c @@ +1050,3 @@ + continue; + } + manager->priv->rr_screens = g_slist_append (manager->priv->rr_screens, rr_screen); Make it a GList and prepend instead. @@ +1105,3 @@ } + + for (ls = p->rr_screens; ls != NULL; ls = ls->next) And then l, not ls
Created attachment 214649 [details] [review] Updated patch Updated patch taking into account comment 3
Review of attachment 214649 [details] [review]: Looks good.
Committed.