all repos — tint2 @ b7dbb919a9b1b5aa0e94a8657e5b9431eea196bb

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

Merge branch 'title-race'
o9000 o9000
commit

b7dbb919a9b1b5aa0e94a8657e5b9431eea196bb

parent

a08491c122981590f1d5fa2108953d6a86915b10

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M src/taskbar/task.csrc/taskbar/task.c

@@ -50,6 +50,9 @@ {

if (!win) return 0; if (window_is_hidden(win)) return 0; + XSelectInput(server.dsp, win, PropertyChangeMask|StructureNotifyMask); + XFlush(server.dsp); + int monitor; if (nb_panel > 1) { monitor = window_get_monitor (win);

@@ -75,8 +78,7 @@ }

get_title(&new_tsk); get_icon(&new_tsk); - //printf("task %s : desktop %d, monitor %d\n", new_tsk->title, desktop, monitor); - XSelectInput (server.dsp, new_tsk.win, PropertyChangeMask|StructureNotifyMask); + //printf("new task %s win %u: desktop %d, monitor %d\n", new_tsk.title, win, new_tsk.desktop, monitor); GPtrArray* task_group = g_ptr_array_new(); Taskbar *tskbar;
M src/tint.csrc/tint.c

@@ -727,6 +727,7 @@ }

} else { tsk = task_get_task (win); + //printf("change win = %u, task = %p\n", win, tsk); if (!tsk) { if (at != server.atom._NET_WM_STATE) return;