File lxlauncher-0.2.1-fix-segfault.patch of Package lxlauncher

diff --git a/src/working-area.c b/src/working-area.c
--- a/src/working-area.c
+++ b/src/working-area.c
@@ -94,7 +94,10 @@ gf_display_get_workarea(GdkScreen* g_screen, GdkRectangle *rect) {
 	if(!data)
 		return FALSE;
 
-	current = *(guint32 *)data;
+	if (len == 0)
+		current = 0;
+	else
+		current = *(guint32 *)data;
 	XFree(data);
 
 	/* find the _NET_WORKAREA atom */

openSUSE Build Service is sponsored by