summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-31 20:28:54 +0200
committerPablo Barciela <[email protected]>2018-08-01 12:39:38 +0200
commitf19255f52899603fe348739f7fb32c56bb763269 (patch)
treefa839a735f63b6f849e2f9bae2e2d28ea30b7a97
parentba087de8c7a9f1a4b93fdc74d917465dd2d89eb0 (diff)
downloadcaja-f19255f52899603fe348739f7fb32c56bb763269.tar.bz2
caja-f19255f52899603fe348739f7fb32c56bb763269.tar.xz
caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]
Fixes https://github.com/mate-desktop/caja/issues/1024
-rw-r--r--src/caja-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 132ffd96..098160ce 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -1022,6 +1022,11 @@ static gboolean
caja_window_key_press_event (GtkWidget *widget,
GdkEventKey *event)
{
+ /* Fix for https://github.com/mate-desktop/caja/issues/1024 */
+ if ((event->state & GDK_CONTROL_MASK) &&
+ ((event->keyval == '.') || (event->keyval == ';')))
+ return TRUE;
+
CajaWindow *window;
int i;