diff --git a/Linphone/tool/native/DesktopToolsWindows.cpp b/Linphone/tool/native/DesktopToolsWindows.cpp index 1dba3181d..112b838da 100644 --- a/Linphone/tool/native/DesktopToolsWindows.cpp +++ b/Linphone/tool/native/DesktopToolsWindows.cpp @@ -19,14 +19,12 @@ */ #include "DesktopToolsWindows.hpp" +#include "config.h" #include #include #include -#include #include -#include -#include // ============================================================================= DesktopTools::DesktopTools(QObject *parent) : QObject(parent) { @@ -97,6 +95,7 @@ QList DesktopTools::getWindows() { QImage DesktopTools::getWindowIcon(void *window) { #ifdef ENABLE_SCREENSHARING + HICON icon = (HICON)GetClassLongPtr((HWND)window, GCL_HICON); #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QPixmap pixmap = QtWin::fromHICON(icon); return pixmap.toImage(); diff --git a/external/linphone-sdk b/external/linphone-sdk index 276fe62d3..5cc5fe45f 160000 --- a/external/linphone-sdk +++ b/external/linphone-sdk @@ -1 +1 @@ -Subproject commit 276fe62d3ae49771dd5316a18a0c77d552ed9e80 +Subproject commit 5cc5fe45f1f255224a0ae416dc19b64a7c43139c