diff options
author | 2015-09-13 19:53:59 +0800 | |
---|---|---|
committer | 2015-09-13 19:54:29 +0800 | |
commit | 096e2a949ecadd5a4fdf3731249431c57414fbcb (patch) | |
tree | 1e43d8a7f21e2d56d21a88de1525bb4823f495b0 /xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch | |
parent | app-office/geierlein: bump to 0.7.8, fix #560094 (diff) | |
download | gentoo-096e2a949ecadd5a4fdf3731249431c57414fbcb.tar.gz gentoo-096e2a949ecadd5a4fdf3731249431c57414fbcb.tar.bz2 gentoo-096e2a949ecadd5a4fdf3731249431c57414fbcb.zip |
xfce-base/xfce4-settings: fix HDMI power cycling bug
Thanks to Micke Eriksson for testing
Gentoo-Bug: https://bugs.gentoo.org/553896
Package-Manager: portage-2.2.20.1
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.patch | 15 |
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 (); |