Skip to content

Commit 2704354

Browse files
committed
fixup! chore: XEvent becomes x11::Event
1 parent 902d72d commit 2704354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/browser/ui/x/window_state_watcher.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void WindowStateWatcher::DidProcessXEvent(x11::Event* x11_event) {
5555
}
5656

5757
bool WindowStateWatcher::IsWindowStateEvent(x11::Event* x11_event) const {
58-
const XEvent& xev = x11_event.xlib_event();
58+
XEvent* xev = &x11_event->xlib_event();
5959
return (static_cast<x11::Atom>(xev->xproperty.atom) == window_state_atom_ &&
6060
xev->type == PropertyNotify && xev->xproperty.window == widget_);
6161
}

0 commit comments

Comments
 (0)