ee_wayland: clean up warnings

Summary:
Pretty sure these are my fault.
Depends on D6122

Reviewers: zmike, cedric

Reviewed By: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6123
This commit is contained in:
Derek Foreman 2018-05-08 13:26:25 -05:00
parent 684d6a69d6
commit abe295735a
1 changed files with 4 additions and 5 deletions

View File

@ -563,9 +563,9 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
Ecore_Evas *ee;
Ecore_Evas_Engine_Wl_Data *wdata;
Ecore_Wl2_Event_Window_Configure *ev;
int nw = 0, nh = 0, fw, fh, pfw, pfh, sw, sh, contentw, contenth;
int nw = 0, nh = 0, fw, fh, sw, sh, contentw, contenth;
int framew, frameh;
Eina_Bool active, prev_max, prev_full, state_change = EINA_FALSE;
Eina_Bool active, prev_max, prev_full;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
@ -597,14 +597,13 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
evas_output_framespace_get(ee->evas, NULL, NULL, &framew, &frameh);
contentw = wdata->win->set_config.geometry.w - (framew - sw);
contenth = wdata->win->set_config.geometry.h - (frameh - sh);
pfw = fw = wdata->win->set_config.geometry.w - contentw;
pfh = fh = wdata->win->set_config.geometry.h - contenth;
fw = wdata->win->set_config.geometry.w - contentw;
fh = wdata->win->set_config.geometry.h - contenth;
if ((prev_max != ee->prop.maximized) ||
(prev_full != ee->prop.fullscreen) ||
(active != wdata->activated))
{
state_change = EINA_TRUE;
_ecore_evas_wl_common_state_update(ee);
sw = ee->shadow.l + ee->shadow.r;
sh = ee->shadow.t + ee->shadow.b;