]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
really fix focus_last?
[chaz/openbox] / openbox / focus.c
index 07df3a5624b8436c63d9bd5563053b37c4ac045b..6a56c2f819bccd72ca767e866e1fe6ee64a94bc4 100644 (file)
@@ -249,7 +249,8 @@ ObClient* focus_fallback_target(ObFocusFallbackType type)
 
     old = focus_client;
 
-    if (type == OB_FOCUS_FALLBACK_UNFOCUSING && old) {
+    if ((type == OB_FOCUS_FALLBACK_UNFOCUSING
+         || type == OB_FOCUS_FALLBACK_CLOSED) && old) {
         if (old->transient_for) {
             gboolean trans = FALSE;
 
This page took 0.020838 seconds and 4 git commands to generate.