Skip to content

Commit

Permalink
fix lock behavior #19
Browse files Browse the repository at this point in the history
  • Loading branch information
Noobsai committed Mar 29, 2024
1 parent 25c6fae commit b2a3c2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,11 @@ export default class FullscreenAvoider extends Extension {
this.create_notifications_constraint(LM.primaryMonitor);
this.patch_updateState();
this.patch_getDraggableWindowForPosition();
this.fullscreen_changed();
}

disable() {
this.move_all(LM.primaryMonitor);
Display.disconnect(this._on_fullscreen);
MT._updateState = this._original_updateState;
Main.panel._getDraggableWindowForPosition = this._original_getDraggableWindowForPosition;
Expand Down

0 comments on commit b2a3c2f

Please sign in to comment.