devilhorns pushed a commit to branch master.

commit 20c6fb53e1cf8fa171ae4ffe0c9d6b113e3fe788
Author: Chris Michael <[email protected]>
Date:   Tue Apr 16 11:41:34 2013 +0100

    Call surface configure with proper geometry.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 1ab8c4c..f3d8a0e 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1262,6 +1262,7 @@ _e_comp_wl_surface_cb_attach(struct wl_client *client 
EINA_UNUSED, struct wl_res
    ews->pending.x = x;
    ews->pending.y = y;
    ews->pending.buffer = buffer;
+//   if (buffer)
    ews->pending.new_buffer = EINA_TRUE;
 
    /* if we were given a buffer, initialize the destroy signal */
@@ -1421,6 +1422,7 @@ _e_comp_wl_surface_cb_commit(struct wl_client *client 
EINA_UNUSED, struct wl_res
 
    /* if we have a new pending buffer, call configure */
    if ((ews->configure) && (ews->pending.new_buffer))
+//     ews->configure(ews, ews->pending.x, ews->pending.y, bw, bh);
      ews->configure(ews, ews->geometry.x, ews->geometry.y, bw, bh);
 
    if (ews->pending.buffer)

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to