Commit 75bf1b8c authored by Benjamin Berg's avatar Benjamin Berg Committed by Georges Basile Stavracas Neto

display: Update apply button when switching output in "single" mode

While the configuration was updated, the apply button was not synced.
This meant users could not switch the active monitor properly.

Fixes #405
parent 5aa17c69
......@@ -635,6 +635,8 @@ set_current_output (CcDisplayPanel *panel,
cc_display_monitor_set_active (output, TRUE);
if (panel->current_output)
cc_display_monitor_set_active (panel->current_output, FALSE);
update_apply_button (panel);
panel->current_output = output;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment