aboutsummaryrefslogtreecommitdiff
path: root/include/sway/resize.h
blob: 0d38299489a6450692e957d7aca635e9289e0a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _SWAY_RESIZE_H
#define _SWAY_RESIZE_H
#include <stdbool.h>

enum resize_dim_types {
	RESIZE_DIM_PX,
	RESIZE_DIM_PPT,
	RESIZE_DIM_DEFAULT,
};

bool set_size(int dimension, bool use_width);
bool resize(int dimension, bool use_width, enum resize_dim_types dim_type);

#endif