We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 902d72d commit 2704354Copy full SHA for 2704354
shell/browser/ui/x/window_state_watcher.cc
@@ -55,7 +55,7 @@ void WindowStateWatcher::DidProcessXEvent(x11::Event* x11_event) {
55
}
56
57
bool WindowStateWatcher::IsWindowStateEvent(x11::Event* x11_event) const {
58
- const XEvent& xev = x11_event.xlib_event();
+ XEvent* xev = &x11_event->xlib_event();
59
return (static_cast<x11::Atom>(xev->xproperty.atom) == window_state_atom_ &&
60
xev->type == PropertyNotify && xev->xproperty.window == widget_);
61
0 commit comments