511
if (wallCheckDestination (s, x, y))
511
if (otherScreenGrabExist (s, "move", "switcher", "group-drag", "wall", 0))
514
if (!wallCheckDestination (s, x, y))
517
if (ws->moveWindow != moveWindow)
513
if (ws->moveWindow != moveWindow)
521
wallReleaseMoveWindow (s);
522
w = findWindowAtScreen (s, moveWindow);
517
wallReleaseMoveWindow (s);
518
w = findWindowAtScreen (s, moveWindow);
521
if (!(w->type & (CompWindowTypeDesktopMask |
522
CompWindowTypeDockMask)))
525
if (!(w->type & (CompWindowTypeDesktopMask |
526
CompWindowTypeDockMask)))
528
if (!(w->state & CompWindowStateStickyMask))
524
if (!(w->state & CompWindowStateStickyMask))
526
ws->moveWindow = w->id;
527
ws->moveWindowX = w->attrib.x;
528
ws->moveWindowY = w->attrib.y;
530
ws->moveWindow = w->id;
531
ws->moveWindowX = w->attrib.x;
532
ws->moveWindowY = w->attrib.y;
540
ws->gotoX = s->x - x;
541
ws->gotoY = s->y - y;
544
ws->grabIndex = pushScreenGrab (s, s->invisibleCursor, "wall");
546
moveScreenViewport (s, x, y, TRUE);
549
ws->boxOutputDevice = outputDeviceForPoint (s, pointerX, pointerY);
554
if (wallGetShowSwitcher (s->display))
555
ws->boxTimeout = wallGetPreviewTimeout (s->display) * 1000;
559
if (otherScreenGrabExist (s, "move", "scale", "switcher",
560
"group-drag", "wall", 0))
566
ws->timer = wallGetSlideDuration (s->display) * 1000;
544
ws->gotoX = s->x - x;
545
ws->gotoY = s->y - y;
548
ws->grabIndex = pushScreenGrab (s, s->invisibleCursor, "wall");
550
moveScreenViewport (s, x, y, TRUE);
553
ws->boxOutputDevice = outputDeviceForPoint (s, pointerX, pointerY);
555
if (wallGetShowSwitcher (s->display))
556
ws->boxTimeout = wallGetPreviewTimeout (s->display) * 1000;
560
ws->timer = wallGetSlideDuration (s->display) * 1000;
569
562
damageScreen (s);
709
702
wallCheckAmount (s, dx, dy, &amountX, &amountY);
710
wallMoveViewport (s, amountX, amountY, win);
703
if (!wallMoveViewport (s, amountX, amountY, win))
712
706
if (state & CompActionStateInitKey)
713
707
action->state |= CompActionStateTermKey;