all repos — tint2 @ 6c57698291c58a22f9606afc903bc9b94eb4b549

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

src/systray/systraybar.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
/**************************************************************************
* Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
*
* systraybar
*
**************************************************************************/

#ifndef SYSTRAYBAR_H
#define SYSTRAYBAR_H

#include "area.h"


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

} Systraybar;


typedef struct
{
  Window id;
  int x, y;
} TrayWindow;


void init_systray(Systraybar *sysbar, Area *parent);

// return 1 if task_width changed
int resize_systray (Systraybar *sysbar);



#endif