summaryrefslogtreecommitdiff
path: root/libcaribou
diff options
context:
space:
mode:
authorNohemi Fernandez <nf68@cornell.edu>2011-08-04 12:54:36 -0500
committerEitan Isaacson <eitan@monotonous.org>2011-08-12 09:19:40 +0200
commit3f6509b748c05717deba62ebe2967b131d9a7bdb (patch)
treefe4a64932335936f0752f5ba4a8ef7d575733253 /libcaribou
parent7a368efc56c6f6a9d901c6a2727d184b786fc73a (diff)
downloadcaribou-3f6509b748c05717deba62ebe2967b131d9a7bdb.tar.gz
Add timestamp to show/hide Gtk module methods
Several signals may be passed to the GNOME shell to show/hide the keyboard. Since, the signals may be received in a different order than they were sent, we ignore older messages and process the newer ones.
Diffstat (limited to 'libcaribou')
-rw-r--r--libcaribou/keyboard-service.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcaribou/keyboard-service.vala b/libcaribou/keyboard-service.vala
index 0a8c7c9..2e7351e 100644
--- a/libcaribou/keyboard-service.vala
+++ b/libcaribou/keyboard-service.vala
@@ -3,8 +3,8 @@ namespace Caribou {
public abstract class KeyboardService : Object {
public abstract void set_cursor_location(int x, int y, int w, int h);
public abstract void set_entry_location(int x, int y, int w, int h);
- public abstract void show();
- public abstract void hide();
+ public abstract void show(uint32 timestamp);
+ public abstract void hide(uint32 timestamp);
protected void register_keyboard (string name) {
string dbus_name = @"org.gnome.Caribou.$name";
@@ -45,4 +45,4 @@ namespace Caribou {
}
}
-} \ No newline at end of file
+}