if (output != ev->output) return ECORE_CALLBACK_PASS_ON;
changed = _ecore_evas_wl_common_rotate_update(ee);
- evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
if (!ee->manual_render && changed)
- _ecore_evas_wl_common_render(ee);
+ {
+ evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
+ _ecore_evas_wl_common_render(ee);
+ }
return ECORE_CALLBACK_PASS_ON;
}
if (!ee) return ECORE_CALLBACK_PASS_ON;
changed = _ecore_evas_wl_common_rotate_update(ee);
- evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
if (!ee->manual_render && changed)
- _ecore_evas_wl_common_render(ee);
+ {
+ evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
+ _ecore_evas_wl_common_render(ee);
+ }
return ECORE_CALLBACK_PASS_ON;
}