You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-plugins/bubblemon/files/bubblemon-1.46-no_display.p...

34 lines
724 B

http://bugs.gentoo.org/310399
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -44,7 +44,7 @@
*/
#define _GNU_SOURCE
-#define VERSION "1.41"
+#define VERSION "1.46"
/* general includes */
#include <stdio.h>
@@ -276,6 +276,8 @@
int main(int argc, char **argv)
{
+ /* This is needed to proper dockapp work on >=GTK+-2.18 */
+ setenv("GDK_NATIVE_WINDOWS", "1", 0);
char execute[256];
int proximity = 0;
int ch;
@@ -607,10 +609,7 @@
gdk_window_show(bm.win);
XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
-#ifdef KDE_DOCKAPP
- /* makes the dockapp visible inside KDE wm */
gdk_window_show(bm.iconwin);
-#endif
/* We begin with zero bubbles */
bm.n_bubbles = 0;