summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch')
-rw-r--r--xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch b/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch
new file mode 100644
index 000000000000..895dd58e1b1d
--- /dev/null
+++ b/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch
@@ -0,0 +1,15 @@
+From https://bugzilla.xfce.org/show_bug.cgi?id=11107#c3
+
+diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c
+index 3497804..449500b 100644
+--- a/xfsettingsd/displays.c
++++ b/xfsettingsd/displays.c
+@@ -368,7 +368,7 @@ xfce_displays_helper_reload (XfceDisplaysHelper *helper)
+ xfsettings_dbg (XFSD_DEBUG_DISPLAYS, "Refreshing RandR cache.");
+
+ /* Free the caches */
+- g_ptr_array_unref (helper->outputs);
++ g_ptr_array_free (helper->outputs, TRUE);
+ g_ptr_array_unref (helper->crtcs);
+
+ gdk_error_trap_push ();