[client,sdl] enable multimon support for display channel

This commit is contained in:
Armin Novak 2023-07-31 08:54:07 +02:00 committed by akallabeth
parent aa2c48840a
commit eca4017c8b
1 changed files with 3 additions and 6 deletions

View File

@ -96,15 +96,12 @@ BOOL sdlDispContext::sendResize()
if (!settings_changed())
return TRUE;
/* TODO: Multimonitor support for wayland
if (sdl->fullscreen && (settings->MonitorCount > 0))
if (_sdl->fullscreen && (settings->MonitorCount > 0))
{
if (sdlDisp->sendLayout(settings->MonitorDefArray,
settings->MonitorCount) != CHANNEL_RC_OK)
return FALSE;
if (sendLayout(settings->MonitorDefArray, settings->MonitorCount) != CHANNEL_RC_OK)
return FALSE;
}
else
*/
{
_waitingResize = TRUE;
layout.Flags = DISPLAY_CONTROL_MONITOR_PRIMARY;