[window] Don't allow Ctrl+Click as window movement modifier
Choosing Ctrl for window movement messes up selecting mutiple entries in list and grid widgets (e.g. files in nautilus) so don't offer it as an option. Closes bug #409405.
This commit is contained in:
parent
d5e168c81a
commit
fd82bdb9a1
1 changed files with 1 additions and 10 deletions
|
@ -588,8 +588,7 @@ reload_mouse_modifiers (void)
|
||||||
g_free (mouse_modifiers);
|
g_free (mouse_modifiers);
|
||||||
mouse_modifiers = NULL;
|
mouse_modifiers = NULL;
|
||||||
|
|
||||||
|
n_mouse_modifiers = 1; /* alt */
|
||||||
n_mouse_modifiers = 2; /* control, alt */
|
|
||||||
if (have_super)
|
if (have_super)
|
||||||
++n_mouse_modifiers;
|
++n_mouse_modifiers;
|
||||||
if (have_hyper)
|
if (have_hyper)
|
||||||
|
@ -597,18 +596,10 @@ reload_mouse_modifiers (void)
|
||||||
if (have_meta)
|
if (have_meta)
|
||||||
++n_mouse_modifiers;
|
++n_mouse_modifiers;
|
||||||
|
|
||||||
g_free (mouse_modifiers);
|
|
||||||
|
|
||||||
mouse_modifiers = g_new0 (MouseClickModifier, n_mouse_modifiers);
|
mouse_modifiers = g_new0 (MouseClickModifier, n_mouse_modifiers);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
mouse_modifiers[i].number = i;
|
|
||||||
/* translators: this is the Control key */
|
|
||||||
mouse_modifiers[i].name = g_strdup (_("C_ontrol"));
|
|
||||||
mouse_modifiers[i].value = "Control";
|
|
||||||
++i;
|
|
||||||
|
|
||||||
mouse_modifiers[i].number = i;
|
mouse_modifiers[i].number = i;
|
||||||
mouse_modifiers[i].name = g_strdup (_("_Alt"));
|
mouse_modifiers[i].name = g_strdup (_("_Alt"));
|
||||||
mouse_modifiers[i].value = "Alt";
|
mouse_modifiers[i].value = "Alt";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue