Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug #4877 (Some harmless code quirks involving booleans)

  • Loading branch information...
commit 5b2ed63cb4d97c3a0492de272517a1c054949a8d 1 parent 2288da0
@danakj danakj authored
Showing with 10 additions and 2 deletions.
  1. +8 −1 data/rc.xsd
  2. +2 −1  openbox/focus_cycle.c
View
9 data/rc.xsd
@@ -171,7 +171,7 @@
<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"/>
@@ -541,4 +541,11 @@
<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>
View
3  openbox/focus_cycle.c
@@ -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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.