diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-01 01:03:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 01:03:41 +0100 |
commit | 480b03b734e6d1d068859b254d8ace4fb07b2c54 (patch) | |
tree | 131faacd2b7c36e37444441cb0fd719c00818486 /include/sway/tree/view.h | |
parent | 35fda6765b154c1824b3e347579b9d41b309212c (diff) | |
parent | 528c7495bb09e18a8b63e1c741b90f65ff5541c6 (diff) |
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 { char *title_format; - // Our border types are B_NONE, B_PIXEL, B_NORMAL and B_CSD. We normally - // just assign this to the border property and ignore the other two. - // However, when a view using CSD is tiled, we want to render our own - // borders as well. So in this case the border property becomes one of the - // first three, and using_csd is true. - // Lastly, views can change their decoration mode at any time. When an SSD - // view becomes CSD without our approval, we save the SSD border type so it - // can be restored if/when the view returns from CSD to SSD. - enum sway_container_border border; - enum sway_container_border saved_border; bool using_csd; - int border_thickness; - bool border_top; - bool border_bottom; - bool border_left; - bool border_right; - struct timespec urgent; bool allow_request_urgent; struct wl_event_source *urgent_timer; |