]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.c
stacking fixes for layers
[chaz/openbox] / openbox / stacking.c
index c4fb06a2b3d81bc4cb67d8b9244803acd7b1c893..c9ca514bc3ddc6c09ab66e513b2ee567a6a4267e 100644 (file)
@@ -426,7 +426,7 @@ void stacking_add_nonintrusive(ObWindow *win)
         }
     }
     if (!it_below) {
-        if (client == focus_client) {
+        if (client_search_transient(client, focus_client)) {
             /* it's focused so put it at the top */
             stacking_list = g_list_append(stacking_list, win);
             stacking_raise(win);
This page took 0.020865 seconds and 4 git commands to generate.