From: Marco Peereboom Date: Sat, 17 Jan 2009 17:48:37 +0000 (+0000) Subject: Fix phantom windows better by keeping transients; fixes mozilla restart X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=eb06e426f5934045ca1d92492ddc3356bd4e730a;p=spectrwm.git Fix phantom windows better by keeping transients; fixes mozilla restart with dialog open. --- diff --git a/scrotwm.c b/scrotwm.c index d7ddbfc..a71f619 100644 --- 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]); }