Fix /monitor-list flag being ignored on X11/Wayland
This commit is contained in:
parent
06219e4ecb
commit
bf9bce2c3e
@ -651,10 +651,12 @@ int main(int argc, char* argv[])
|
||||
status = freerdp_client_settings_parse_command_line(settings, argc, argv, FALSE);
|
||||
if (status)
|
||||
{
|
||||
BOOL list = settings->ListMonitors;
|
||||
BOOL list;
|
||||
|
||||
rc = freerdp_client_settings_command_line_status_print(settings, status, argc, argv);
|
||||
|
||||
list = settings->ListMonitors;
|
||||
|
||||
if (list)
|
||||
wlf_list_monitors(wlc);
|
||||
|
||||
|
@ -59,10 +59,12 @@ int main(int argc, char* argv[])
|
||||
status = freerdp_client_settings_parse_command_line(context->settings, argc, argv, FALSE);
|
||||
if (status)
|
||||
{
|
||||
BOOL list = settings->ListMonitors;
|
||||
BOOL list;
|
||||
|
||||
rc = freerdp_client_settings_command_line_status_print(settings, status, argc, argv);
|
||||
|
||||
list = settings->ListMonitors;
|
||||
|
||||
if (list)
|
||||
xf_list_monitors(xfc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user