summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-09-30 13:02:54 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit8df60cef9e7e7394bdda7ea777a8df11032157db (patch)
tree38046e98bdc8f5746d09215e0e548763b42855dc
parenta0848910138e3b45db23875ee8603e9e34c6673d (diff)
ecore-wl2: Check if a window is transparent or alpha when setting
opaque region Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 6b9a2ec73e..c69ea564e4 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -591,7 +591,7 @@ ecore_wl2_window_opaque_region_set(Ecore_Wl2_Window *window, int x, int y, int w
591 window->opaque.w = w; 591 window->opaque.w = w;
592 window->opaque.h = h; 592 window->opaque.h = h;
593 593
594 /* TODO: transparent or alpha check ? */ 594 if ((window->transparent) || (window->alpha)) return;
595 595
596 region = wl_compositor_create_region(window->display->wl.compositor); 596 region = wl_compositor_create_region(window->display->wl.compositor);
597 if (!region) 597 if (!region)