Fix bug #4877 (Some harmless code quirks involving booleans)
This commit is contained in:
parent
2288da0ae3
commit
5b2ed63cb4
2 changed files with 10 additions and 2 deletions
|
@ -171,7 +171,7 @@
|
||||||
<xsd:element minOccurs="0" name="edge" type="xsd:string"/>
|
<xsd:element minOccurs="0" name="edge" type="xsd:string"/>
|
||||||
<xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
|
<xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
|
||||||
<xsd:element minOccurs="0" name="follow" 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="panels" type="ob:bool"/>
|
||||||
<xsd:element minOccurs="0" name="here" type="ob:bool"/>
|
<xsd:element minOccurs="0" name="here" type="ob:bool"/>
|
||||||
<xsd:element minOccurs="0" name="linear" type="ob:bool"/>
|
<xsd:element minOccurs="0" name="linear" type="ob:bool"/>
|
||||||
|
@ -541,4 +541,11 @@
|
||||||
<xsd:enumeration value="Nonpixel"/>
|
<xsd:enumeration value="Nonpixel"/>
|
||||||
</xsd:restriction>
|
</xsd:restriction>
|
||||||
</xsd:simpleType>
|
</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>
|
</xsd:schema>
|
||||||
|
|
|
@ -93,7 +93,8 @@ void focus_cycle_reorder()
|
||||||
focus_cycle_update_indicator(focus_cycle_target);
|
focus_cycle_update_indicator(focus_cycle_target);
|
||||||
if (!focus_cycle_target)
|
if (!focus_cycle_target)
|
||||||
focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
|
focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
|
||||||
TRUE, TRUE, TRUE, TRUE, TRUE);
|
TRUE, TRUE, OB_FOCUS_CYCLE_POPUP_MODE_NONE,
|
||||||
|
TRUE, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue