]> Dogcows Code - chaz/openbox/commitdiff
Fix bug #4877 (Some harmless code quirks involving booleans)
authorDana Jansens <danakj@orodu.net>
Fri, 28 Jan 2011 18:25:32 +0000 (13:25 -0500)
committerDana Jansens <danakj@orodu.net>
Mon, 1 Aug 2011 15:50:16 +0000 (11:50 -0400)
data/rc.xsd
openbox/focus_cycle.c

index 03a38e5b9ff0163f0bdcca67c45897720f23f558..ad96994a8df161f762206474521d15d6a98f369d 100644 (file)
             <xsd:element minOccurs="0" name="edge" type="xsd:string"/>
             <xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
             <xsd:element minOccurs="0" name="follow" type="ob:bool"/>
-            <xsd:element minOccurs="0" name="dialog" type="ob:bool"/>
+            <xsd:element minOccurs="0" name="dialog" type="ob:dialogtype"/>
             <xsd:element minOccurs="0" name="panels" type="ob:bool"/>
             <xsd:element minOccurs="0" name="here" type="ob:bool"/>
             <xsd:element minOccurs="0" name="linear" type="ob:bool"/>
             <xsd:enumeration value="Nonpixel"/>
         </xsd:restriction>
     </xsd:simpleType>
+    <xsd:simpleType name="dialogtype">
+        <xsd:restriction base="xsd:string">
+            <xsd:enumeration value="None"/>
+            <xsd:enumeration value="Icons"/>
+            <xsd:enumeration value="List"/>
+        </xsd:restriction>
+    </xsd:simpleType>
 </xsd:schema>
index 39d704cc3e5af02e454234ef749819c81c1e6b27..6d4cc2a5ea932188b4ff908e8051916b1036d6d1 100644 (file)
@@ -93,7 +93,8 @@ void focus_cycle_reorder()
         focus_cycle_update_indicator(focus_cycle_target);
         if (!focus_cycle_target)
             focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
-                        TRUE, TRUE, TRUE, TRUE, TRUE);
+                        TRUE, TRUE, OB_FOCUS_CYCLE_POPUP_MODE_NONE,
+                        TRUE, TRUE);
     }
 }
 
This page took 0.023966 seconds and 4 git commands to generate.