Better handling on workspace change and setting sticky tag for window. Implemented #217: all windows in taskbar, no matter which desktop was used.

This commit is contained in:
Sanel Zukan
2013-01-04 13:05:42 +00:00
parent 7431373b29
commit d09f846380
4 changed files with 57 additions and 15 deletions

View File

@ -103,7 +103,9 @@ static void maximize_cb(Fl_Widget*, void *b) {
redraw_whole_panel(bb);
}
TaskButton::TaskButton(int X, int Y, int W, int H, const char *l) : Fl_Button(X, Y, W, H, l), xid(0), image_alloc(false) {
TaskButton::TaskButton(int X, int Y, int W, int H, const char *l) : Fl_Button(X, Y, W, H, l),
xid(0), wspace(0), image_alloc(false), net_wm_icon(0)
{
box(FL_UP_BOX);
align(FL_ALIGN_INSIDE | FL_ALIGN_LEFT | FL_ALIGN_CLIP);