[gnome-control-center] display: Fix floating screens and subsequent errors
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Fix floating screens and subsequent errors
- Date: Wed, 17 Jul 2013 13:50:50 +0000 (UTC)
commit 30f590952bd1db73c0d41fdc59af3d37b9a7404f
Author: Thomas Wood <thomas wood intel com>
Date: Wed Jul 17 11:38:13 2013 +0100
display: Fix floating screens and subsequent errors
While a screen is being dragged, use the previous position if no new
snapped position was found.
https://bugzilla.gnome.org/show_bug.cgi?id=704390
panels/display/cc-display-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 1db8f47..ff77e0d 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1829,7 +1829,7 @@ on_output_event (FooScrollArea *area,
g_array_sort (snaps, compare_snaps);
- gnome_rr_output_info_set_geometry (output, new_x, new_y, width, height);
+ gnome_rr_output_info_set_geometry (output, old_x, old_y, width, height);
for (i = 0; i < snaps->len; ++i)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]