"<alex> seb128: seems a bit simple to me, we don't want to construct a
new object each time, rather we want one per screen"

I have 4 screens, wanted to know how many times constructor will be
called with this patch. Added 2 lines to
nautilus_desktop_background_constructor before return:

GdkScreen *screen = gtk_widget_get_screen(singleton->details->widget);
g_printerr("Desktop background constructed for screen %i!\n", 
gdk_screen_get_number(screen));

After building and installing new packages, when i run nautilus from terminal i 
got 4 lines:
Desktop background constructed for screen 0!
Desktop background constructed for screen 1!
Desktop background constructed for screen 2!
Desktop background constructed for screen 3!

So it seems that submitted patch already constructs new object only once
per screen!  Or am I missing something?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/885989

Title:
  white screen on second monitor when using two xsessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/885989/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to