mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 05:46:00 +01:00
Clean event->state
This commit is contained in:
parent
90182e55d0
commit
d7c50dc1a0
1 changed files with 1 additions and 1 deletions
|
@ -3890,7 +3890,7 @@ cb_view_kb_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
||||||
if(
|
if(
|
||||||
event->keyval == sc->element.key
|
event->keyval == sc->element.key
|
||||||
&& (CLEAN(event->state) == sc->element.mask || (sc->element.key >= 0x21
|
&& (CLEAN(event->state) == sc->element.mask || (sc->element.key >= 0x21
|
||||||
&& sc->element.key <= 0x7E && event->state == GDK_SHIFT_MASK))
|
&& sc->element.key <= 0x7E && CLEAN(event->state) == GDK_SHIFT_MASK))
|
||||||
&& (Zathura.Global.mode & sc->element.mode || sc->element.mode == ALL)
|
&& (Zathura.Global.mode & sc->element.mode || sc->element.mode == ALL)
|
||||||
&& sc->element.function
|
&& sc->element.function
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue