GNOME Bugzilla – Bug 669660
Allow "Flash" to be called separately
Last modified: 2012-02-20 20:53:10 UTC
The flash functionality added in bug 668618 would be useful for applications like Totem (screenshot of the currently playing film), or cheese (Full flash when taking a picture of the user), but it's currently impossible to use it without taking a screenshot.
Created attachment 207210 [details] [review] dbus: Add FlashArea method Add a new dbus method that takes an area (x, y, width, height) and fires a flashspot on it. This would be useful for applications like totem and cheese.
Hmm, some feeling that this is too raw - and should be higher level, but I guess it's not too bad in the expected use cases: A) entire window with decorations Use gdk_window_get_frame_extents() B) Some area of window Use gdk_window_get_origin() C) entire screen Use gdk_screen_get_width/height()
Review of attachment 207210 [details] [review]: Looks fine
Attachment 207210 [details] pushed as 14b92a4 - dbus: Add FlashArea method