diff options
Diffstat (limited to 'lxde-layer')
-rw-r--r-- | lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch | 11 | ||||
-rw-r--r-- | lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch b/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch new file mode 100644 index 0000000..5dcd195 --- /dev/null +++ b/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch @@ -0,0 +1,11 @@ +--- lxterminal-0.1.11/src/lxterminal.c.orig 2013-04-02 12:58:03.985684096 +0200 ++++ lxterminal-0.1.11/src/lxterminal.c 2013-04-02 12:56:58.336136155 +0200 +@@ -1220,7 +1220,7 @@ + if (visual != NULL) + gtk_widget_set_visual(terminal->window, visual); + #else +- GdkColormap *colormap = gdk_screen_get_rgba_colormap(gtk_widget_get_screen(GTK_WIDGET(terminal->window))); ++ GdkColormap *colormap = gdk_colormap_get_system(); + if (colormap != NULL) + gtk_widget_set_colormap(terminal->window, colormap); + #endif diff --git a/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend b/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend new file mode 100644 index 0000000..1cc9cf1 --- /dev/null +++ b/lxde-layer/recipes-lxde/lxterminal/lxterminal_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += " \ + file://fix_garbled_titlebar.patch \ +" |