Skip to content
Snippets Groups Projects
Commit 2d5954de authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qt: x11 compositor enable Qt mouse tracking

parent 406ba5dd
No related branches found
No related tags found
Loading
Pipeline #153274 passed with stage
in 13 minutes and 36 seconds
......@@ -331,6 +331,7 @@ CompositorX11RenderWindow::CompositorX11RenderWindow(qt_intf_t* p_intf, xcb_conn
m_rootWidget->setAttribute(Qt::WA_OpaquePaintEvent);
m_rootWidget->setAttribute(Qt::WA_NoSystemBackground);
m_rootWidget->setAttribute(Qt::WA_TranslucentBackground);
m_rootWidget->setAttribute(Qt::WA_MouseTracking);
if (useCDS)
m_rootWidget->setWindowFlag(Qt::FramelessWindowHint);
......
......@@ -29,6 +29,7 @@ DummyNativeWidget::DummyNativeWidget(QWidget* parent, Qt::WindowFlags f)
setAttribute(Qt::WA_NativeWindow, true);
setAttribute(Qt::WA_OpaquePaintEvent, true);
setAttribute(Qt::WA_PaintOnScreen, true);
setAttribute(Qt::WA_MouseTracking, true);
}
DummyNativeWidget::~DummyNativeWidget()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment