mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Fix crash when clicked out of window.
This commit is contained in:
parent
0da5737cee
commit
e3af1efaef
1 changed files with 7 additions and 5 deletions
|
@ -187,11 +187,13 @@ void abe_trigger_release ( void )
|
||||||
KeyBindingAction action;
|
KeyBindingAction action;
|
||||||
|
|
||||||
state = rofi_view_get_active ( );
|
state = rofi_view_get_active ( );
|
||||||
for ( action = 0; action < NUM_ABE; ++action ) {
|
if ( state ) {
|
||||||
if ( _abe_trigger_on_release[action] ) {
|
for ( action = 0; action < NUM_ABE; ++action ) {
|
||||||
rofi_view_trigger_action ( state, action );
|
if ( _abe_trigger_on_release[action] ) {
|
||||||
_abe_trigger_on_release[action] = FALSE;
|
rofi_view_trigger_action ( state, action );
|
||||||
|
_abe_trigger_on_release[action] = FALSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
rofi_view_update ( state );
|
||||||
}
|
}
|
||||||
rofi_view_update ( state );
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue