Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


Modified Files:
        e_mod_main.c 


Log Message:
Only accept drops on the desk area, not the whole pager.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- e_mod_main.c        15 May 2005 22:16:00 -0000      1.92
+++ e_mod_main.c        15 May 2005 23:31:32 -0000      1.93
@@ -735,7 +735,10 @@
    face->fy = y;
    face->fw = w;
    face->fh = h;
-   e_drop_handler_geometry_set(face->drop_handler, x, y, w, h);
+   e_drop_handler_geometry_set(face->drop_handler,
+                              face->fx + face->inset.l, face->fy + 
face->inset.t,
+                              face->fw - (face->inset.l + face->inset.r),
+                              face->fh - (face->inset.t + face->inset.b));
    switch (change)
      {
       case E_GADMAN_CHANGE_MOVE_RESIZE:




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to