forked from github_mirror/framelesshelper
re-fix wrong parameter for xcb
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
053d6b104e
commit
c853cc63c6
|
@ -270,7 +270,7 @@ static inline void
|
|||
xev.event_x = localPos.x();
|
||||
xev.event_y = localPos.y();
|
||||
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));
|
||||
xcb_flush(connection);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue