summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-30 12:22:49 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-30 14:11:47 -0500
commit388f8c41c88658ed8d2ae10bcec28a2b0d9a720e (patch)
tree6f6a905a523d2c1f0788a297055864f284c37e6c /src/modules/evas/engines/wayland_egl/evas_engine.c
parentf2756f92e8cb0c8dd3e4861ff4914bdfa626823f (diff)
wayland: Store Ecore_Wl2_Display instead of wl_display in engines
We'll need to call ecore_wl2 functions on it soon, and anything that really needs the wl_display can query it.
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index c640f6c..4455aeb 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -659,7 +659,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
659 if (ob) 659 if (ob)
660 { 660 {
661 ob->info = inf; 661 ob->info = inf;
662 if ((ob->info->info.wl_display != ob->disp) || 662 if ((ob->info->info.wl2_display != ob->wl2_disp) ||
663 (ob->info->info.wl2_win != ob->wl2_win) || 663 (ob->info->info.wl2_win != ob->wl2_win) ||
664 /* FIXME: comment out below line. 664 /* FIXME: comment out below line.
665 * since there is no place set the info->info.win for now, 665 * since there is no place set the info->info.win for now,
@@ -672,7 +672,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
672 Render_Output_Swap_Mode swap_mode = MODE_AUTO; 672 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
673 673
674 gl_wins--; 674 gl_wins--;
675 if (!ob->info->info.wl_display) 675 if (!ob->info->info.wl2_display)
676 { 676 {
677 eng_window_free(ob); 677 eng_window_free(ob);
678 re->generic.software.ob = NULL; 678 re->generic.software.ob = NULL;