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

SVN revision: 14793
This commit is contained in:
sebastid 2005-05-15 23:31:32 +00:00 committed by sebastid
parent 418d943044
commit 3180eb9d56
1 changed files with 4 additions and 1 deletions

View 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: