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
@ -491,10 +491,10 @@ handle_end_element (GMarkupParseContext *context,
|
|||||||
if (logical_monitor_config->scale == 0)
|
if (logical_monitor_config->scale == 0)
|
||||||
logical_monitor_config->scale = 1;
|
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;
|
return;
|
||||||
|
|
||||||
if (!derive_logical_monitor_layout (logical_monitor_config, error))
|
if (!meta_verify_logical_monitor_config (logical_monitor_config, error))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
parser->current_logical_monitor_configs =
|
parser->current_logical_monitor_configs =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user