forked from enlightenment/enlightenment
fix unused variables if building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
986c700ddb
commit
688c5303f6
|
@ -311,7 +311,6 @@ EAPI Eina_Bool
|
|||
e_pixmap_refresh(E_Pixmap *cp)
|
||||
{
|
||||
Eina_Bool success = EINA_FALSE;
|
||||
int pw, ph;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(cp, EINA_FALSE);
|
||||
if (!cp->usable)
|
||||
|
@ -326,6 +325,7 @@ e_pixmap_refresh(E_Pixmap *cp)
|
|||
#ifndef HAVE_WAYLAND_ONLY
|
||||
{
|
||||
uint32_t pixmap;
|
||||
int pw, ph;
|
||||
|
||||
pixmap = ecore_x_composite_name_window_pixmap_get(cp->parent ?: cp->win);
|
||||
if (cp->client)
|
||||
|
|
Loading…
Reference in New Issue