diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-26 13:45:02 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-26 13:45:02 +0100 |
commit | 9335b83a32d45e0447cea5ec10d0333a6552393c (patch) | |
tree | c05be5c3321d5f16acbdf38101147704333ede49 /platform/linuxbsd | |
parent | 198d0b6bc68e11b2a77629557808792b13e09b09 (diff) | |
parent | 773994020265b0bbaec16b81514a4e474b47e7d2 (diff) | |
download | redot-engine-9335b83a32d45e0447cea5ec10d0333a6552393c.tar.gz |
Merge pull request #87831 from Riteo/bitfield-xor
Core: Implement a XOR operator for BitField
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r-- | platform/linuxbsd/wayland/wayland_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/wayland/wayland_thread.cpp b/platform/linuxbsd/wayland/wayland_thread.cpp index 4057587db7..7f9008e952 100644 --- a/platform/linuxbsd/wayland/wayland_thread.cpp +++ b/platform/linuxbsd/wayland/wayland_thread.cpp @@ -1563,7 +1563,7 @@ void WaylandThread::_wl_pointer_on_frame(void *data, struct wl_pointer *wl_point } if (old_pd.pressed_button_mask != pd.pressed_button_mask) { - BitField<MouseButtonMask> pressed_mask_delta = BitField<MouseButtonMask>((uint32_t)old_pd.pressed_button_mask ^ (uint32_t)pd.pressed_button_mask); + BitField<MouseButtonMask> pressed_mask_delta = old_pd.pressed_button_mask ^ pd.pressed_button_mask; const MouseButton buttons_to_test[] = { MouseButton::LEFT, |