mirror of https://github.com/davatorium/rofi.git
Fix issue: #347.
This commit is contained in:
parent
319524c7c5
commit
3b58c3a26a
|
@ -537,6 +537,7 @@ static ModeMode window_mode_result ( Mode *sw, int mretv, G_GNUC_UNUSED char **i
|
|||
|
||||
window_send_message ( display, root, rmpd->ids->array[selected_line], netatoms[_NET_ACTIVE_WINDOW], 2, // 2 = pager
|
||||
SubstructureNotifyMask | SubstructureRedirectMask, 0 );
|
||||
XFlush ( display );
|
||||
}
|
||||
}
|
||||
return retv;
|
||||
|
|
|
@ -252,9 +252,6 @@ void process_result ( RofiViewState *state )
|
|||
}
|
||||
// Cleanup
|
||||
g_free ( input );
|
||||
for ( unsigned int i = 0; i < num_modi; i++ ) {
|
||||
mode_destroy ( modi[i] );
|
||||
}
|
||||
}
|
||||
}
|
||||
void process_result_error ( RofiViewState *state )
|
||||
|
@ -356,6 +353,9 @@ static int grab_global_keybindings ()
|
|||
*/
|
||||
static void cleanup ()
|
||||
{
|
||||
for ( unsigned int i = 0; i < num_modi; i++ ) {
|
||||
mode_destroy ( modi[i] );
|
||||
}
|
||||
rofi_view_workers_finalize ();
|
||||
if ( main_loop != NULL ) {
|
||||
if ( main_loop_source ) {
|
||||
|
|
Loading…
Reference in New Issue