[gnome-builder] vim: add special case for Gtk inspector (Ctrl+Shift+D0
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: add special case for Gtk inspector (Ctrl+Shift+D0
- Date: Wed, 7 Jan 2015 22:56:15 +0000 (UTC)
commit 2be10ecbeb083c57d78ecf53d231088262fbf223
Author: Christian Hergert <christian hergert me>
Date: Wed Jan 7 14:56:10 2015 -0800
vim: add special case for Gtk inspector (Ctrl+Shift+D0
src/vim/gb-source-vim.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/vim/gb-source-vim.c b/src/vim/gb-source-vim.c
index 5694d81..4f7a5e9 100644
--- a/src/vim/gb-source-vim.c
+++ b/src/vim/gb-source-vim.c
@@ -2946,6 +2946,13 @@ gb_source_vim_handle_normal (GbSourceVim *vim,
}
break;
+ case GDK_KEY_D:
+ /* Special case for <Control><Shift>D, Gtk Inspector. */
+ if ((event->state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) ==
+ (GDK_CONTROL_MASK | GDK_SHIFT_MASK))
+ return FALSE;
+ break;
+
case GDK_KEY_d:
if ((event->state & GDK_CONTROL_MASK) != 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]