diff options
author | Dan Winship <danw@gnome.org> | 2011-08-05 12:32:42 -0400 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-08-12 09:19:41 +0200 |
commit | 1e6448d0c33462cf668563922cd22ab6f3e826eb (patch) | |
tree | 9d31bb6abffeb1adbbfc13e40c1752a820b9e1da /modules/gtk2 | |
parent | de6517b8d1bf16ec9ee87aacc96adf2d8c836870 (diff) | |
download | caribou-1e6448d0c33462cf668563922cd22ab6f3e826eb.tar.gz |
Use gdk_x11_display_get_user_time() instead of gtk_get_current_event_time()
XFocusChangeEvents don't have timestamps, so
gtk_get_current_event_time() will return 0 inside the
has-toplevel-focus notification handler. So use the last user
interaction time instead.
Diffstat (limited to 'modules/gtk2')
-rw-r--r-- | modules/gtk2/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gtk2/Makefile.am b/modules/gtk2/Makefile.am index 2580827..f59aabd 100644 --- a/modules/gtk2/Makefile.am +++ b/modules/gtk2/Makefile.am @@ -9,6 +9,7 @@ libcaribou_gtk_module_la_SOURCES = \ libcaribou_gtk_module_la_VALAFLAGS = \ -h caribou-gtk-module.h \ --vapidir=. \ + --pkg gdk-x11-2.0 \ --pkg gtk+-2.0 \ -D GTK2 \ $(VALAGLAFS) |