howm
howm
|
All of howm's layouts (as well as layout handler) are implemented here. More...
#include <stddef.h>
#include <stdint.h>
#include "client.h"
#include "helper.h"
#include "howm.h"
#include "layout.h"
#include "types.h"
#include "xcb_help.h"
Functions | |
static void | stack (monitor_t *m) |
Arrange the windows in a stack, whether that be horizontal or vertical is decided by the current_layout. More... | |
static void | grid (monitor_t *m) |
Arrange the windows into a grid layout. More... | |
static void | zoom (monitor_t *m) |
Have one window at a time taking up the entire screen. More... | |
void | arrange_windows (monitor_t *m) |
Call the appropriate layout handler for each layout. More... | |
void | change_layout (monitor_t *m, const int layout) |
Change the layout of the current workspace. More... | |
void | prev_layout (monitor_t *m) |
Change to the previous layout. More... | |
void | next_layout (monitor_t *m) |
Change to the next layout. More... | |
void | last_layout (monitor_t *m) |
Change to the last used layout. More... | |
Variables | |
static void(* | layout_handler [])(monitor_t *m) |
All of howm's layouts (as well as layout handler) are implemented here.
void arrange_windows | ( | monitor_t * | m | ) |
Call the appropriate layout handler for each layout.
m | The monitor to be arranged. |
void change_layout | ( | monitor_t * | m, |
const int | layout | ||
) |
Change the layout of the current workspace.
m | The monitor to be arranged. |
layout | Represents the layout that should be used. |
|
static |
Arrange the windows into a grid layout.
m | The monitor to be arranged. |
Arrange the windows in a stack, whether that be horizontal or vertical is decided by the current_layout.
m | The monitor to be arranged. |
|
static |
Have one window at a time taking up the entire screen.
Sets the geometry of each window in order for the windows to be rendered to take up the entire screen.
m | The monitor to be arranged. |
|
static |