fix: maximize/unmaximize firing on linux (#32441)

This commit is contained in:
Shelley Vohr 2022-01-17 08:46:52 +01:00 committed by GitHub
parent 6e6f5efad9
commit 2a8d49a059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -35,6 +35,9 @@ class WindowStateWatcher : public x11::EventObserver {
const x11::Atom net_wm_state_maximized_vert_atom_;
const x11::Atom net_wm_state_maximized_horz_atom_;
const x11::Atom net_wm_state_fullscreen_atom_;
bool was_minimized_ = false;
bool was_maximized_ = false;
};
} // namespace electron