mirror of https://github.com/davatorium/rofi.git
re-order
This commit is contained in:
parent
838c838d31
commit
536fd9822c
|
@ -1503,13 +1503,6 @@ static void teardown ( int pfd )
|
||||||
|
|
||||||
// Release the window.
|
// Release the window.
|
||||||
release_keyboard ( display );
|
release_keyboard ( display );
|
||||||
if ( main_window != None ) {
|
|
||||||
XUnmapWindow ( display, main_window );
|
|
||||||
XDestroyWindow ( display, main_window );
|
|
||||||
main_window = None;
|
|
||||||
XDestroyIC ( xic );
|
|
||||||
XCloseIM ( xim );
|
|
||||||
}
|
|
||||||
if ( draw ) {
|
if ( draw ) {
|
||||||
cairo_destroy ( draw );
|
cairo_destroy ( draw );
|
||||||
draw = NULL;
|
draw = NULL;
|
||||||
|
@ -1518,6 +1511,13 @@ static void teardown ( int pfd )
|
||||||
cairo_surface_destroy ( surface );
|
cairo_surface_destroy ( surface );
|
||||||
surface = NULL;
|
surface = NULL;
|
||||||
}
|
}
|
||||||
|
if ( main_window != None ) {
|
||||||
|
XUnmapWindow ( display, main_window );
|
||||||
|
XDestroyWindow ( display, main_window );
|
||||||
|
main_window = None;
|
||||||
|
XDestroyIC ( xic );
|
||||||
|
XCloseIM ( xim );
|
||||||
|
}
|
||||||
|
|
||||||
if ( map != None ) {
|
if ( map != None ) {
|
||||||
XFreeColormap ( display, map );
|
XFreeColormap ( display, map );
|
||||||
|
|
Loading…
Reference in New Issue