From 68bf2029b3100dd6e88876e607f7d444b729ba7a Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 30 Jan 2021 16:38:08 +0100 Subject: [PATCH] Fix type of X11 event mask --- src/wine-host/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index b9443e37..490627c5 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -33,7 +33,7 @@ constexpr size_t idle_timer_id = 1337; * The most significant bit in an X11 event's response type is used to indicate * the event source. */ -constexpr uint16_t event_type_mask = 0b0111'1111; +constexpr uint8_t event_type_mask = 0b0111'1111; /** * The name of the X11 property on the root window used to denote the active