Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/engines/x11


Modified Files:
        ewl_engine_x11.c 


Log Message:
- fix copy/paste error

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ewl_engine_x11.c    12 Feb 2007 13:16:04 -0000      1.42
+++ ewl_engine_x11.c    18 Feb 2007 01:18:03 -0000      1.43
@@ -42,6 +42,7 @@
 static Ecore_Event_Handler *ee_dnd_leave_handler = NULL;
 static Ecore_Event_Handler *ee_dnd_drop_handler = NULL;
 static Ecore_Event_Handler *ee_selection_notify_handler = NULL;
+static Ecore_Event_Handler *ee_selection_request_handler = NULL;
 static Ecore_Event_Handler *ee_mouse_down_handler = NULL;
 static Ecore_Event_Handler *ee_mouse_up_handler = NULL;
 static Ecore_Event_Handler *ee_mouse_move_handler = NULL;
@@ -233,7 +234,7 @@
        /*
         * Selection callbacks to allow for pasting.
         */
-       ee_selection_notify_handler = ecore_event_handler_add(
+       ee_selection_request_handler = ecore_event_handler_add(
                                                ECORE_X_EVENT_SELECTION_REQUEST,
                                                ewl_ev_x_data_request, NULL);
 
@@ -267,7 +268,8 @@
                        || !ee_key_down_handler || !ee_key_up_handler 
                        || !ee_dnd_position_handler || !ee_dnd_enter_handler
                        || !ee_dnd_leave_handler || !ee_dnd_drop_handler
-                       || !ee_selection_notify_handler || 
!ee_mouse_down_handler
+                       || !ee_selection_notify_handler || 
!ee_selection_request_handler
+                       || !ee_mouse_down_handler
                        || !ee_mouse_up_handler || !ee_mouse_move_handler
                        || !ee_mouse_wheel_handler || !ee_mouse_out_handler
                        || !ee_focus_in_handler || !ee_focus_out_handler)
@@ -334,6 +336,10 @@
        if (ee_selection_notify_handler)
                ecore_event_handler_del(ee_selection_notify_handler);
        ee_selection_notify_handler = NULL;
+
+       if (ee_selection_request_handler)
+               ecore_event_handler_del(ee_selection_request_handler);
+       ee_selection_request_handler = NULL;
 
        if (ee_mouse_down_handler)
                ecore_event_handler_del(ee_mouse_down_handler);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to