[client,sdl] enable multimon support for display channel
This commit is contained in:
parent
aa2c48840a
commit
eca4017c8b
@ -96,15 +96,12 @@ BOOL sdlDispContext::sendResize()
|
|||||||
if (!settings_changed())
|
if (!settings_changed())
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* TODO: Multimonitor support for wayland
|
if (_sdl->fullscreen && (settings->MonitorCount > 0))
|
||||||
if (sdl->fullscreen && (settings->MonitorCount > 0))
|
|
||||||
{
|
{
|
||||||
if (sdlDisp->sendLayout(settings->MonitorDefArray,
|
if (sendLayout(settings->MonitorDefArray, settings->MonitorCount) != CHANNEL_RC_OK)
|
||||||
settings->MonitorCount) != CHANNEL_RC_OK)
|
return FALSE;
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
_waitingResize = TRUE;
|
_waitingResize = TRUE;
|
||||||
layout.Flags = DISPLAY_CONTROL_MONITOR_PRIMARY;
|
layout.Flags = DISPLAY_CONTROL_MONITOR_PRIMARY;
|
||||||
|
Loading…
Reference in New Issue
Block a user