devilhorns pushed a commit to branch master.

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

commit 6440aa513fb3ef5d72334435d2a5c7b6781a64b4
Author: Chris Michael <[email protected]>
Date:   Thu Aug 28 11:08:36 2014 -0400

    create window pointer based on compositor type
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_win.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 6d3b7fa..5b01230 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -345,12 +345,10 @@ e_win_new(E_Comp *c)
    win->max_aspect = 0.0;
    wins = eina_list_append(wins, win);
 
-   win->pointer = e_pointer_canvas_new(win->ecore_evas, EINA_TRUE);
-
-   /* if (c->comp_type == E_PIXMAP_TYPE_X) */
-   /*   win->pointer = e_pointer_window_new(win->evas_win, EINA_TRUE); */
-   /* else if (c->comp_type == E_PIXMAP_TYPE_WL) */
-   /*   win->pointer = e_pointer_canvas_new(win->ecore_evas, EINA_TRUE); */
+   if (c->comp_type == E_PIXMAP_TYPE_X)
+     win->pointer = e_pointer_window_new(win->evas_win, EINA_TRUE);
+   else if (c->comp_type == E_PIXMAP_TYPE_WL)
+     win->pointer = e_pointer_canvas_new(win->ecore_evas, EINA_TRUE);
 
    return win;
 }

-- 


Reply via email to