devilhorns pushed a commit to branch master.
commit 9bdda19eaf1306db4a435748c2233b8a466cff22
Author: Chris Michael <[email protected]>
Date: Thu Aug 29 08:46:23 2013 +0100
Remove calls to saved input & opaque region of window.
We don't record these regions anymore. They were removed from the
window structure.
Signed-off-by: Chris Michael <[email protected]>
---
src/lib/ecore_wayland/ecore_wl_window.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c
b/src/lib/ecore_wayland/ecore_wl_window.c
index 54ab599..fe373cb 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -107,11 +107,6 @@ ecore_wl_window_free(Ecore_Wl_Window *win)
if (win->anim_callback) wl_callback_destroy(win->anim_callback);
win->anim_callback = NULL;
- if (win->region.input) wl_region_destroy(win->region.input);
- win->region.input = NULL;
- if (win->region.opaque) wl_region_destroy(win->region.opaque);
- win->region.opaque = NULL;
-
if (win->shell_surface) wl_shell_surface_destroy(win->shell_surface);
win->shell_surface = NULL;
if (win->surface) wl_surface_destroy(win->surface);
@@ -636,10 +631,6 @@ _ecore_wl_window_cb_configure(void *data, struct
wl_shell_surface *shell_surface
{
if (win->type == ECORE_WL_WINDOW_TYPE_TOPLEVEL)
win->edges = edges;
- if (win->region.input) wl_region_destroy(win->region.input);
- win->region.input = NULL;
- if (win->region.opaque) wl_region_destroy(win->region.opaque);
- win->region.opaque = NULL;
_ecore_wl_window_configure_send(win, w, h);
}
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk