diff options
author | Nohemi Fernandez <nf68@cornell.edu> | 2011-08-04 12:54:36 -0500 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-08-12 09:19:40 +0200 |
commit | 3f6509b748c05717deba62ebe2967b131d9a7bdb (patch) | |
tree | fe4a64932335936f0752f5ba4a8ef7d575733253 /libcaribou/keyboard-service.vala | |
parent | 7a368efc56c6f6a9d901c6a2727d184b786fc73a (diff) | |
download | caribou-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/keyboard-service.vala')
-rw-r--r-- | libcaribou/keyboard-service.vala | 6 |
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 +} |