summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2009-03-19 23:36:00 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2009-03-19 23:36:00 +0000
commit272663908ee4780ab20416fd4a1b65005206d30d (patch)
tree9e93b759e3adacee7a82cdb896d741652145efca
parent7219cdd637e92d3b3d9500ffb4fb924f85b9692d (diff)
downloadgnome-settings-daemon-272663908ee4780ab20416fd4a1b65005206d30d.tar.gz
bgo576006 (RANDR) - Add an XRANDR-2 interface with a new method.
This method is the same as the old ApplyConfiguration, but also takes a parent window ID for the transient-parent of the confirmation dialog, and a timestamp. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=795
-rw-r--r--plugins/xrandr/gsd-xrandr-manager.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/xrandr/gsd-xrandr-manager.xml b/plugins/xrandr/gsd-xrandr-manager.xml
index 2efd18bd..365a5528 100644
--- a/plugins/xrandr/gsd-xrandr-manager.xml
+++ b/plugins/xrandr/gsd-xrandr-manager.xml
@@ -3,6 +3,21 @@
<interface name="org.gnome.SettingsDaemon.XRANDR">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gsd_xrandr_manager"/>
<method name="ApplyConfiguration">
+ <!-- This method is implemented, but deprecated in favor of the
+ same method in the XRANDR-2 interface defined below. -->
+ </method>
+ </interface>
+
+ <interface name="org.gnome.SettingsDaemon.XRANDR_2">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gsd_xrandr_manager_2"/>
+ <method name="ApplyConfiguration">
+ <!-- transient-parent window for the confirmation dialog; use 0
+ for no parent -->
+ <arg name="parent_window_id" type="x" direction="in"/>
+
+ <!-- Timestamp used to present the confirmation dialog and (in
+ the future) for the RANDR calls themselves -->
+ <arg name="timestamp" type="x" direction="in"/>
</method>
</interface>
</node>