fix: maximize/unmaximize firing on linux (#32441)
This commit is contained in:
parent
6e6f5efad9
commit
2a8d49a059
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue