Adding debian version 0.4.1-1 (FIXME).
[debian/lxdm.git] / debian / patches / 20_disable_resize_grip.patch
1 Index: lxdm-0.4.0/src/greeter.c
2 ===================================================================
3 --- lxdm-0.4.0.orig/src/greeter.c       2011-06-11 06:30:26.000000000 +0200
4 +++ lxdm-0.4.0/src/greeter.c    2011-07-24 18:03:14.000000000 +0200
5 @@ -998,9 +998,13 @@
6      builder = gtk_builder_new();
7      gtk_builder_add_from_file(builder, ui_file ? ui_file : LXDM_DATA_DIR "/lxdm.glade", NULL);
8      win = (GtkWidget*)gtk_builder_get_object(builder, "lxdm");
9 -#if GTK_CHECK_VERSION(3,0,0)
10 +
11 +    /*
12 +    Remove resize grip in Ubuntu 11.04 which break background painting
13 +    see https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/703658
14 +    */
15      gtk_window_set_has_resize_grip(GTK_WINDOW(win),FALSE);
16 -#endif
17 +
18      gtk_widget_realize(win);
19  #if GTK_CHECK_VERSION(3,0,0)
20         window=gtk_widget_get_window(win);