window: consistently use normal keyboard modifiers for tiling
A bad rebase in commit43e5f17547
inadvertedly reverted half of the fix from1f1c54ca6c
. As a result, custom tiling would appear broken again for keyboard layouts where caps lock is achieved by pressing both shift keys at the same time. Reapply the half of the fix that went missing.
This commit is contained in:
parent
862dae455a
commit
ae376766ef
1 changed files with 1 additions and 1 deletions
|
@ -1413,7 +1413,7 @@ void Window::updateInteractiveMoveResize(const QPointF &global)
|
|||
}
|
||||
|
||||
if (!isRequestedFullScreen()) {
|
||||
if (input()->modifiersRelevantForGlobalShortcuts() & Qt::ShiftModifier) {
|
||||
if (input()->keyboardModifiers() & Qt::ShiftModifier) {
|
||||
resetQuickTilingMaximizationZones();
|
||||
const auto &r = quickTileGeometry(QuickTileFlag::Custom, global);
|
||||
if (r.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue