1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
FireTray/testing/xtypes.c
foudfou 0acd053155 unsuccessful attempt to detect minimize event (XGetWindowProperty)
at this stage:
- we need to take the virtyal workspace into account
- JS console disappeared
2011-12-11 04:46:15 +01:00

17 lines
504 B
C

#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xmd.h>
int main(int argc, char **argv) {
printf("sizeof(char)=%d\n",sizeof(char));
printf("sizeof(int)=%d\n",sizeof(int));
printf("sizeof(long)=%d\n",sizeof(long));
printf("sizeof(unsigned_long)=%d\n",sizeof(unsigned long));
printf("sizeof(CARD32)=%d\n",sizeof(CARD32));
printf("sizeof(Atom)=%d\n",sizeof(Atom)); /* supposed to be CARD32 */
printf("sizeof(Window)=%d\n",sizeof(Window));
return(EXIT_SUCCESS);
}