GNOME Bugzilla – Bug 325217
XConfigureEvent is not sent to notification area applets
Last modified: 2006-09-02 00:01:34 UTC
Please describe the problem: I have an application that embeds an applet (tray icon) into the notification area. Application is run in the multiscreen environment, Xinerama enabled. In the applet I need to track what screen currently my applet is located on. I expect that when GNOME panel is dragged by user to another screen, my applet to receive XConfigureEvent, but it doesn't. To be more precise, when the panel is switched from/to horizontal to/from vertical, an event is sent with x and y members filled with local coordinates, otherwise there are no events sent at all. Steps to reproduce: 1. Write an application that embeds a window into GNOME notification area 2. Setup the window to listen to XConfigureNotify notifications 3. Drag the panel from one screen to another without changing its horizontal/vertical layout (for example, from the bottom of the first screen to the bottom of the second screen), Xinerama should be enabled 4. If no XConfigureEvents is sent, the bug is reproduced Actual results: Expected results: Does this happen every time? Always Other information:
Does it work if you connect to the "screen-changed" GTK+ event? I don't see why it wouldn't work... Looking at some doc for XConfigureEvent, it's not clear whether an event should be sent when the screen changes for the window.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!