forked from enlightenment/efl
Ecore_X(cb): Revert caching of visual (breaks borders on terminals for
some odd reason). SVN revision: 62598
This commit is contained in:
parent
838d1e2337
commit
52a9f334bd
|
@ -1622,7 +1622,7 @@ _ecore_xcb_window_argb_internal_new(Ecore_X_Window parent, int x, int y, int w,
|
|||
#ifdef ECORE_XCB_RENDER
|
||||
uint32_t value_list[10];
|
||||
uint32_t value_mask;
|
||||
static uint32_t vis = -1;
|
||||
uint32_t vis;
|
||||
Ecore_X_Colormap colormap;
|
||||
#endif
|
||||
|
||||
|
@ -1632,12 +1632,8 @@ _ecore_xcb_window_argb_internal_new(Ecore_X_Window parent, int x, int y, int w,
|
|||
if (parent == 0)
|
||||
parent = ((xcb_screen_t *)_ecore_xcb_screen)->root;
|
||||
|
||||
if (vis < 0)
|
||||
{
|
||||
vis =
|
||||
_ecore_xcb_render_find_visual_id(XCB_RENDER_PICT_TYPE_DIRECT,
|
||||
EINA_TRUE);
|
||||
}
|
||||
vis =
|
||||
_ecore_xcb_render_find_visual_id(XCB_RENDER_PICT_TYPE_DIRECT, EINA_TRUE);
|
||||
|
||||
colormap = xcb_generate_id(_ecore_xcb_conn);
|
||||
xcb_create_colormap(_ecore_xcb_conn, XCB_COLORMAP_ALLOC_NONE,
|
||||
|
|
Loading…
Reference in New Issue