From: Ben Hutchings <ben@decadent.org.uk>
Date: Sun, 22 Nov 2009 22:49:38 +0000 (+0000)
Subject: Update cfg_kludge_flash for Flash 10
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=HEAD;p=ion3.git

Update cfg_kludge_flash for Flash 10
---

diff --git a/debian/cfg_kludge_flash.lua b/debian/cfg_kludge_flash.lua
index 54fca80..69e03b0 100644
--- a/debian/cfg_kludge_flash.lua
+++ b/debian/cfg_kludge_flash.lua
@@ -1,8 +1,7 @@
--- 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',
@@ -23,10 +22,7 @@ end
 
 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,
 }
diff --git a/debian/changelog b/debian/changelog
index 576f9a6..5002ee3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 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