SVN revision: 17320
This commit is contained in:
sebastid 2005-10-08 13:51:58 +00:00 committed by sebastid
parent c025996fac
commit 1f2de469f1
2 changed files with 5 additions and 6 deletions

View File

@ -414,10 +414,9 @@ _ecore_x_dnd_drag(int x, int y)
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;

View File

@ -1082,8 +1082,8 @@ _ecore_x_event_handle_selection_request(XEvent *xevent)
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)