Only accept drops on the desk area, not the whole pager.
authorsebastid <sebastid>
Sun, 15 May 2005 23:31:32 +0000 (23:31 +0000)
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 15 May 2005 23:31:32 +0000 (23:31 +0000)
SVN revision: 14793

src/modules/pager/e_mod_main.c

index 751c579..cd693e8 100644 (file)
@@ -735,7 +735,10 @@ _pager_face_cb_gmc_change(void *data, E_Gadman_Client *gmc, E_Gadman_Change chan
    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: