A way to programmatically re-order the window buttons/tasklist
Is there a way to programmatically re-order the window buttons/tasklist? And if not can there be one?
I would like Xfce to automatically start some programs I often start on login, and to order the window buttons in a way I prefer.
To reorder them correctly, I would like to be notified when a new window button appears, with it's WnckWindow
(so I can get the window's title text and it's process id). Then I want to tell Xfce where this new window button should be placed at in the tasklist. I believe xfce_tasklist_button_compare()
performs this task, so I'd like an option to override this.