static int _ecore_xcb_shutdown(Eina_Bool close_display);
static Eina_Bool _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
static Eina_Bool _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
+static Eina_Bool _ecore_xcb_idle_enter(void *data __UNUSED__);
/* local variables */
static int _ecore_xcb_init_count = 0;
static int _ecore_xcb_grab_count = 0;
static Ecore_Fd_Handler *_ecore_xcb_fd_handler = NULL;
static xcb_generic_event_t *_ecore_xcb_event_buffered = NULL;
+static Ecore_Idle_Enterer *_ecore_xcb_idle_enterer = NULL;
/* external variables */
int _ecore_xcb_log_dom = -1;
if (!_ecore_xcb_fd_handler)
return _ecore_xcb_shutdown(EINA_TRUE);
+ _ecore_xcb_idle_enterer =
+ ecore_idle_enterer_add(_ecore_xcb_idle_enter, NULL);
+
/* prefetch atoms */
_ecore_xcb_atoms_init();
cookie =
xcb_send_event_checked(_ecore_xcb_conn, 0, win, mask, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
err = xcb_request_check(_ecore_xcb_conn, cookie);
if (err)
xcb_send_event_checked(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
err = xcb_request_check(_ecore_xcb_conn, cookie);
if (err)
xcb_send_event_checked(_ecore_xcb_conn, 1, win,
XCB_EVENT_MASK_BUTTON_PRESS, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
err = xcb_request_check(_ecore_xcb_conn, vcookie);
if (err)
xcb_send_event_checked(_ecore_xcb_conn, 1, win,
XCB_EVENT_MASK_BUTTON_RELEASE, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
err = xcb_request_check(_ecore_xcb_conn, vcookie);
if (err)
xcb_send_event_checked(_ecore_xcb_conn, 1, win,
XCB_EVENT_MASK_POINTER_MOTION, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
err = xcb_request_check(_ecore_xcb_conn, vcookie);
if (err)
xcb_set_input_focus(_ecore_xcb_conn, XCB_INPUT_FOCUS_POINTER_ROOT,
((xcb_screen_t *)_ecore_xcb_screen)->root,
XCB_CURRENT_TIME);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_allow_events(_ecore_xcb_conn, XCB_ALLOW_ASYNC_BOTH, XCB_CURRENT_TIME);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_kill_client(_ecore_xcb_conn, win);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ ecore_idle_enterer_del(_ecore_xcb_idle_enterer);
+ _ecore_xcb_idle_enterer = NULL;
+
if (_ecore_xcb_fd_handler)
ecore_main_fd_handler_del(_ecore_xcb_fd_handler);
_ecore_xcb_event_buffered = NULL;
}
- xcb_flush(conn);
+// xcb_flush(conn);
while ((ev = xcb_poll_for_event(conn)))
{
}
return ECORE_CALLBACK_CANCEL;
}
+
+static Eina_Bool
+_ecore_xcb_idle_enter(void *data __UNUSED__)
+{
+ xcb_flush(_ecore_xcb_conn);
+ return ECORE_CALLBACK_RENEW;
+}
break;
}
xcb_composite_redirect_window(_ecore_xcb_conn, win, update);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
break;
}
xcb_composite_redirect_subwindows(_ecore_xcb_conn, win, update);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
break;
}
xcb_composite_unredirect_window(_ecore_xcb_conn, win, update);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
break;
}
xcb_composite_unredirect_subwindows(_ecore_xcb_conn, win, update);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_COMPOSITE
pmap = xcb_generate_id(_ecore_xcb_conn);
xcb_composite_name_window_pixmap(_ecore_xcb_conn, win, pmap);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return pmap;
#ifdef ECORE_XCB_SHAPE
ecore_x_window_shape_input_rectangle_set(win, -1, -1, 1, 1);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
ecore_x_window_shape_input_rectangle_set(win, 0, 0, 65535, 65535);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
free(reply);
ecore_x_composite_window_events_disable(win);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return win;
#ifdef ECORE_XCB_COMPOSITE
xcb_composite_release_overlay_window(_ecore_xcb_conn, win);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_DAMAGE
damage = xcb_generate_id(_ecore_xcb_conn);
xcb_damage_create(_ecore_xcb_conn, damage, drawable, level);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return damage;
#ifdef ECORE_XCB_DAMAGE
xcb_damage_destroy(_ecore_xcb_conn, damage);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_DAMAGE
xcb_damage_subtract(_ecore_xcb_conn, damage, repair, parts);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
xcb_send_event(_ecore_xcb_conn, 0, _target->source,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI Eina_Bool
xcb_send_event(_ecore_xcb_conn, 0, _source->dest,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_source->state = ECORE_X_DND_SOURCE_DROPPED;
status = EINA_TRUE;
}
xcb_send_event(_ecore_xcb_conn, 0, _source->dest,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_source->state = ECORE_X_DND_SOURCE_IDLE;
}
}
xcb_send_event(_ecore_xcb_conn, 0, _target->source,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_target->state = ECORE_X_DND_TARGET_IDLE;
}
xcb_send_event(_ecore_xcb_conn, 0, _source->dest,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_source->suppress = 0;
}
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_source->await_status = 0;
_source->will_accept = 0;
}
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
_source->await_status = 1;
}
}
rect.height = h;
xcb_poly_fill_rectangle(_ecore_xcb_conn, draw, gc, 1,
(const xcb_rectangle_t *)&rect);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_send_event(_ecore_xcb_conn, 0, root,
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, root,
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
free(reply);
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_EVENT_MASK, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
free(reply);
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_EVENT_MASK, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
unsigned int
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY),
(const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
}
else if ((ev->type == ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN) &&
gc = xcb_generate_id(_ecore_xcb_conn);
xcb_create_gc(_ecore_xcb_conn, gc, drawable, vmask, value_list);
- ecore_x_flush();
+// ecore_x_flush();
return gc;
}
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_free_gc(_ecore_xcb_conn, gc);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
list = foreground;
xcb_change_gc(_ecore_xcb_conn, gc, XCB_GC_FOREGROUND, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
list = background;
xcb_change_gc(_ecore_xcb_conn, gc, XCB_GC_BACKGROUND, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
(XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT),
(const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_STRUCTURE_NOTIFY, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
}
free(im);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI Eina_Bool
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, root,
ECORE_X_ATOM_NET_DESKTOP_NAMES,
ECORE_X_ATOM_UTF8_STRING, 8, len, (const void *)buf);
- ecore_x_flush();
+// ecore_x_flush();
free(buf);
}
xcb_send_event(_ecore_xcb_conn, 0, root,
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, root,
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_send_event(_ecore_xcb_conn, 0, root,
(XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT |
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
pmap = xcb_generate_id(_ecore_xcb_conn);
xcb_create_pixmap(_ecore_xcb_conn, dep, pmap, win, w, h);
- ecore_x_flush();
+// ecore_x_flush();
return pmap;
}
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_free_pixmap(_ecore_xcb_conn, pmap);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_copy_area(_ecore_xcb_conn, pmap, dest, gc, sx, sy, dx, dy, w, h);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
_backlight, XCB_ATOM_INTEGER,
32, XCB_PROP_MODE_REPLACE,
1, (unsigned char *)&n);
- ecore_x_flush(); // needed
+// ecore_x_flush(); // needed
}
free(qreply);
xcb_set_clip_rectangles(_ecore_xcb_conn, XCB_CLIP_ORDERING_YX_BANDED,
gc, 0, 0, num, rects);
- ecore_x_flush();
+// ecore_x_flush();
return EINA_TRUE;
}
xcb_send_event(_ecore_xcb_conn, 0, requestor,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
- ecore_x_flush();
+// ecore_x_flush();
return EINA_TRUE;
}
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ecore_x_client_message32_send(win, 27777, XCB_EVENT_MASK_NO_EVENT,
0x7162534, (0x10000000 + val), win, 0, 0);
- ecore_x_flush();
+// ecore_x_flush();
}
/* public functions */
#ifdef ECORE_XCB_SYNC
xcb_sync_destroy_alarm(_ecore_xcb_conn, alarm);
- ecore_x_flush();
+// ecore_x_flush();
return EINA_TRUE;
#endif
v.lo = by;
xcb_sync_change_counter(_ecore_xcb_conn, counter, v);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
cond.event_threshold = v2;
xcb_sync_await(_ecore_xcb_conn, 1, &cond);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
counter = xcb_generate_id(_ecore_xcb_conn);
xcb_sync_create_counter(_ecore_xcb_conn, counter, v);
- ecore_x_flush();
+// ecore_x_flush();
return counter;
#endif
#ifdef ECORE_XCB_SYNC
xcb_sync_destroy_counter(_ecore_xcb_conn, counter);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
v.lo = val;
xcb_sync_set_counter(_ecore_xcb_conn, counter, v);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
v.lo = val_lo;
xcb_sync_set_counter(_ecore_xcb_conn, counter, v);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
/* (const char *)&ev); */
xcb_destroy_window(_ecore_xcb_conn, win);
- ecore_x_flush();
+// ecore_x_flush();
}
}
xcb_configure_window(_ecore_xcb_conn, win, vmask,
(const uint32_t *)&vlist);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win, mask,
(const uint32_t *)&list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win, mask,
(const uint32_t *)&list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win, mask,
(const uint32_t *)&list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win,
XCB_CONFIG_WINDOW_BORDER_WIDTH, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win,
XCB_CONFIG_WINDOW_STACK_MODE, list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_configure_window(_ecore_xcb_conn, win,
XCB_CONFIG_WINDOW_STACK_MODE, list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
if (win)
{
xcb_map_window(_ecore_xcb_conn, win);
- ecore_x_flush();
+// ecore_x_flush();
}
}
(const char *)&ev);
xcb_unmap_window(_ecore_xcb_conn, win);
- ecore_x_flush();
+// ecore_x_flush();
}
}
xcb_set_input_focus(_ecore_xcb_conn,
XCB_INPUT_FOCUS_PARENT, win, XCB_CURRENT_TIME);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
if (!win) win = ((xcb_screen_t *)_ecore_xcb_screen)->root;
xcb_set_input_focus(_ecore_xcb_conn, XCB_INPUT_FOCUS_PARENT, win, time);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
parent = ((xcb_screen_t *)_ecore_xcb_screen)->root;
xcb_reparent_window(_ecore_xcb_conn, win, parent, x, y);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_BACK_PIXMAP, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_BACK_PIXEL, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_BIT_GRAVITY, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_WIN_GRAVITY, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_OVERRIDE_REDIRECT, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
/**
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_CURSOR, &list);
}
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
list = cursor;
xcb_change_window_attributes(_ecore_xcb_conn, win, XCB_CW_CURSOR, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_EVENT_MASK, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
#ifdef ECORE_XCB_SHAPE
xcb_shape_select_input(_ecore_xcb_conn, win, EINA_TRUE);
#endif
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
xcb_change_window_attributes(_ecore_xcb_conn, win,
XCB_CW_EVENT_MASK, &list);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
#ifdef ECORE_XCB_SHAPE
xcb_shape_select_input(_ecore_xcb_conn, win, EINA_TRUE);
#endif
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_clear_area(_ecore_xcb_conn, 0, win, x, y, w, h);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
LOGFN(__FILE__, __LINE__, __FUNCTION__);
xcb_clear_area(_ecore_xcb_conn, 1, win, x, y, w, h);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI void
#if SIZEOF_INT == SIZEOF_LONG
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom,
ECORE_X_ATOM_CARDINAL, 32, num, (unsigned char *)val);
- ecore_x_flush();
+// ecore_x_flush();
#else
long *v2;
unsigned int i;
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom,
ECORE_X_ATOM_CARDINAL, 32, num, (unsigned char *)v2);
free(v2);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#if SIZEOF_INT == SIZEOF_LONG
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom,
type, 32, num, (unsigned char *)xids);
- ecore_x_flush();
+// ecore_x_flush();
#else
long *v2;
unsigned int i;
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, atom,
type, 32, num, (unsigned char *)v2);
free(v2);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win, type,
ECORE_X_ATOM_UTF8_STRING, 8, strlen(str), str);
- ecore_x_flush();
+// ecore_x_flush();
}
EAPI char *
{
xcb_change_property(_ecore_xcb_conn, XCB_PROP_MODE_REPLACE, win,
property, type, size, num, (unsigned char *)data);
- ecore_x_flush();
+// ecore_x_flush();
}
else
{
property, type, size, num,
(unsigned char *)dat);
free(dat);
- ecore_x_flush();
+// ecore_x_flush();
}
}
}
#ifdef ECORE_XCB_SHAPE
xcb_shape_mask(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_INPUT,
win, 0, 0, mask);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_mask(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_BOUNDING,
win, 0, 0, mask);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_BOUNDING,
XCB_SHAPE_SK_BOUNDING, win, 0, 0, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_BOUNDING,
XCB_SHAPE_SK_BOUNDING, win, x, y, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_SET,
XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
win, 0, 0, num, (xcb_rectangle_t *)rect);
if (rect) free(rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_UNION,
XCB_SHAPE_SK_BOUNDING, XCB_SHAPE_SK_BOUNDING,
win, 0, 0, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_UNION,
XCB_SHAPE_SK_BOUNDING, XCB_SHAPE_SK_BOUNDING,
win, x, y, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_UNION,
XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_SUBTRACT,
XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_INTERSECT,
XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
win, 0, 0, num, (xcb_rectangle_t *)&rect);
if (rect) free(rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_select_input(_ecore_xcb_conn, win, on);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
win, 0, 0, num, (xcb_rectangle_t *)rect);
if (rect) free(rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_SUBTRACT,
XCB_SHAPE_SK_INPUT, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_UNION,
XCB_SHAPE_SK_INPUT, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_SET,
XCB_SHAPE_SK_INPUT, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_INPUT,
XCB_SHAPE_SK_INPUT, win, x, y, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_UNION, XCB_SHAPE_SK_INPUT,
XCB_SHAPE_SK_INPUT, win, x, y, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
#ifdef ECORE_XCB_SHAPE
xcb_shape_combine(_ecore_xcb_conn, XCB_SHAPE_SO_SET, XCB_SHAPE_SK_INPUT,
XCB_SHAPE_SK_INPUT, win, 0, 0, shape_win);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
xcb_shape_rectangles(_ecore_xcb_conn, XCB_SHAPE_SO_INTERSECT,
XCB_SHAPE_SK_INPUT, XCB_CLIP_ORDERING_UNSORTED,
win, 0, 0, 1, &rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
win, 0, 0, num, (xcb_rectangle_t *)&rect);
if (rect) free(rect);
- ecore_x_flush();
+// ecore_x_flush();
#else
return;
win = 0;
region = xcb_generate_id(_ecore_xcb_conn);
xcb_xfixes_create_region(_ecore_xcb_conn, region, num, xrects);
free(xrects);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return region;
#ifdef ECORE_XCB_XFIXES
region = xcb_generate_id(_ecore_xcb_conn);
xcb_xfixes_create_region_from_bitmap(_ecore_xcb_conn, region, bitmap);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return region;
#ifdef ECORE_XCB_XFIXES
region = xcb_generate_id(_ecore_xcb_conn);
xcb_xfixes_create_region_from_window(_ecore_xcb_conn, region, win, type);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return region;
#ifdef ECORE_XCB_XFIXES
region = xcb_generate_id(_ecore_xcb_conn);
xcb_xfixes_create_region_from_gc(_ecore_xcb_conn, region, gc);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return region;
#ifdef ECORE_XCB_XFIXES
region = xcb_generate_id(_ecore_xcb_conn);
xcb_xfixes_create_region_from_picture(_ecore_xcb_conn, region, picture);
- ecore_x_flush();
+// ecore_x_flush();
#endif
return region;
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_destroy_region(_ecore_xcb_conn, region);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
xrects = _ecore_xcb_rect_to_xcb(rects, num);
xcb_xfixes_set_region(_ecore_xcb_conn, region, num, xrects);
free(xrects);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
// NB: Hmmmm...this may need converting to/fro xcb_rectangle_t
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_copy_region(_ecore_xcb_conn, source, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_union_region(_ecore_xcb_conn, source1, source2, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_intersect_region(_ecore_xcb_conn, source1, source2, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_subtract_region(_ecore_xcb_conn, source1, source2, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
xrects.height = bounds->height;
xcb_xfixes_invert_region(_ecore_xcb_conn, source, xrects, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_translate_region(_ecore_xcb_conn, region, dx, dy);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_region_extents(_ecore_xcb_conn, source, dest);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_expand_region(_ecore_xcb_conn, source, dest, left, right, top, bottom);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_set_gc_clip_region(_ecore_xcb_conn, gc, region, x, y);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_set_window_shape_region(_ecore_xcb_conn, dest, type, x, y, region);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}
#ifdef ECORE_XCB_XFIXES
xcb_xfixes_set_picture_clip_region(_ecore_xcb_conn, picture, region, x, y);
- ecore_x_flush();
+// ecore_x_flush();
#endif
}