Adding support for taskbuttons drag & drop. Also fixing child size check bug.

This commit is contained in:
Sanel Zukan
2014-11-19 12:40:42 +00:00
parent 0d0cc8d8b1
commit 002bd6b2e7
5 changed files with 106 additions and 6 deletions

View File

@@ -29,7 +29,9 @@ private:
/* window ID this button handles */
Window xid;
int wspace;
char old_value; /* for storing value() as it affects boxtype */
bool image_alloc;
bool dragged;
Atom net_wm_icon;
void clear_image(void);
@@ -48,6 +50,8 @@ public:
void set_workspace(int s) { wspace = s; }
int get_workspace(void) { return wspace; }
int handle(int e);
};
#endif