mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Add border <none|normal|toggle|pixel> config
This commit is contained in:
parent
86ea79ea6d
commit
3b05f92f76
5 changed files with 69 additions and 4 deletions
|
|
@ -203,6 +203,8 @@ struct sway_config {
|
|||
list_t *config_chain;
|
||||
const char *current_config;
|
||||
|
||||
enum swayc_border_types border;
|
||||
int border_thickness;
|
||||
enum edge_border_types hide_edge_borders;
|
||||
|
||||
// border colors
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ typedef struct sway_container swayc_t;
|
|||
|
||||
/**
|
||||
* Different kinds of containers.
|
||||
*
|
||||
*
|
||||
* This enum is in order. A container will never be inside of a container below
|
||||
* it on this list.
|
||||
*/
|
||||
|
|
@ -37,9 +37,9 @@ enum swayc_layouts {
|
|||
};
|
||||
|
||||
enum swayc_border_types {
|
||||
B_NONE, /**< No border */
|
||||
B_PIXEL, /**< 1px border */
|
||||
B_NORMAL /**< Normal border with title bar */
|
||||
B_NONE, /**< No border */
|
||||
B_PIXEL, /**< 1px border */
|
||||
B_NORMAL /**< Normal border with title bar */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue