]> Dogcows Code - chaz/tint2/blobdiff - src/util/common.h
fixed decorated window with compiz
[chaz/tint2] / src / util / common.h
index 313a3b71528792a03ffbc1ee01da4f5eed94f55f..09a95a83eb539754fe5e7f20fc41e4d6536c29f2 100644 (file)
 // taskbar table : convert 2 dimension in 1 dimension
 #define index(i, j) ((i * panel.nb_monitor) + j)
 
+/*
+void fxfree(void** ptr){
+  if(*ptr){
+    free(*ptr);
+    *ptr=NULL;
+    }
+  }
+FXint fxmalloc(void** ptr,unsigned long size){
+  *ptr=NULL;
+  if(size!=0){
+    if((*ptr=malloc(size))==NULL) return FALSE;
+    }
+  return TRUE;
+  }
+*/
+
 // mouse actions
 enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY };
 
This page took 0.025046 seconds and 4 git commands to generate.