RANDR - Don't realign outputs if the current output didn't change resolutions
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
parent
bba301ff9c
commit
8fc5964b82
1 changed files with 3 additions and 0 deletions
|
@ -786,6 +786,9 @@ realign_outputs_after_resolution_change (App *app, GnomeOutputInfo *output_that_
|
|||
|
||||
g_assert (app->current_configuration != NULL);
|
||||
|
||||
if (output_that_changed->width == old_width && output_that_changed->height == old_height)
|
||||
return;
|
||||
|
||||
old_right_edge = output_that_changed->x + old_width;
|
||||
old_bottom_edge = output_that_changed->y + old_height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue