You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!try_change(new_primary_device, "Changing primary display to:", "Failed to apply new configuration, because a new primary device could not be set!")) {
247
+
if (!try_change(new_primary_device, "Changing primary display to:\n", "Failed to apply new configuration, because a new primary device could not be set!")) {
248
248
// Error already logged
249
249
returnfalse;
250
250
}
@@ -255,7 +255,7 @@ namespace display_device {
255
255
}
256
256
257
257
if (might_need_to_restore) {
258
-
if (!try_change(cached_primary_device, "Changing primary display back to:", "Failed to restore original primary device!")) {
258
+
if (!try_change(cached_primary_device, "Changing primary display back to:\n", "Failed to restore original primary device!")) {
if (!try_change(new_display_modes, "Changing display modes to:", "Failed to apply new configuration, because new display modes could not be set!")) {
310
+
if (!try_change(new_display_modes, "Changing display modes to:\n", "Failed to apply new configuration, because new display modes could not be set!")) {
311
311
// Error already logged
312
312
returnfalse;
313
313
}
@@ -318,7 +318,7 @@ namespace display_device {
318
318
}
319
319
320
320
if (might_need_to_restore) {
321
-
if (!try_change(cached_display_modes, "Changing display modes back to:", "Failed to restore original display modes!")) {
321
+
if (!try_change(cached_display_modes, "Changing display modes back to:\n", "Failed to restore original display modes!")) {
0 commit comments