We are currently deploying GitLab EE 10.4.0-rc6. For status updates, please follow https://twitter.com/GitLabStatus

Commit 5450dcca by o9000

Attempt to fix new window title race in fvwm

parent d2ee0a48
......@@ -50,6 +50,9 @@ Task *add_task (Window win)
if (!win) return 0;
if (window_is_hidden(win)) return 0;
XSelectInput(server.dsp, win, PropertyChangeMask|StructureNotifyMask);
int monitor;
if (nb_panel > 1) {
monitor = window_get_monitor (win);
......@@ -75,8 +78,7 @@ Task *add_task (Window win)
//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;
......@@ -727,6 +727,7 @@ void event_property_notify (XEvent *e)
else {
tsk = task_get_task (win);
//printf("change win = %u, task = %p\n", win, tsk);
if (!tsk) {
if (at != server.atom._NET_WM_STATE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment