Package: wmbubble Version: 1.46-2.1 Severity: normal
the attached patch seems to fix the issue Regards, Tommaso -- System Information: Debian Release: 6.0 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages wmbubble depends on: ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio ii libx11-6 2:1.3.3-4 X11 client-side library wmbubble recommends no packages. Versions of packages wmbubble suggests: ii sox 14.3.1-1 Swiss army knife of sound processi ii xterm [x-terminal-emulator] 261-1 X terminal emulator -- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run ## 11-gtk2-fix.dpatch by <tomm...@parisi.pisa.iol.it> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix bugs @DPATCH@ --- wmbubble-1.46~/bubblemon.c 2011-03-16 09:35:40.000000000 +0100 +++ wmbubble-1.46/bubblemon.c 2011-03-16 09:43:41.000000000 +0100 @@ -281,6 +281,7 @@ int main(int argc, char **argv) { + setenv("GDK_NATIVE_WINDOWS", "1", 0); char execute[256]; int proximity = 0; int ch; @@ -581,7 +582,7 @@ attri.colormap = gdk_colormap_get_system(); attri.wmclass_name = NAME; attri.wmclass_class = NAME; - attri.window_type = GDK_WINDOW_TOPLEVEL; + attri.window_type = GDK_WINDOW_CHILD; bm.iconwin = gdk_window_new(bm.win, &attri, GDK_WA_TITLE | GDK_WA_WMCLASS); @@ -599,7 +600,6 @@ wmhints.window_group = win; wmhints.flags = StateHint | IconWindowHint | IconPositionHint | WindowGroupHint; - XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); bm.gc = gdk_gc_new(bm.win); @@ -616,6 +616,7 @@ /* makes the dockapp visible inside KDE wm */ gdk_window_show(bm.iconwin); #endif + XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints); /* We begin with zero bubbles */ bm.n_bubbles = 0;