GTK application window does not get updated on second monitor
I am building a gtk+ application to display information posted by other application. I use it in dual monitor environment. In first monitor it looks fine, but on second monitor the window does not get updated.
This is xorg.conf i use to make the dual monitor:
Section "ServerLayout"
Identifier "seat0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection
I use xmlrpc-c to send the data i want to display. The second monitor does not use keyboard or mouse.
To send the application window to the second monitor i use this:
$ DISPLAY=:0.1 mygtkapp
I use a GtkLabel to test the operation. Both runs gtk_label_set_text, gtk_label_get_text on both says the widget text has been changed.
So the questions are:
Why the window does not get updated on the second monitor?
How can i fix this?
|