http://bugs.freedesktop.org/show_bug.cgi?id=16530
Thue Janus Kristensen <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] --- Comment #2 from Thue Janus Kristensen <[EMAIL PROTECTED]> 2008-08-18 16:43:03 PST --- I looked a bit at the code. I haven't tried actually coding the solution, but it seems like the way to go is to use gdk_screen_get_monitor_at_window () http://www.gtk.org/api/2.6/gdk/GdkScreen.html#gdk-screen-get-monitor-at-window to get the monitor number the flash window is at, and then use gdk_screen_get_monitor_geometry () http://www.gtk.org/api/2.6/gdk/GdkScreen.html#gdk-screen-get-monitor-geometry to get the actual size of the monitor. Is the screen size only used for determining full-screen size currently? I got the impression that currently the screen size is found at startup and then cached indefinitely (isn't that risky if X adds support for online resolution changing?). Since a window can be moved between monitors, it is more elegant to fetch the current monitor and it's size when it is needed, using a callback function. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ Swfdec mailing list Swfdec@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/swfdec