Skip to content

Commit

Permalink
Properly disable head lock when moving windows
Browse files Browse the repository at this point in the history
  • Loading branch information
svillar committed Jan 16, 2025
1 parent 48023bd commit d9e6eda
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1811,12 +1811,13 @@ public void finishWidgetMove() {

@Override
public void startWindowMove() {
queueRunnable(() -> setLockEnabledNative(WidgetManagerDelegate.CONTROLLER_LOCK));
SettingsStore.getInstance(this).setHeadLockEnabled(false);
setLockMode(WidgetManagerDelegate.CONTROLLER_LOCK);
}

@Override
public void finishWindowMove() {
queueRunnable(() -> setLockEnabledNative(WidgetManagerDelegate.NO_LOCK));
setLockMode(WidgetManagerDelegate.NO_LOCK);
}

@Override
Expand Down

0 comments on commit d9e6eda

Please sign in to comment.