monitor-config-store: Finish logical monitor before verifying
If we verify the logical monitor before completing it (calculating the size), we can't check what the result of the completion. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
b464004bb3
commit
1892a6b0c4
1 changed files with 2 additions and 2 deletions
|
@ -491,10 +491,10 @@ handle_end_element (GMarkupParseContext *context,
|
|||
if (logical_monitor_config->scale == 0)
|
||||
logical_monitor_config->scale = 1;
|
||||
|
||||
if (!meta_verify_logical_monitor_config (logical_monitor_config, error))
|
||||
if (!derive_logical_monitor_layout (logical_monitor_config, error))
|
||||
return;
|
||||
|
||||
if (!derive_logical_monitor_layout (logical_monitor_config, error))
|
||||
if (!meta_verify_logical_monitor_config (logical_monitor_config, error))
|
||||
return;
|
||||
|
||||
parser->current_logical_monitor_configs =
|
||||
|
|
Loading…
Add table
Reference in a new issue