[vala] x11: Add XGetInputFocus method to Display



commit fb0d1ee29fd1225c86049640effe8c1fbb57a085
Author: Oliver Sauder <os esite ch>
Date:   Sat Jun 4 15:34:59 2011 +0200

    x11: Add XGetInputFocus method to Display
    
    Fixes bug 651853.

 vapi/x11.vapi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 9f82f4e..3592c3d 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]