69 if (!m_mouseInterceptionWindow.
isValid()) {
71 const QRect geo(0, 0, s.width(), s.height());
72 const uint32_t mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_EVENT_MASK;
73 const uint32_t values[] = {
75 XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION};
76 m_mouseInterceptionWindow.
reset(Xcb::createInputWindow(geo, mask, values));
81 m_mouseInterceptionWindow.
map();
82 m_mouseInterceptionWindow.
raise();
83 m_x11MouseInterception = std::make_unique<EffectsMouseInterceptionX11Filter>(m_mouseInterceptionWindow,
this);