howm
howm
workspace_t Struct Reference

#include <types.h>

Data Fields

int layout
 
unsigned int client_cnt
 
uint16_t gap
 
float master_ratio
 
uint16_t bar_height
 
client_thead
 
client_tprev_foc
 
client_tc
 
workspace_tnext
 
workspace_tprev
 
unsigned int last_layout
 

Field Documentation

uint16_t workspace_t::bar_height

The height of the space left for a bar. Stored here so it can be toggled per ws.

client_t* workspace_t::c

The client that is currently in focus.

unsigned int workspace_t::client_cnt

The amount of clients on this workspace.

uint16_t workspace_t::gap

The size of the useless gap between windows for this workspace.

client_t* workspace_t::head

The start of the linked list.

unsigned int workspace_t::last_layout

The last layout used.

int workspace_t::layout

The current layout of the WS, as defined in the layout enum.

float workspace_t::master_ratio

The ratio of the size of the master window compared to the screen's size.

workspace_t* workspace_t::next

The next workspace in the linked list.

workspace_t* workspace_t::prev

The prev workspace in the linked list.

client_t* workspace_t::prev_foc

The last focused client. This is seperate to the linked list structure.


The documentation for this struct was generated from the following file: