cvsimport
[fvwm.git] / modules / FvwmIdent / FvwmIdent.h
blob6ac5bc6fa20e6da6c250e5aabaf61c85447b21e0
1 /* -*-c-*- */
2 #include "libs/fvwmlib.h"
3 #include "fvwm/fvwm.h"
4 #include "libs/vpacket.h"
6 struct target_struct
8 char res[256];
9 char class[256];
10 char name[256];
11 char icon_name[256];
12 unsigned long id;
13 unsigned long frame;
14 long frame_x;
15 long frame_y;
16 long frame_w;
17 long frame_h;
18 long base_w;
19 long base_h;
20 long width_inc;
21 long height_inc;
22 long desktop;
23 long layer;
24 unsigned long gravity;
25 window_flags flags;
26 long title_h;
27 long border_w;
28 unsigned title_dir;
29 long ewmh_hint_layer;
30 unsigned long ewmh_hint_desktop;
31 long ewmh_window_type;
34 struct Item
36 char* col1;
37 char* col2;
38 struct Item* next;
43 * Subroutine Prototypes
46 void Loop(int *fd);
47 RETSIGTYPE DeadPipe(int nonsense) __attribute__((noreturn));
48 void process_message(unsigned long type, unsigned long *body);
49 void PixmapDrawWindow(int h, int w);
50 void DrawItems(Drawable d, int x, int y, int w, int h);
51 void change_window_name(char *str);
52 Pixel GetColor(char *name);
53 void DestroyList(void);
54 void AddToList(char *, char *);
55 void MakeList(void);
57 void change_defaults(char *body);
58 void list_configure(unsigned long *body);
59 void list_window_name(unsigned long *body);
60 void list_icon_name(unsigned long *body);
61 void list_class(unsigned long *body);
62 void list_res_name(unsigned long *body);
63 void list_property_change(unsigned long *body);
64 void list_end(void);
66 static int ErrorHandler(Display *d, XErrorEvent *event);