[evolution] M!18 - [Wayland] Clicking on "Insert Emoticon" triggers shortcut inhibition
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] M!18 - [Wayland] Clicking on "Insert Emoticon" triggers shortcut inhibition
- Date: Thu, 13 Jun 2019 15:57:31 +0000 (UTC)
commit 5427d456519197756be32e99dcb750aa6eea16ee
Author: Olivier Fourdan <ofourdan redhat com>
Date: Thu Jun 13 17:58:46 2019 +0200
M!18 - [Wayland] Clicking on "Insert Emoticon" triggers shortcut inhibition
Closes https://gitlab.gnome.org/GNOME/evolution/merge_requests/18
Closes https://gitlab.gnome.org/GNOME/evolution/issues/485
src/e-util/e-emoticon-tool-button.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/e-util/e-emoticon-tool-button.c b/src/e-util/e-emoticon-tool-button.c
index bf274d3ab6..5b7a666ab3 100644
--- a/src/e-util/e-emoticon-tool-button.c
+++ b/src/e-util/e-emoticon-tool-button.c
@@ -380,7 +380,8 @@ emoticon_tool_button_popup (EEmoticonToolButton *button)
gtk_window_set_transient_for (GTK_WINDOW (button->priv->window), GTK_WINDOW (toplevel));
/* Try to grab the pointer and keyboard. */
- window = gtk_widget_get_window (toplevel);
+ gtk_widget_realize (button->priv->window);
+ window = gtk_widget_get_window (button->priv->window);
grab_status = !keyboard ||
gdk_device_grab (
keyboard, window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]