]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
use the ObOrientation enum instead of a horz bool for configuring the dock's orientation
[chaz/openbox] / openbox / focus.c
index 2b88c876f4fa50a0bde3a234c4687f2e7c3520e5..b64d3e0071e4332feeff8b3fa25e4c83e04bd5a8 100644 (file)
@@ -194,7 +194,7 @@ void focus_fallback(FallbackType type)
     if (type == Fallback_Unfocusing && old) {
         /* try for transient relations */
         if (old->transient_for) {
-            if (old->transient_for == TRAN_GROUP) {
+            if (old->transient_for == OB_TRAN_GROUP) {
                 for (it = focus_order[screen_desktop]; it; it = it->next) {
                     GSList *sit;
 
@@ -262,7 +262,7 @@ static void popup_cycle(ObClient *c, gboolean show)
         popup_size(focus_cycle_popup, 320, 48);
 
         /* use the transient's parent's title/icon */
-        while (p->transient_for && p->transient_for != TRAN_GROUP)
+        while (p->transient_for && p->transient_for != OB_TRAN_GROUP)
             p = p->transient_for;
 
         if (p == c)
This page took 0.022074 seconds and 4 git commands to generate.