jmibanez / fsp-h-jmi

My hacks on top of the hacked version of fsp-h

This URL has Read+Write access

fsp-h-jmi / fspanel.h
100644 31 lines (28 sloc) 0.49 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
typedef struct task
{
struct task *next;
Window win;
Pixmap icon;
Pixmap mask;
char *name;
int pos_x;
int width;
// unsigned long desktop; // me
unsigned int focused:1;
unsigned int iconified:1;
// unsigned int shaded:1; // me
unsigned int icon_copied:1;
unsigned int demands_attention:1; // me
unsigned int idx; // jmi
}
task;
 
typedef struct taskbar
{
Window win;
task *task_list;
int num_tasks;
int my_desktop;
unsigned int hidden:1;
unsigned int at_top:1;
}
taskbar;