aboutsummaryrefslogtreecommitdiff
path: root/sway/border.c
AgeCommit message (Collapse)Author
2016-04-12Plug two memory leaksChang Liu
Plug two memory leaks introduced in the border drawing code.
2016-04-03Use border background color as border backgroundKevin Hamacher
2016-04-03Fix window borderscrondog
This fixes floating borders when moving outside of the output. Not sure what happens with dual screen as I only have 1 monitor
2016-04-02improve endianess handelingKevin Hamacher
2016-03-30Fix crashes with bordersDrew DeVault
2016-03-30Update window title when it changesMikkel Oscar Lyderik
2016-03-30Mark focused view focus_inactive on unfocused outputMikkel Oscar Lyderik
2016-03-30Comment endiannessMikkel Oscar Lyderik
2016-03-30Implement bordersMikkel Oscar Lyderik
The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).