Prevent focused panel to move everything

wilder/Plasma/6.2
Jacopo De Simoi 1 year ago
parent 4819a46532
commit e23e8d94d2
  1. 3
      src/placement.cpp

@ -1007,7 +1007,8 @@ void Workspace::slotEnsureClientVisible( KWin::Window* activatedClient )
{ {
// This also should be made screen-aware // This also should be made screen-aware
if ((!activatedClient) || if ((!activatedClient) ||
activatedClient->isDesktop()) //small optimization activatedClient->isDesktop() ||
activatedClient->isDock())
return; return;
auto activatedOutput = activatedClient->output(); auto activatedOutput = activatedClient->output();
QRect screenGeo = activatedClient->output()->geometry(); QRect screenGeo = activatedClient->output()->geometry();

Loading…
Cancel
Save