[gnome-control-center/wip/benzea/display-settings-widget: 20/30] display: Redraw arrangement widget after monitor selection change
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/benzea/display-settings-widget: 20/30] display: Redraw arrangement widget after monitor selection change
- Date: Tue, 22 Jan 2019 23:17:51 +0000 (UTC)
commit d27fa5a23169a7fb23f4db0e12c2a12f69d4b65a
Author: Benjamin Berg <bberg redhat com>
Date: Sat Jan 19 23:33:43 2019 +0100
display: Redraw arrangement widget after monitor selection change
panels/display/cc-display-arrangement.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/panels/display/cc-display-arrangement.c b/panels/display/cc-display-arrangement.c
index dc30c7205..8c8c2691d 100644
--- a/panels/display/cc-display-arrangement.c
+++ b/panels/display/cc-display-arrangement.c
@@ -930,6 +930,8 @@ cc_display_arrangement_set_selected_output (CcDisplayArrangement *self,
/* XXX: Could check that it actually belongs to the right config object. */
self->selected_output = output;
+ gtk_widget_queue_draw (GTK_WIDGET (self));
+
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_SELECTED_OUTPUT]);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]