]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
only enable automatic composite redirection for the client windows, not the frames...
[chaz/openbox] / openbox / client.c
index a128d9e6fec736c5c5b87768d5accb644dc9a746..cf6965ae24ade67a84338309fe434ebad6d9d0fe 100644 (file)
@@ -394,7 +394,7 @@ void client_manage(Window window)
     */
     if (ob_state() == OB_STATE_RUNNING &&
         (transient ||
-         (!(self->sized & USSize) &&
+         (!(self->sized & USSize || self->positioned & USPosition) &&
           client_normal(self) &&
           !self->session)))
     {
@@ -2084,8 +2084,11 @@ void client_update_icons(ObClient *self)
     /* set the default icon onto the window
        in theory, this could be a race, but if a window doesn't set an icon
        or removes it entirely, it's not very likely it is going to set one
-       right away afterwards */
-    if (self->nicons == 0) {
+       right away afterwards
+
+       if it has parents, then one of them will have an icon already 
+    */
+    if (self->nicons == 0 && !self->parents) {
         RrPixel32 *icon = ob_rr_theme->def_win_icon;
         gulong *data;
 
This page took 0.020388 seconds and 4 git commands to generate.