[vlc-commits] [Git][videolan/vlc][master] qt: fix csd resize and scale with mouse in x11

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Oct 2 18:10:10 UTC 2022



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


More information about the vlc-commits mailing list