17 lines
735 B
Diff
17 lines
735 B
Diff
diff --git ui/base/x/x11_util.h ui/base/x/x11_util.h
|
|
index ff12f942b61b7..97d17c3a46309 100644
|
|
--- ui/base/x/x11_util.h
|
|
+++ ui/base/x/x11_util.h
|
|
@@ -245,8 +245,9 @@ x11::Future<void> SendClientMessage(
|
|
x11::Window target,
|
|
x11::Atom type,
|
|
const std::array<uint32_t, 5> data,
|
|
- x11::EventMask event_mask = x11::EventMask::SubstructureNotify |
|
|
- x11::EventMask::SubstructureRedirect);
|
|
+ x11::EventMask event_mask = static_cast<x11::EventMask>(
|
|
+ static_cast<int>(x11::EventMask::SubstructureNotify) |
|
|
+ static_cast<int>(x11::EventMask::SubstructureRedirect)));
|
|
|
|
// Return true if VulkanSurface is supported.
|
|
COMPONENT_EXPORT(UI_BASE_X) bool IsVulkanSurfaceSupported();
|