all repos — tint2 @ cfd2bde7e440484b9ca3e78b547798989ff1a044

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix segfault when the tooltip has no background in config

git-svn-id: http://tint2.googlecode.com/svn/trunk@639 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
commit

cfd2bde7e440484b9ca3e78b547798989ff1a044

parent

2a7ceb537d0b62bf95e1028cb4c93afe6f8b9882

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/tooltip/tooltip.csrc/tooltip/tooltip.c

@@ -62,6 +62,8 @@ void init_tooltip()

{ if (!g_tooltip.font_desc) g_tooltip.font_desc = pango_font_description_from_string("sans 10"); + if (g_tooltip.bg == 0) + g_tooltip.bg = &g_array_index(backgrounds, Background, 0); XSetWindowAttributes attr; attr.override_redirect = True;