discomfitor pushed a commit to branch master.

commit 1ff1b2156313f09d6b76ad413117499a34ba361a
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Apr 22 09:50:52 2013 +0100

    check for border when adding comp wins without border object; temporary 
until e19
---
 src/bin/e_comp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 8b946a3..0dcff5f 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2106,6 +2106,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border 
*bd)
    cw->real_hid = 1;
    cw->opacity = 255.0;
    if (conf->grab) ecore_x_grab();
+   if (!bd) bd = e_border_find_by_window(win);
    if (bd)
      {
         _e_comp_win_bd_setup(cw, bd);

-- 

------------------------------------------------------------------------------
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