howm
howm
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
types.h
Go to the documentation of this file.
1
#ifndef TYPES_H
2
#define TYPES_H
3
4
#include <stdbool.h>
5
#include <stdint.h>
6
#include <xcb/randr.h>
7
#include <xcb/xproto.h>
8
24
typedef
struct
client_t
client_t
;
25
struct
client_t
{
26
client_t
*
next
;
28
bool
is_fullscreen
;
29
bool
is_floating
;
30
bool
is_transient
;
32
bool
is_urgent
;
33
xcb_window_t
win
;
34
xcb_rectangle_t
rect
;
35
uint16_t
gap
;
37
};
38
47
typedef
struct
workspace_t
workspace_t
;
48
struct
workspace_t
{
49
int
layout
;
51
unsigned
int
client_cnt
;
52
uint16_t
gap
;
53
float
master_ratio
;
55
uint16_t
bar_height
;
57
client_t
*
head
;
58
client_t
*
prev_foc
;
60
client_t
*
c
;
61
workspace_t
*
next
;
62
workspace_t
*
prev
;
63
unsigned
int
last_layout
;
64
};
65
72
typedef
struct
monitor_t
monitor_t
;
73
struct
monitor_t
{
74
unsigned
int
workspace_cnt
;
75
workspace_t
*
ws
;
76
workspace_t
*
ws_head
;
77
workspace_t
*
ws_tail
;
78
workspace_t
*
last_ws
;
79
monitor_t
*
next
;
80
monitor_t
*
prev
;
81
xcb_rectangle_t
rect
;
82
xcb_randr_output_t
output
;
83
};
84
85
typedef
struct
{
86
monitor_t
*
mon
;
87
workspace_t
*
ws
;
88
client_t
*
c
;
89
}
location_t
;
90
91
#endif
monitor_t::output
xcb_randr_output_t output
Definition:
types.h:82
client_t::gap
uint16_t gap
Definition:
types.h:35
monitor_t::rect
xcb_rectangle_t rect
Definition:
types.h:81
workspace_t::master_ratio
float master_ratio
Definition:
types.h:53
workspace_t::next
workspace_t * next
Definition:
types.h:61
client_t::is_urgent
bool is_urgent
Definition:
types.h:32
workspace_t::prev_foc
client_t * prev_foc
Definition:
types.h:58
client_t::next
client_t * next
Definition:
types.h:26
client_t::rect
xcb_rectangle_t rect
Definition:
types.h:34
location_t::ws
workspace_t * ws
Definition:
types.h:87
location_t
Definition:
types.h:85
monitor_t::ws
workspace_t * ws
Definition:
types.h:75
monitor_t::ws_tail
workspace_t * ws_tail
Definition:
types.h:77
workspace_t
Definition:
types.h:48
client_t
Definition:
types.h:25
client_t::is_fullscreen
bool is_fullscreen
Definition:
types.h:28
workspace_t::head
client_t * head
Definition:
types.h:57
location_t::c
client_t * c
Definition:
types.h:88
workspace_t::bar_height
uint16_t bar_height
Definition:
types.h:55
workspace_t::last_layout
unsigned int last_layout
Definition:
types.h:63
workspace_t::prev
workspace_t * prev
Definition:
types.h:62
monitor_t::prev
monitor_t * prev
Definition:
types.h:80
client_t::win
xcb_window_t win
Definition:
types.h:33
monitor_t::next
monitor_t * next
Definition:
types.h:79
monitor_t::workspace_cnt
unsigned int workspace_cnt
Definition:
types.h:74
workspace_t::layout
int layout
Definition:
types.h:49
workspace_t::c
client_t * c
Definition:
types.h:60
client_t::is_transient
bool is_transient
Definition:
types.h:30
monitor_t::last_ws
workspace_t * last_ws
Definition:
types.h:78
client_t::is_floating
bool is_floating
Definition:
types.h:29
monitor_t::ws_head
workspace_t * ws_head
Definition:
types.h:76
monitor_t
Definition:
types.h:73
location_t::mon
monitor_t * mon
Definition:
types.h:86
workspace_t::gap
uint16_t gap
Definition:
types.h:52
workspace_t::client_cnt
unsigned int client_cnt
Definition:
types.h:51
src
types.h
Generated on Thu Mar 31 2016 20:44:00 for howm by
1.8.11