585
ws->focusDefault = false;
587
CompRegion screenRegion;
589
foreach (const CompOutput &o, screen->outputDevs ())
590
screenRegion += o.workArea ();
592
CompPoint d = compiz::wall::movementWindowOnScreen (window->serverBorderRect (),
595
mask |= d.x () !=0 ? CWX : 0;
596
mask |= d.y () !=0 ? CWY : 0;
598
xwc.x = window->serverGeometry ().x () + d.x ();
599
xwc.y = window->serverGeometry ().y () + d.y ();
601
window->configureXWindow (mask, &xwc);
585
if (ws->optionGetAutoSwitchVpAndWindow ())
587
ws->focusDefault = false;
589
CompRegion screenRegion;
591
foreach (const CompOutput &o, screen->outputDevs ())
592
screenRegion += o.workArea ();
594
CompPoint d = compiz::wall::movementWindowOnScreen (window->serverBorderRect (),
597
mask |= d.x () !=0 ? CWX : 0;
598
mask |= d.y () !=0 ? CWY : 0;
600
xwc.x = window->serverGeometry ().x () + d.x ();
601
xwc.y = window->serverGeometry ().y () + d.y ();
603
window->configureXWindow (mask, &xwc);