bubblemon-1.46-no_display.patch 720 B

12345678910111213141516171819202122232425262728293031323334
  1. http://bugs.gentoo.org/310399
  2. --- bubblemon.c
  3. +++ bubblemon.c
  4. @@ -44,7 +44,7 @@
  5. */
  6. #define _GNU_SOURCE
  7. -#define VERSION "1.41"
  8. +#define VERSION "1.46"
  9. /* general includes */
  10. #include <stdio.h>
  11. @@ -276,6 +276,8 @@
  12. int main(int argc, char **argv)
  13. {
  14. + /* This is needed to proper dockapp work on >=GTK+-2.18 */
  15. + setenv("GDK_NATIVE_WINDOWS", "1", 0);
  16. char execute[256];
  17. int proximity = 0;
  18. int ch;
  19. @@ -607,10 +609,7 @@
  20. gdk_window_show(bm.win);
  21. XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
  22. -#ifdef KDE_DOCKAPP
  23. - /* makes the dockapp visible inside KDE wm */
  24. gdk_window_show(bm.iconwin);
  25. -#endif
  26. /* We begin with zero bubbles */
  27. bm.n_bubbles = 0;