Changeset View
Changeset View
Standalone View
Standalone View
effects/slidingpopups/slidingpopups.cpp
Show First 20 Lines • Show All 339 Lines • ▼ Show 20 Line(s) | 338 | case East: | |||
---|---|---|---|---|---|
340 | break; | 340 | break; | ||
341 | case South: | 341 | case South: | ||
342 | default: | 342 | default: | ||
343 | mWindowsData[w].start = qMax(screenRect.bottom() - windowGeo.bottom(), 0); | 343 | mWindowsData[w].start = qMax(screenRect.bottom() - windowGeo.bottom(), 0); | ||
344 | break; | 344 | break; | ||
345 | } | 345 | } | ||
346 | } | 346 | } | ||
347 | // sanitize | 347 | // sanitize | ||
348 | int difference = 0; | | |||
349 | switch (mWindowsData[w].from) { | 348 | switch (mWindowsData[w].from) { | ||
350 | case West: | 349 | case West: | ||
351 | mWindowsData[w].start = qMax(windowGeo.left() - screenRect.left(), mWindowsData[w].start); | 350 | mWindowsData[w].start = qMax(windowGeo.left() - screenRect.left(), mWindowsData[w].start); | ||
352 | break; | 351 | break; | ||
353 | case North: | 352 | case North: | ||
354 | mWindowsData[w].start = qMax(windowGeo.top() - screenRect.top(), mWindowsData[w].start); | 353 | mWindowsData[w].start = qMax(windowGeo.top() - screenRect.top(), mWindowsData[w].start); | ||
355 | break; | 354 | break; | ||
356 | case East: | 355 | case East: | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |