[vlc-commits] [Git][videolan/vlc][master] qt: take care of all wayland platform plugins for window type adjustment

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Dec 24 17:26:01 UTC 2023



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


Commits:
2e1f7897 by Fatih Uzunoglu at 2023-12-24T17:04:16+00:00
qt: take care of all wayland platform plugins for window type adjustment

- - - - -


1 changed file:

- modules/gui/qt/qt.cpp


Changes:

=====================================
modules/gui/qt/qt.cpp
=====================================
@@ -847,7 +847,7 @@ static void *Thread( void *obj )
         const QString& platform = app.platformName();
         if( platform == QLatin1String("xcb") )
             p_intf->voutWindowType = VLC_WINDOW_TYPE_XID;
-        else if( platform == QLatin1String("wayland") || platform == QLatin1String("wayland-egl") ) {
+        else if( platform.startsWith( QLatin1String("wayland") ) ) {
             p_intf->voutWindowType = VLC_WINDOW_TYPE_WAYLAND;
 
             // Workaround for popup widgets not closing on mouse press on wayland:



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2e1f78972e1682bb4404e6825de49c0dbda7c7f4

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2e1f78972e1682bb4404e6825de49c0dbda7c7f4
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