diff --git a/src/effects/presentwindows/presentwindows.cpp b/src/effects/presentwindows/presentwindows.cpp index 563c2bf205..ce6bc6566b 100644 --- a/src/effects/presentwindows/presentwindows.cpp +++ b/src/effects/presentwindows/presentwindows.cpp @@ -1863,7 +1863,7 @@ EffectWindow* PresentWindowsEffect::relativeWindow(EffectWindow *w, int xdiff, i // TODO: Is it possible to select hidden windows? EffectWindow* next; - QRect area = effects->clientArea(FullArea, 0, effects->currentDesktop()); + QRect area = effects->virtualScreenGeometry(); QRect detectRect; // Detect across the width of the desktop