wil
71b386964a
replaced "bot" with "bottom" in auto layout commands
8 years ago
wil
b74870f516
Improved behavior of insert/remove child in auto layouts
...
Previous implementation would not preserve dimension of groups
along the major axis. This should avoid weird behavior when
using container motion commands.
8 years ago
willakat
4c06a10004
Merge branch 'master' into master
8 years ago
Drew DeVault
0001b00706
Merge pull request #1048 from dkess/proper-output-wrapping
...
Add output wrapping
8 years ago
Daniel Kessler
eda4bad725
Add output wrapping
...
This fixes issue #733 . Now if the user focuses output right but is at
the rightmost monitor, the focus will wrap the the leftmost monitor.
This commit adds a new function, swayc_opposite_output, which selects
the opposite output given a position and a direction. Now, when calling
output_by_name, we first check if there is an adjacent output to switch
to. If that fails, we call swayc_opposite_output to handle wrapping.
8 years ago
Drew DeVault
c1e6cc3257
Merge pull request #1044 from ametisf/master
...
Implement hide_edge_borders smart (like in i3 4.13)
8 years ago
Drew DeVault
307e8afde2
Merge pull request #1043 from Hummer12007/caps
...
Keep CAP_SYS_PTRACE with suid binary
8 years ago
Frantisek Fladung
c04819e8c0
Implement hide_edge_borders smart (like in i3 4.13)
8 years ago
Mykyta Holubakha
d9ba61d7e9
Log capability dropping
8 years ago
Mykyta Holubakha
ea1313d80d
Keep CAP_SYS_PTRACE with suid binary
8 years ago
Drew DeVault
527c259d06
Fix #1008
8 years ago
Drew DeVault
84358788aa
Update .clang-format - not entirely usable yet
...
I've run into a situation where clang-format does not support the
necessary style rules. It will have to be patched before clang-format is
fully adopted into Sway. Use this file with caution.
8 years ago
willakat
dc361fd9df
Merge branch 'master' into master
8 years ago
wil
32430d3922
Merge branch 'master' of https://github.com/willakat/sway
8 years ago
wil
52f3a8df51
fixed up space-after-cast style issues
8 years ago
wil
07474a4fa7
reworked "layout auto*" star commands
...
- "layout auto_left|auto_xxx" are now "layout auto xxx"
- "layout incmaster <n>" is now "layout auto master [set|inc] <n>"
- "layout incncol <n>" is now "layout auto ncol [set|inc] <n>"
8 years ago
Drew DeVault
7c636da8a3
Fix format error
8 years ago
wil
063c79874a
Indent cleanups
8 years ago
wil
d822150d83
[fix] Keep Clang happy
8 years ago
wil
2040c62da9
Merge branch 'master' of https://github.com/SirCmpwn/sway
8 years ago
willakat
653e96f530
Merge branch 'master' into master
8 years ago
wil
f24ebd75fa
Added mouse resize for auto layouts
8 years ago
wil
1f47c58d63
simplification of apply_auto_layout
...
Achieved by introducing auto_group_bounds function that produces
the start/end indexes of a group inside an auto layot container.
8 years ago
wil
3c84250be8
[fix] resize should now preserve surrounding container's dimensions
...
- prior to this modification, the requested pixels were added/removed
to both edges of the modified container. To preserve sizes,
only half the pixels should be added/removed to each edge.
8 years ago
wil
f7269684d0
[fix] scale check to prevent un-necessary layouts was in the wrong place.
8 years ago
wil
d99efb5f6f
[fix] corner cases win nb_children < nb_master|nb_col
8 years ago
wil
bd415029ba
Moved auto_* layout functions from resize.c to layout.c
8 years ago
Drew DeVault
baa84a0cd7
MIT license
...
Update to 2017
8 years ago
Drew DeVault
707207558e
Merge pull request #1032 from Jesin/master
...
Recompressed PNG files
8 years ago
Jesin
3b2bc894a5
Recompressed PNG files
...
zopflipng -m --lossy_transparent
8 years ago
Drew DeVault
58df28a54d
Merge pull request #1030 from Hummer12007/patch-2
...
Fix workspace layouts in json data
8 years ago
Hummer12007
d59af31256
Fix workspace layouts in json data
8 years ago
Drew DeVault
31d60b50ca
Merge pull request #1029 from 4e554c4c/master
...
Fix broken link in CONTRIBUTING.md
8 years ago
Calvin Lee
98aad80eee
Fix broken link in CONTRIBUTING.md
8 years ago
Drew DeVault
36f896ac34
Merge pull request #1019 from SirCmpwn/redshift
...
Add redshift support
8 years ago
wil
704b2db050
Merge branch 'master' of https://github.com/willakat/sway
8 years ago
wil
97f70987d7
[fix] cleanups suggested by Sway community
8 years ago
wil
a62048f15d
changed "layout promote" command to "move first"
...
This is more consistent with other Sway semantics.
8 years ago
Drew DeVault
0412e95ba9
Document new layout command syntax
...
And an old one that the docs overlooked
8 years ago
Drew DeVault
c01b898398
Fix inline is_auto_layout
8 years ago
wil
15745abf0c
[fix] cycle auto layouts backwards
8 years ago
wil
4b1d9b058e
Added a word in the Readme about the purpose of the fork.
8 years ago
wil
1b87193c3d
Added "layout promote" command.
8 years ago
wil
a0aa8d9780
cleanup in auto layouts
...
- added L_AUTO_FIRST/LAST instead of using explicit layouts.
- when switching between auto layout that don't share the same major axis, invert the
width/height of their child views to preserve their relative proportions.
8 years ago
wil
2b0e3c212a
[fix] move next/prev behavior for vert/horiz layout
8 years ago
wil
0ff9fe9a7a
introduce next/prev as a direction for focus/move commands.
8 years ago
wil
bc3dc97026
[fix] Handle auto layout resize with multiple slave groups
8 years ago
wil
ed71e67d7e
[fix] handle cases where nb_master > children->length in auto layout
8 years ago
wil
8b0073b195
Added "layout incnmaster|incncol" commands
8 years ago
wil
5425d0489f
Handle resize in auto layouts
8 years ago