all repos — tint2 @ 9933399dc41277aed9443e6ca1a1a3b202f763b8

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

systray: Withdraw window before reparenting
o9000 o9000
commit

9933399dc41277aed9443e6ca1a1a3b202f763b8

parent

5ce8023ef7e2cfa606eba11417ab499aa470e332

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

jump to
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -634,6 +634,7 @@ error = FALSE;

old = XSetErrorHandler(window_error_handler); if (systray_profile) fprintf(stderr, "XReparentWindow(server.dsp, traywin->win, traywin->parent, 0, 0)\n"); + XWithdrawWindow(server.dsp, traywin->win, server.screen); XReparentWindow(server.dsp, traywin->win, traywin->parent, 0, 0); if (systray_profile) fprintf(stderr, "XMoveResizeWindow(server.dsp, traywin->win = %ld, 0, 0, traywin->width = %d, traywin->height = %d)\n", traywin->win, traywin->width, traywin->height);