chore: bump chromium to a264339194bfa02f5ecb3b8cba449 (master) (#27111)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
1cd72425aa
commit
adf0a73543
86 changed files with 503 additions and 460 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "ui/base/x/x11_util.h"
|
||||
#include "ui/gfx/x/x11_atom_cache.h"
|
||||
#include "ui/gfx/x/xproto_util.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
@ -29,9 +30,9 @@ void WindowStateWatcher::OnEvent(const x11::Event& x11_event) {
|
|||
|
||||
std::vector<x11::Atom> wm_states;
|
||||
|
||||
if (ui::GetAtomArrayProperty(
|
||||
if (GetArrayProperty(
|
||||
static_cast<x11::Window>(window_->GetAcceleratedWidget()),
|
||||
"_NET_WM_STATE", &wm_states)) {
|
||||
x11::GetAtom("_NET_WM_STATE"), &wm_states)) {
|
||||
auto props =
|
||||
base::flat_set<x11::Atom>(std::begin(wm_states), std::end(wm_states));
|
||||
bool is_minimized =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue