--- Flash player opens full-screen windows from Firefox with size
--- request 200x200. It closes them if they lose focus, but also if
--- they get focus too quickly. Therefore set focus 200 ms after
--- such a window is mapped (this may need to be adjusted on slower
--- computers).
+-- Flash player opens full-screen windows from Firefox. It closes
+-- them if they lose focus, but also if they get focus too quickly.
+-- Therefore set focus 200 ms after such a window is mapped (this may
+-- need to be adjusted on slower computers).
_NET_WM_STATE = ioncore.x_intern_atom('_NET_WM_STATE', false)
_NET_WM_STATE_FULLSCREEN = ioncore.x_intern_atom('_NET_WM_STATE_FULLSCREEN',
defwinprop {
class = 'Firefox-bin',
- match = function(prop, cwin, id)
- local geom = cwin:geom()
- return is_fullscreen(cwin) and geom.w == 200 and geom.h == 200
- end,
+ match = function(prop, cwin, id) return is_fullscreen(cwin); end,
switchto = false,
flash_fullscreen = true,
}
ion3 (20090110-4) UNRELEASED; urgency=low
- *
+ * Update cfg_kludge_flash for Flash 10
-- Ben Hutchings <ben@decadent.org.uk> Sun, 22 Nov 2009 22:47:57 +0000