all repos — tint2 @ 283a7fe2895a790865e484893bbb460db2d6d32c

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

src/taskbar/taskbar.h (raw)

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
32
33
34
35
36
37
38
/**************************************************************************
* Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
*
* taskbar
*
**************************************************************************/

#ifndef TASKBAR_H
#define TASKBAR_H

#include "task.h"


typedef struct {
   // always start with area
   Area area;

   int desktop;

   // task parameters
   int task_width;
   int task_modulo;
   int text_width;
} Taskbar;



void init_taskbar();
void cleanup_taskbar();

Task *task_get_task (Window win);
void task_refresh_tasklist ();

void resize_taskbar(void *obj);


#endif