On Sun, 2008-01-27 at 03:15 +0100, gregor herrmann wrote: > On Sun, 27 Jan 2008 01:47:34 +0000, Ben Hutchings wrote: > > > Can you point to a > > specific web site that demonstrates this problem? > > I see something that probably is the effect the submitter mentions > e.g. on each video on youtube (at least if icewaesel is not running > in fullscreen mode).
Right, I should have remembered it was YouTube.
It seems that the full-screen window disappears as soon as it loses
focus, but also if it gains focus too quickly (?). The following rule
lets the window stay open, but you have to manually switch to the new
workspace:
defwinprop {
class = "Firefox-bin",
match = function(prop, cwin, id)
local geom = cwin:geom()
return geom.w == 200 and geom.h == 200
end,
switchto = false,
}
(this matches the initial size request of the window, which was the best
way I could find to distinguish it from normal browser windows).
It ought to be possible to set a timer to focus the window with a slight
delay, but for some reason the timer I create seems to fire immediately;
that seems like an Ion bug. I will investigate further tomorrow.
Ben.
--
Ben Hutchings
One of the nice things about standards is that there are so many of them.
signature.asc
Description: This is a digitally signed message part

