[client,sdl] print current video driver

This commit is contained in:
akallabeth
2025-06-24 15:43:44 +02:00
parent 2400b745cb
commit a86e3dc53c
2 changed files with 2 additions and 1 deletions

View File

@@ -739,6 +739,8 @@ static int sdl_run(SdlContext* sdl)
}
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS);
auto backend = SDL_GetCurrentVideoDriver();
WLog_Print(sdl->log, WLOG_DEBUG, "client is using backend '%s'", backend);
sdl_dialogs_init();
SDL_SetHint(SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED, "0");

View File

@@ -2432,7 +2432,6 @@ BOOL freerdp_settings_set_monitor_def_array_sorted(rdpSettings* settings,
if (!freerdp_settings_set_pointer_len(settings, FreeRDP_MonitorDefArray, NULL, 0))
return FALSE;
return freerdp_settings_set_uint32(settings, FreeRDP_MonitorCount, 0);
return TRUE;
}
// Find primary or alternatively the monitor at 0/0