i3
include
gaps.h
Go to the documentation of this file.
1
/*
2
* vim:ts=4:sw=4:expandtab
3
*
4
* i3 - an improved dynamic tiling window manager
5
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6
*
7
*/
8
#pragma once
9
10
#include <stdbool.h>
11
#include "
data.h
"
12
16
gaps_t
calculate_effective_gaps
(
Con
*con);
17
18
/*
19
* Decides whether the container should be inset.
20
*/
21
bool
gaps_should_inset_con
(
Con
*con,
int
children);
22
23
/*
24
* Returns whether the given container has an adjacent container in the
25
* specified direction. In other words, this returns true if and only if
26
* the container is not touching the edge of the screen in that direction.
27
*/
28
bool
gaps_has_adjacent_container
(
Con
*con,
direction_t
direction);
29
34
gaps_t
gaps_for_workspace
(
Con
*ws);
35
41
void
gaps_reapply_workspace_assignments
(
void
);
gaps_reapply_workspace_assignments
void gaps_reapply_workspace_assignments(void)
Re-applies all workspace gap assignments to existing workspaces after reloading the configuration fil...
Definition:
gaps.c:160
Con
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition:
data.h:671
gaps_should_inset_con
bool gaps_should_inset_con(Con *con, int children)
Definition:
gaps.c:49
data.h
gaps_t
Definition:
data.h:150
direction_t
direction_t
Definition:
data.h:56
gaps_has_adjacent_container
bool gaps_has_adjacent_container(Con *con, direction_t direction)
Definition:
gaps.c:90
gaps_for_workspace
gaps_t gaps_for_workspace(Con *ws)
Returns the configured gaps for this workspace based on the workspace name, number,...
Definition:
gaps.c:118
calculate_effective_gaps
gaps_t calculate_effective_gaps(Con *con)
Calculates the effective gap sizes for a container.
Definition:
gaps.c:16
Generated by
1.8.20