summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_shm/evas_shm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-14 17:07:31 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-18 14:27:31 -0500
commite3b9fbaed8e5e5f3730d3a8aa406873f8df60744 (patch)
treef241826d5e6388a86ca41ba3e5392cdb886da689 /src/modules/evas/engines/wayland_shm/evas_shm.c
parentccc4ffc80d0ca401dd58fc4fc573ab110f5cbd8e (diff)
wayland: Put Ecore_Wl2_Win instead of wl_surface into the engines
We'll need to track some state in a common way, so attaching it to the window seems like a good idea.
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 28feb3fdbd..df08f90dfa 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -596,7 +596,7 @@ _evas_shm_surface_create(Surface *s, int w, int h, int num_buff)
596 surf->h = h; 596 surf->h = h;
597 surf->disp = s->info->info.wl_display; 597 surf->disp = s->info->info.wl_display;
598 surf->shm = s->info->info.wl_shm; 598 surf->shm = s->info->info.wl_shm;
599 surf->surface = s->info->info.wl_surface; 599 surf->surface = ecore_wl2_window_surface_get(s->info->info.wl2_win);
600 surf->num_buff = num_buff; 600 surf->num_buff = num_buff;
601 surf->alpha = s->info->info.destination_alpha; 601 surf->alpha = s->info->info.destination_alpha;
602 surf->compositor_version = s->info->info.compositor_version; 602 surf->compositor_version = s->info->info.compositor_version;