[Swfdec] [Bug 16530] Full screen is broken when using multiple monitors
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 18 16:43:04 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=16530
Thue Janus Kristensen <thuejk at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thuejk at gmail.com
--- Comment #2 from Thue Janus Kristensen <thuejk at gmail.com> 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.
More information about the Swfdec
mailing list