summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-31 20:28:54 +0200
committerPablo Barciela <[email protected]>2018-07-31 20:30:27 +0200
commite740a981b0be879321e5b3837332712d8231b400 (patch)
treeaa6be53321e0dab09adff8eb52b7f32631a3f024 /src/caja-window.c
parent5b20286752e0e923b1ce6298cdcf21e62849ad7e (diff)
downloadcaja-e740a981b0be879321e5b3837332712d8231b400.tar.bz2
caja-e740a981b0be879321e5b3837332712d8231b400.tar.xz
caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]
Fixes https://github.com/mate-desktop/caja/issues/1024
Diffstat (limited to 'src/caja-window.c')
-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;