parent
c025996fac
commit
1f2de469f1
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue