Tony Crisci
badfcf7c76
Render focused stack/tab children focused
...
Whenever a stacked or tabbed container has focused, paint the titlebars of all
its child windows to be focused as well to indicate the parent stack/tab
container has the focus.
8 years ago
D.B
5d250f3da6
Construct titles of nested tabbed/stacked containers from app_id instead of title
8 years ago
D.B
ad7605675e
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
8 years ago
Jasen Borisov
870a7aaad9
Fix issue #661 .
...
Borders are now drawn correctly (same behavior as i3) for tabbed and
stacked containers, when the children have 'border none' set.
9 years ago
Mikkel Oscar Lyderik
ae5164f1d4
Update view title of tabbed/stacked windows
...
Requires Cloudef/wlc@80bf003
Fix #623
9 years ago
Mikkel Oscar Lyderik
ddd5b69b99
border: clear buffer on fullscreen views
...
This patch makes sure to clear the border buffer of fullscreen view so
the border doesn't get drawn behind a fullscreen view, which would be
visible if the view was transparent.
9 years ago
Mikkel Oscar Lyderik
27066c6328
Only check tabbed_stacked_parent for focused windows
9 years ago
Mikkel Oscar Lyderik
6c7ed7e7cb
Add title to nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik
3e1f78ab26
Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik
3955c66ce8
Use tabs for indentation
9 years ago
Mikkel Oscar Lyderik
969f76a1a4
Make floating border fixes work with tabbed/stacked code
9 years ago
Mikkel Oscar Lyderik
8d700fe008
Fix problems with floating windows
...
Makes any tabbed/stacked layout a container to separate from floating
windows which may be attached to a workspace.
9 years ago
Mikkel Oscar Lyderik
ec7ff769c7
Tabbed and stacked layout
9 years ago
Mykyta Holubakha
a25c35f859
Passing missing argument to get_text_size
9 years ago
Drew DeVault
84fae94ab9
Flesh out pango markup implementation
9 years ago
Chang Liu
91d2a505b2
Plug two memory leaks
...
Plug two memory leaks introduced in the border drawing code.
9 years ago
Kevin Hamacher
115b482ed8
Use border background color as border background
9 years ago
crondog
b02be709cd
Fix window borders
...
This fixes floating borders when moving outside of the output. Not sure what
happens with dual screen as I only have 1 monitor
9 years ago
Kevin Hamacher
3953b064f5
improve endianess handeling
9 years ago
Drew DeVault
ebead7a9bf
Fix crashes with borders
9 years ago
Mikkel Oscar Lyderik
6fa6c27f3d
Update window title when it changes
9 years ago
Mikkel Oscar Lyderik
7878de5ccc
Mark focused view focus_inactive on unfocused output
9 years ago
Mikkel Oscar Lyderik
a87a5dbdd5
Comment endianness
9 years ago
Mikkel Oscar Lyderik
5a13cb0ed1
Implement borders
...
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).
9 years ago