On Tue, 5 Oct 2010 at 16:15:14 -0400, Brad Jorsch wrote: > When applications are embedded in firefox via mozplugger, e.g. ooffice > for viewing .doc files or xpdf for viewing pdfs, and the embedded > application opens a popup window, we end up with a shared appicon for > the embedded app that remains until Window Maker is restarted. > > The underlying cause is that mozplugger winds up reparenting the > embedded app's original leader window to a subwindow of itself, so > wmaker's SubstructureNotifyMask on the root window no longer picks up > the DestroyNotify when that original leader is destroyed. > > It seems easy to fix once you track down the problem: when fixing > several other properties in fixLeaderProperties(), add > StructureNotifyMask so we get DestroyNotify no matter where the leader > gets reparented to. A more targeted fix would only add > StructureNotifyMask when the fake group's origLeader is set, but I don't > think a few extra structure notifications are going to cause us any real > problems. > > Signed-off-by: Brad Jorsch <[email protected]> > --- > src/window.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-)
Thanks, applied. -- To unsubscribe, send mail to [email protected].
