Mikkel Oscar Lyderik
856ac7d5cc
Remove unused function
9 years ago
Mikkel Oscar Lyderik
5a22c0f1c0
Don't send invisble view to back
9 years ago
Mikkel Oscar Lyderik
5886ee156e
Use correct geometry for nested containers
9 years ago
Mikkel Oscar Lyderik
6c7ed7e7cb
Add title to nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik
5492277f0c
Disable inner gaps when in tabbed/stacked mode
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
e226b20bd8
Reapply prev layout when exiting tabbed/stacked
9 years ago
Mikkel Oscar Lyderik
a0cebb7c5a
Improve move command with tabbed/stacked layout
9 years ago
Mikkel Oscar Lyderik
d26658fb35
Correctly determine default layout
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
09d69f606a
Renamed pango_markup config options
9 years ago
Mykyta Holubakha
0f1cfdec61
Renamed to pango_markup
9 years ago
Mykyta Holubakha
2e6c43e62b
Added plaintext_markup to swaybar IPC
9 years ago
Mykyta Holubakha
53b53dd8c2
Added plaintext markup configuration
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
Mikkel Oscar Lyderik
f39034a55f
Use correct format string for x86_64 and i686
...
Fix #587
9 years ago
Mikkel Oscar Lyderik
60731ffba1
Remove clang warnings (-Wsign-compare)
9 years ago
Drew DeVault
54c635ca16
Update to wlc 0.0.2
9 years ago
Chang Liu
91d2a505b2
Plug two memory leaks
...
Plug two memory leaks introduced in the border drawing code.
9 years ago
Mikkel Oscar Lyderik
cfea40dce3
Don't init desired width/height on new_view
...
When creating a new view, wlc usually returns an initial geometry with
size 1x1. Setting those values as desired width/height causes a problem
for some windows (QT5) because they don't request a new geometry for
instance when made floating, so the floating window becomes 1x1.
To fix this problem we can just omit setting the desired width/height on
new_view and instead let the clients request a certain size if they feel
like it. e.i. gnome-calculator.
Fix #578
9 years ago
Mikkel Oscar Lyderik
a7f26939c2
Only update geometry of single floating view
9 years ago
Kevin Hamacher
b6e2b6add9
Add border color commands
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
Eric Engestrom
3e8081514d
Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik
258e31ccdf
Fix pointer related crash when stacked/tabbed
...
Fix #564
9 years ago
Mikkel Oscar Lyderik
66e8b4d5de
Correctly reset border geometry
9 years ago
Mikkel Oscar Lyderik
7be476c115
Add cmds new_window and new_float
...
Makes it possible to set default layout style for new windows and new
floating windows.
Close #556
9 years ago
Mikkel Oscar Lyderik
63474aa04d
Make pango: optional for bar font
9 years ago
Drew DeVault
655b003062
Fix pointer scroll thing
9 years ago
Drew DeVault
ebead7a9bf
Fix crashes with borders
9 years ago
Drew DeVault
a4bf09f142
Remove leftover comment
9 years ago
Drew DeVault
a12850444d
New feature: adjust gaps with floating_mod+scroll
...
I made this configurable but I didn't make the command for it. That's
left as an exercise to an eager contributor.
mod_scroll_behavior [gaps inner|gaps outer]
Would merge implementions of more behaviors for mod+scroll, if anyone
has some neato ideas.
9 years ago
Drew DeVault
4bf10d7771
Merge pull request #551 from mikkeloscar/window-borders
...
Implement Window borders
9 years ago
Mikkel Oscar Lyderik
948c594132
Allow surrounding spaces in mode name
...
This makes it possible to define a mode name with surrounding spaces if
so desired. e.g.:
mode " hello " { }
9 years ago
Mikkel Oscar Lyderik
0af55539a8
Fix borders with floating windows
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
Mikkel Oscar Lyderik
3b05f92f76
Add border <none|normal|toggle|pixel> config
9 years ago
Mikkel Oscar Lyderik
86ea79ea6d
Implement parsing of hide_edge_borders
9 years ago
Mikkel Oscar Lyderik
da567317ab
Make pango: prefix optional for font config
9 years ago
Mikkel Oscar Lyderik
e2774aee3c
Add default border colors
9 years ago
Drew DeVault
b903f7f655
Implement some more on borders
...
Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for
help, I'm at a loss.
9 years ago