Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_dnd.c ecore_x_events.c 


Log Message:
Cleanup.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_dnd.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ecore_x_dnd.c       8 Oct 2005 12:40:14 -0000       1.23
+++ ecore_x_dnd.c       8 Oct 2005 13:51:58 -0000       1.24
@@ -414,10 +414,9 @@
        y1 = _source->rectangle.y;
        y2 = _source->rectangle.y + _source->rectangle.height;
 
-       if (!(_source->await_status)
-           || !(_source->suppress)
-           || ((x < x1) || (x > x2)
-               || (y < y1) || (y > y2)))
+       if ((!_source->await_status) ||
+           (!_source->suppress) ||
+           ((x < x1) || (x > x2) || (y < y1) || (y > y2)))
          {
             xev.xclient.window = win;
             xev.xclient.message_type = ECORE_X_ATOM_XDND_POSITION;
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- ecore_x_events.c    30 Sep 2005 06:16:49 -0000      1.75
+++ ecore_x_events.c    8 Oct 2005 13:51:58 -0000       1.76
@@ -1082,8 +1082,8 @@
    xnotify.send_event = True;
    xnotify.serial = 0;
 
-   if ((sd = _ecore_x_selection_get(xnotify.selection)) 
-       && (sd->win == xevent->xselectionrequest.owner))
+   if ((sd = _ecore_x_selection_get(xnotify.selection)) &&
+       (sd->win == xevent->xselectionrequest.owner))
      {
        if (!_ecore_x_selection_convert(xnotify.selection, xnotify.target,
                                        &data) == -1)




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to