E17: Remove erroneous flush. Check for connection error before trying
to kill dialog. SVN revision: 62540
This commit is contained in:
parent
40b8198e49
commit
cfb95c63fa
|
@ -314,13 +314,14 @@ _e_alert_window_raise(xcb_window_t win)
|
|||
static void
|
||||
_e_alert_sync(void)
|
||||
{
|
||||
xcb_flush(conn);
|
||||
free(xcb_get_input_focus_reply(conn,
|
||||
xcb_get_input_focus(conn), NULL));
|
||||
}
|
||||
|
||||
static void
|
||||
_e_alert_shutdown(void)
|
||||
{
|
||||
if (!xcb_connection_has_error(conn))
|
||||
{
|
||||
xcb_close_font(conn, font);
|
||||
xcb_destroy_window(conn, btn1);
|
||||
|
@ -330,6 +331,7 @@ _e_alert_shutdown(void)
|
|||
xcb_free_gc(conn, gc);
|
||||
xcb_disconnect(conn);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_e_alert_run(void)
|
||||
|
|
Loading…
Reference in New Issue