summaryrefslogtreecommitdiff
path: root/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-01-25 15:14:08 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-04-07 12:08:53 +0200
commite04e355523a00c5d6b2872b2398144f54b667381 (patch)
treec8e35b14bc594700c030787448a6b10fd5f89d52 /lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch
parentbcf16669f988d0453e2092ca597bbf976898dd69 (diff)
lxterminal: address garbled title bar with gtk+3
The old fix was no longer working after the update to gtk+3. Add a similar fix for gtk+3 as the one we used with gtk+2. While at it do it in a two step process, only if the original call does return with 'NULL' use a less specific gdk call. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch')
-rw-r--r--lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch11
1 files changed, 0 insertions, 11 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
deleted file mode 100644
index 5dcd195..0000000
--- a/lxde-layer/recipes-lxde/lxterminal/files/fix_garbled_titlebar.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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