Skip to content
Snippets Groups Projects

Code refactoring around saving and restoring window geometry

Merged Gaël Bonithon requested to merge Tamaranch/mousepad:save-geometry-when-closing into master

Depends on !42 (merged).

(The following few lines were my first idea, but the MR has evolved: see comments below.)

I see no good reason to save the window geometry at each change: it is only restored once at startup, and saving it doesn't update any action state or so, like for some other settings.

So I think we could just save the window geometry when closing, symmetrically to its restoration when opening.

Edited by Gaël Bonithon

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading