diff options
author | 2018-11-01 01:03:41 +0100 | |
---|---|---|
committer | 2018-11-01 01:03:41 +0100 | |
commit | 480b03b734e6d1d068859b254d8ace4fb07b2c54 (patch) | |
tree | 131faacd2b7c36e37444441cb0fd719c00818486 /include/sway/tree/view.h | |
parent | Merge pull request #3037 from RyanDwyer/focus-output-wrap (diff) | |
parent | Move view border properties to container struct (diff) | |
download | sway-480b03b734e6d1d068859b254d8ace4fb07b2c54.tar.gz sway-480b03b734e6d1d068859b254d8ace4fb07b2c54.tar.zst sway-480b03b734e6d1d068859b254d8ace4fb07b2c54.zip |
Merge pull request #3040 from RyanDwyer/border-props-to-container
Move view border properties to container struct
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 0240f294..67f17914 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -80,24 +80,8 @@ struct sway_view { | |||
80 | 80 | ||
81 | char *title_format; | 81 | char *title_format; |
82 | 82 | ||
83 | // Our border types are B_NONE, B_PIXEL, B_NORMAL and B_CSD. We normally | ||
84 | // just assign this to the border property and ignore the other two. | ||
85 | // However, when a view using CSD is tiled, we want to render our own | ||
86 | // borders as well. So in this case the border property becomes one of the | ||
87 | // first three, and using_csd is true. | ||
88 | // Lastly, views can change their decoration mode at any time. When an SSD | ||
89 | // view becomes CSD without our approval, we save the SSD border type so it | ||
90 | // can be restored if/when the view returns from CSD to SSD. | ||
91 | enum sway_container_border border; | ||
92 | enum sway_container_border saved_border; | ||
93 | bool using_csd; | 83 | bool using_csd; |
94 | 84 | ||
95 | int border_thickness; | ||
96 | bool border_top; | ||
97 | bool border_bottom; | ||
98 | bool border_left; | ||
99 | bool border_right; | ||
100 | |||
101 | struct timespec urgent; | 85 | struct timespec urgent; |
102 | bool allow_request_urgent; | 86 | bool allow_request_urgent; |
103 | struct wl_event_source *urgent_timer; | 87 | struct wl_event_source *urgent_timer; |