summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-11 20:24:16 -0500
committerDana Jansens <danakj@orodu.net>2008-01-11 20:24:16 -0500
commit17bc51aab8be25cd44c55eb0a652c92518bd9b0f (patch)
tree7145e1d456d1da23384f149e8fc373fe2e6b7ac1 /data
parentb7e23f286a53b7beb259afac7e1a4cdf5fca47a4 (diff)
let you specify the resize popup to be in a fixed place
Diffstat (limited to 'data')
-rw-r--r--data/rc.xml12
-rw-r--r--data/rc.xsd5
2 files changed, 16 insertions, 1 deletions
diff --git a/data/rc.xml b/data/rc.xml
index efbd8a9c..3cd88ee8 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -129,7 +129,17 @@
<popupShow>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
- <!-- 'Center' or 'Top' -->
+ <!-- 'Center', 'Top', or 'Fixed' -->
+ <popupFixedPosition>
+ <!-- these are used if popupPosition is set to 'Fixed' -->
+
+ <x>10</x>
+ <!-- positive number for distance from left edge, negative number for
+ distance from right edge, or 'Center' -->
+ <y>10</y>
+ <!-- positive number for distance from top edge, negative number for
+ distance from bottom edge, or 'Center' -->
+ </popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows will not cover when
diff --git a/data/rc.xsd b/data/rc.xsd
index ef610bfa..0544cfd4 100644
--- a/data/rc.xsd
+++ b/data/rc.xsd
@@ -96,6 +96,11 @@
<xsd:element minOccurs="0" name="drawContents" type="ob:bool"/>
<xsd:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
<xsd:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
+ <xsd:element minOccurs="0" name="popupPosition" type="ob:popupfixedposition"/>
+ </xsd:complexType>
+ <xsd:complexType name="popupfixedposition">
+ <xsd:element minOccurs="0" name="x" type="ob:center_or_int"/>
+ <xsd:element minOccurs="0" name="y" type="ob:center_or_int"/>
</xsd:complexType>
<xsd:complexType name="dock">
<xsd:element minOccurs="0" name="position" type="ob:dock_position"/>