From 348974089c6f5f441deda9cec028210b5a298d50 Mon Sep 17 00:00:00 2001 From: Rye Date: Thu, 23 Oct 2025 05:47:55 -0400 Subject: Restore linux CEF build support including changes from archive/develop Fix various files missing linden_common Signed-off-by: Rye --- indra/llplugin/llpluginclassmedia.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'indra/llplugin/llpluginclassmedia.cpp') diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 77a4b08af5..68c8854a12 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -1015,6 +1015,15 @@ void LLPluginClassMedia::enableMediaPluginDebugging( bool enable ) sendMessage( message ); } +#if LL_LINUX +void LLPluginClassMedia::enablePipeWireVolumeCatcher( bool enable ) +{ + LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "enable_pipewire_volume_catcher"); + message.setValueBoolean( "enable", enable ); + sendMessage( message ); +} +#endif + void LLPluginClassMedia::setTarget(const std::string &target) { mTarget = target; -- cgit v1.3 From 9661b4ec49ebcb29faf55da71480dffbe17e7295 Mon Sep 17 00:00:00 2001 From: Rye Date: Tue, 28 Oct 2025 08:14:17 -0400 Subject: Fix cef scaling on linux hidpi displays Signed-off-by: Rye --- indra/llplugin/llpluginclassmedia.cpp | 4 ++-- indra/newview/app_settings/settings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/llplugin/llpluginclassmedia.cpp') diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 68c8854a12..803574f9fa 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -34,7 +34,7 @@ #include "llcontrol.h" extern LLControlGroup gSavedSettings; -#if LL_DARWIN +#if LL_DARWIN || LL_LINUX extern bool gHiDPISupport; #endif @@ -372,7 +372,7 @@ void LLPluginClassMedia::setSizeInternal(void) mRequestedMediaHeight = nextPowerOf2(mRequestedMediaHeight); } -#if LL_DARWIN +#if LL_DARWIN || LL_LINUX if (!gHiDPISupport) #endif { diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 05e3e7aaa2..875f4442a3 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -7476,7 +7476,7 @@ RenderHiDPI Comment - Enable support for HiDPI displays, like Retina (macOS ONLY, requires restart) + Enable support for HiDPI displays, like Retina (macOS and Linux ONLY, requires restart) Persist 1 Type -- cgit v1.3