diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2021-11-29 12:20:58 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2022-10-17 15:04:47 +0000 |
commit | 6e5357947679e48aa1c043f221425255105937a1 (patch) | |
tree | f5e82a16879e829d25efa762fee23798a7098e69 /src/ephy-link.c | |
parent | 3897ea3c41025736a98c43c531809435398fa19e (diff) | |
download | epiphany-6e5357947679e48aa1c043f221425255105937a1.tar.gz |
Port to GTK4
Leave out a few things for now:
- Location entry suggestions don't scroll:
needs https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4476
- Previewing reader mode fonts in appearance settings
This is very hard to implement with the new API
- If the cursor is positioned where the suggestions popover
will appear, when it does so the hovered item will be
selected. That shouldn't happen.
Diffstat (limited to 'src/ephy-link.c')
-rw-r--r-- | src/ephy-link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-link.c b/src/ephy-link.c index 07ca9a26f..66cf6dec1 100644 --- a/src/ephy-link.c +++ b/src/ephy-link.c @@ -105,10 +105,10 @@ ephy_link_flags_from_modifiers (GdkModifierType modifiers, return EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER; } } else { - if ((modifiers == (GDK_MOD1_MASK | GDK_SHIFT_MASK)) || + if ((modifiers == (GDK_ALT_MASK | GDK_SHIFT_MASK)) || (modifiers == (GDK_CONTROL_MASK | GDK_SHIFT_MASK))) { return EPHY_LINK_NEW_WINDOW; - } else if ((modifiers == GDK_MOD1_MASK) || (modifiers == GDK_CONTROL_MASK)) { + } else if ((modifiers == GDK_ALT_MASK) || (modifiers == GDK_CONTROL_MASK)) { return EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER | EPHY_LINK_JUMP_TO; } } |