tasklist natural_width will be expanded by other windows
Submitted by Leslie Zhai
Link to original bug (#751423)
Description
Created attachment 305983 tasklist-set-width.patch
Hi libwnck developers,
WnckTasklist is often used in desktop environment development, such as the taskbar in the panel.
But the official testcase test-tasklist.c https://git.gnome.org/browse/libwnck/tree/libwnck/test-tasklist.c the toplevel window will be expanded by other windows such as systray https://github.com/qtproject/qtbase/tree/dev/examples/widgets/desktop/systray
So I simply add wnck_tasklist_set_width function to change the natural_width when there is a custom width, please pay some attention to my patch, thanks a lot!
Regards, Leslie Zhai
Patch 305983, "tasklist-set-width.patch":
tasklist-set-width.patch