Revert "Left mouse button and mouse wheel changes zoom level"
This reverts commit c2e0342bb3
.
The feature is unusable on some touchpads.
Fixes: https://bugs.launchpad.net/midori/+bug/761106
This commit is contained in:
parent
afd5dd5710
commit
08b756b0a6
2 changed files with 2 additions and 4 deletions
|
@ -1724,8 +1724,7 @@ midori_view_ensure_link_uri (MidoriView* view,
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MIDORI_KEYS_MODIFIER_MASK (GDK_SHIFT_MASK | GDK_CONTROL_MASK \
|
#define MIDORI_KEYS_MODIFIER_MASK (GDK_SHIFT_MASK | GDK_CONTROL_MASK \
|
||||||
| GDK_MOD1_MASK | GDK_META_MASK | GDK_SUPER_MASK | GDK_HYPER_MASK \
|
| GDK_MOD1_MASK | GDK_META_MASK | GDK_SUPER_MASK | GDK_HYPER_MASK )
|
||||||
| GDK_BUTTON1_MASK)
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gtk_widget_button_press_event_cb (WebKitWebView* web_view,
|
gtk_widget_button_press_event_cb (WebKitWebView* web_view,
|
||||||
|
|
|
@ -17,8 +17,7 @@
|
||||||
#define MIDORI_MOD_NEW_WINDOW(state) (state & GDK_SHIFT_MASK)
|
#define MIDORI_MOD_NEW_WINDOW(state) (state & GDK_SHIFT_MASK)
|
||||||
#define MIDORI_MOD_NEW_TAB(state) (state & GDK_CONTROL_MASK)
|
#define MIDORI_MOD_NEW_TAB(state) (state & GDK_CONTROL_MASK)
|
||||||
#define MIDORI_MOD_BACKGROUND(state) (state & GDK_SHIFT_MASK)
|
#define MIDORI_MOD_BACKGROUND(state) (state & GDK_SHIFT_MASK)
|
||||||
#define MIDORI_MOD_SCROLL(state) (state & GDK_CONTROL_MASK) \
|
#define MIDORI_MOD_SCROLL(state) (state & GDK_CONTROL_MASK)
|
||||||
|| (state & GDK_BUTTON1_MASK)
|
|
||||||
|
|
||||||
#include <katze/katze.h>
|
#include <katze/katze.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue