diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-19 17:07:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-19 21:05:35 +0100 |
commit | ed8a157666c4aef5a28f9292e545095520c0dfaf (patch) | |
tree | e8ca24964ce029155e7a545694a9066b7ee1fece /vcl | |
parent | d648cf4d1a56ac7d4bb4e0e6c533549a0e4b25f8 (diff) |
ignore "fake" keypress in slideshow
where the fake keypress is needed to workaround
https://gitlab.gnome.org/GNOME/gtk/issues/1785 which exists as a problem
in gtk < 3.24
Change-Id: If8cdd536668f515327ab8fc11033e5f9c6e56a35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111237
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 0d0c28b15b80..9f1804a78791 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -7854,6 +7854,7 @@ private: // Send a keyboard event through gtk_main_do_event to toggle any active tooltip offs // before trying to launch the menu // https://gitlab.gnome.org/GNOME/gtk/issues/1785 + // Fixed in GTK 2.34 GdkEvent *pKeyEvent = GtkSalFrame::makeFakeKeyPress(pWidget); gtk_main_do_event(pKeyEvent); @@ -8159,6 +8160,7 @@ public: // Send a keyboard event through gtk_main_do_event to toggle any active tooltip offs // before trying to launch the menu // https://gitlab.gnome.org/GNOME/gtk/issues/1785 + // Fixed in GTK 2.34 GdkEvent *pKeyEvent = GtkSalFrame::makeFakeKeyPress(pWidget); gtk_main_do_event(pKeyEvent); |