JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix phantom windows better by keeping transients; fixes mozilla restart
authorMarco Peereboom <marco@conformal.com>
Sat, 17 Jan 2009 17:48:37 +0000 (17:48 +0000)
committerMarco Peereboom <marco@conformal.com>
Sat, 17 Jan 2009 17:48:37 +0000 (17:48 +0000)
with dialog open.

scrotwm.c

index d7ddbfc..a71f619 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -1478,8 +1478,7 @@ main(int argc, char *argv[])
                for (i = 0; i < num; i++) {
                         if (!XGetWindowAttributes(display, wins[i], &wa)
                            || wa.override_redirect
-                           || wa.map_state != IsViewable ||
-                           XGetTransientForHint(display, wins[i], &d1))
+                           || wa.map_state != IsViewable)
                                continue;
                        manage_window(wins[i]);
                 }