Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
3e155ade by Prince Gupta at 2022-10-02T17:58:45+00:00
qt: fix csd resize and scale with mouse in x11

don't let render dummy window eat away mouse events and let it correctly
propagate to the desired location

fixes #27240
fixes erratic CSD resize with x11 compositor

- - - - -


1 changed file:

- modules/gui/qt/maininterface/compositor_x11_renderwindow.cpp


Changes:

=====================================
modules/gui/qt/maininterface/compositor_x11_renderwindow.cpp
=====================================
@@ -335,6 +335,7 @@ 
CompositorX11RenderWindow::CompositorX11RenderWindow(qt_intf_t* p_intf, xcb_conn
 
     m_stable = new DummyNativeWidget(this);
     m_stable->winId();
+    setTransparentForMouseEvent(QX11Info::connection(), m_stable->winId());
 
     setCentralWidget(m_stable);
 



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/3e155ade396f89028c25be568fa16d7e6cf03e59

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/3e155ade396f89028c25be568fa16d7e6cf03e59
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to