fix: setContentProtection(true) after hide on Windows (#45868)

fix: content protection after hide on Windows

5789117
This commit is contained in:
Shelley Vohr 2025-03-04 22:39:59 +01:00 committed by GitHub
parent 8c11764800
commit 99c943df23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 11 deletions

View file

@ -116,6 +116,7 @@ class NativeWindowViews : public NativeWindow,
double GetOpacity() const override;
void SetIgnoreMouseEvents(bool ignore, bool forward) override;
void SetContentProtection(bool enable) override;
bool IsContentProtected() const override;
void SetFocusable(bool focusable) override;
bool IsFocusable() const override;
void SetMenu(ElectronMenuModel* menu_model) override;