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:40:06 +0200
commitda56ae2180840ef82de36269bcf619ba2890737e (patch)
tree8166916c24325d38ba1ba33eaf796ba9da36152a
parentc66c859c6f528653578dbb1c90d565385d02afdb (diff)
downloadcaja-da56ae2180840ef82de36269bcf619ba2890737e.tar.bz2
caja-da56ae2180840ef82de36269bcf619ba2890737e.tar.xz
caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]1.18
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 84ae7487..6d9fb3ef 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -1029,6 +1029,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;