re-fix wrong parameter for xcb

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2022-05-08 16:42:55 +08:00
parent 053d6b104e
commit c853cc63c6
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ static inline void
xev.event_x = localPos.x(); xev.event_x = localPos.x();
xev.event_y = localPos.y(); xev.event_y = localPos.y();
xev.same_screen = true; xev.same_screen = true;
xcb_send_event(connection, false, rootWindow, _NET_WM_SENDEVENT_MASK, xcb_send_event(connection, false, rootWindow, XCB_EVENT_MASK_STRUCTURE_NOTIFY,
reinterpret_cast<const char *>(&xev)); reinterpret_cast<const char *>(&xev));
xcb_flush(connection); xcb_flush(connection);
} }