discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d9b9497a007471e047727172cea875a4f2359d71

commit d9b9497a007471e047727172cea875a4f2359d71
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 29 14:50:47 2014 -0400

    systray should now update comp_x client pixmap size since it's handling 
window resizes
---
 src/modules/systray/e_mod_xembed.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/systray/e_mod_xembed.c 
b/src/modules/systray/e_mod_xembed.c
index 8db7ef8..43ec67a 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -8,6 +8,7 @@
  *
  * @todo: implement messages/popup part of the spec (anyone using this at all?)
  */
+#define E_COMP_X
 #include "e_mod_main.h"
 
 #define RETRY_TIMEOUT                     2.0
@@ -97,6 +98,8 @@ _xembed_win_resize(Instance_Xembed *xembed)
                             &last_y, NULL, NULL);
 
    //because we always prepend xembed icons
+   xembed->ec->comp_data->pw = (first_x+first_w) - last_x;
+   xembed->ec->comp_data->ph = (first_y+first_h) - last_y;
    ecore_x_window_move_resize(xembed->win.base, last_x, last_y,
                               (first_x+first_w) - last_x,
                               (first_y+first_h) - last_y);

-- 


Reply via email to