aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-18 07:21:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-18 07:21:59 +0000
commitf35d1029f2a6cdcac5e3f5903df5499013976ab0 (patch)
tree6d63bc4dce97b47fd6629af05d93c7caccfc4796 /testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch
parentec6d1886b11963090a7c585518db9d018c982276 (diff)
downloadaports-f35d1029f2a6cdcac5e3f5903df5499013976ab0.tar.bz2
aports-f35d1029f2a6cdcac5e3f5903df5499013976ab0.tar.xz
testing/lightdm-gtk-greeter: new aport
LightDM GTK+ Greeter https://launchpad.net/lightdm-gtk-greeter
Diffstat (limited to 'testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch')
-rw-r--r--testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch b/testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch
new file mode 100644
index 0000000000..1941eddc90
--- /dev/null
+++ b/testing/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch
@@ -0,0 +1,12 @@
+diff -up lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.bg_crash lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c
+--- lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.bg_crash 2014-05-05 13:39:10.833190035 -0500
++++ lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c 2014-05-05 13:41:53.725481558 -0500
+@@ -2060,7 +2060,7 @@ set_background (GdkPixbuf *new_bg)
+ {
+ gdk_screen_get_monitor_geometry (screen, monitor, &monitor_geometry);
+
+- if (bg)
++ if (bg && (monitor_geometry.width > 0) && (monitor_geometry.height > 0))
+ {
+ p_width = gdk_pixbuf_get_width (bg);
+ p_height = gdk_pixbuf_get_height (bg);