X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fcommon.h;h=f97ed7191bdbb86a36b9472ece9918a8f17329a5;hb=b68d4db999a5912c2fc7f29aef8ab75e2f742706;hp=09a95a83eb539754fe5e7f20fc41e4d6536c29f2;hpb=2930680396e47d66f7690e7ff92d5bcccbbf996c;p=chaz%2Ftint2 diff --git a/src/util/common.h b/src/util/common.h index 09a95a8..f97ed71 100644 --- a/src/util/common.h +++ b/src/util/common.h @@ -1,6 +1,6 @@ /************************************************************************** * Common declarations -* +* **************************************************************************/ #ifndef COMMON_H @@ -11,9 +11,6 @@ #include "area.h" -// taskbar table : convert 2 dimension in 1 dimension -#define index(i, j) ((i * panel.nb_monitor) + j) - /* void fxfree(void** ptr){ if(*ptr){ @@ -33,6 +30,7 @@ FXint fxmalloc(void** ptr,unsigned long size){ // mouse actions enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY }; +#define ALLDESKTOP 0xFFFFFFFF typedef struct config_border