]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Add XGetInputFocus method to Display
authorOliver Sauder <os@esite.ch>
Sat, 4 Jun 2011 13:34:59 +0000 (15:34 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 4 Jun 2011 15:26:23 +0000 (17:26 +0200)
Fixes bug 651853.

vapi/x11.vapi

index 9f82f4eefd4132c5922c923e841dd03781571952..3592c3de449389a41e4ecbe872ba730e5e27bddb 100644 (file)
@@ -99,6 +99,9 @@ namespace X {
                [CCode (cname = "XGetSelectionOwner")]
                public Window get_selection_owner (Atom selection);
 
+               [CCode (cname = "XGetInputFocus")]
+               public void get_input_focus (out Window focus_return, out int revert_to_return);
+
                [CCode (cname = "XGetWindowAttributes")]
                public void get_window_attributes (Window w, out WindowAttributes window_attributes_return);