summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetpath.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-10-18 21:23:12 +0800
committerJonas Ådahl <jadahl@gmail.com>2015-10-27 08:41:02 +0800
commitaedd193c69f5857917369c083be04bd24a1e770e (patch)
tree7f9043e7661493fc6688779368b86e1975233bc6 /gtk/gtkwidgetpath.c
parentbcb28adba3b1229a74e60efe7a96c19441265b8d (diff)
downloadgtk+-aedd193c69f5857917369c083be04bd24a1e770e.tar.gz
GtkTreeView: Rework the search window hack so it also works on Wayland
The search window of a tree view was implemented by showing without making it visible by by positioning it outside the screen edge. This is not possible on Wayland, so implement another method for being able to enter text into a non-visible entry. The new method is implemented by, before showing the window, pass the key event directly to the IM context backing the entry. If the key event triggered the context to commit new text or change the preedit content, the search window is shown, and from that point the key events are forwarded directly to the entry widget. https://bugzilla.gnome.org/show_bug.cgi?id=756780
Diffstat (limited to 'gtk/gtkwidgetpath.c')
0 files changed, 0 insertions, 0 deletions