1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

Fix crash when clicked out of window.

This commit is contained in:
Dave Davenport 2016-11-11 09:30:44 +01:00
parent 0da5737cee
commit e3af1efaef

View file

@ -187,11 +187,13 @@ void abe_trigger_release ( void )
KeyBindingAction action;
state = rofi_view_get_active ( );
for ( action = 0; action < NUM_ABE; ++action ) {
if ( _abe_trigger_on_release[action] ) {
rofi_view_trigger_action ( state, action );
_abe_trigger_on_release[action] = FALSE;
if ( state ) {
for ( action = 0; action < NUM_ABE; ++action ) {
if ( _abe_trigger_on_release[action] ) {
rofi_view_trigger_action ( state, action );
_abe_trigger_on_release[action] = FALSE;
}
}
rofi_view_update ( state );
}
rofi_view_update ( state );
}