Mykyta Holubakha
ea1313d80d
Keep CAP_SYS_PTRACE with suid binary
2017-01-12 04:25:27 +02:00
Drew DeVault
527c259d06
Fix #1008
2017-01-11 21:13:44 -05:00
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.
2017-01-10 23:30:34 -05:00
willakat
dc361fd9df
Merge branch 'master' into master
2017-01-08 18:15:37 +01:00
wil
32430d3922
Merge branch 'master' of https://github.com/willakat/sway
2017-01-08 18:11:32 +01:00
wil
52f3a8df51
fixed up space-after-cast style issues
2017-01-08 18:08:10 +01:00
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>"
2017-01-08 17:57:38 +01:00
Drew DeVault
7c636da8a3
Fix format error
2017-01-08 11:07:45 -05:00
wil
063c79874a
Indent cleanups
2017-01-08 14:49:47 +01:00
wil
d822150d83
[fix] Keep Clang happy
2017-01-08 14:16:40 +01:00
wil
2040c62da9
Merge branch 'master' of https://github.com/SirCmpwn/sway
2017-01-07 21:35:30 +01:00
willakat
653e96f530
Merge branch 'master' into master
2017-01-07 21:33:02 +01:00
wil
f24ebd75fa
Added mouse resize for auto layouts
2017-01-07 21:24:43 +01:00
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.
2017-01-07 20:26:46 +01:00
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.
2017-01-07 18:20:13 +01:00
wil
f7269684d0
[fix] scale check to prevent un-necessary layouts was in the wrong place.
2017-01-07 18:15:42 +01:00
wil
d99efb5f6f
[fix] corner cases win nb_children < nb_master|nb_col
2017-01-07 18:09:42 +01:00
wil
bd415029ba
Moved auto_* layout functions from resize.c to layout.c
2017-01-07 17:41:15 +01:00
Drew DeVault
baa84a0cd7
MIT license
...
Update to 2017
2017-01-06 13:45:48 -05:00
Drew DeVault
707207558e
Merge pull request #1032 from Jesin/master
...
Recompressed PNG files
2017-01-05 22:06:17 -05:00
Jesin
3b2bc894a5
Recompressed PNG files
...
zopflipng -m --lossy_transparent
2017-01-05 21:49:28 -05:00
Drew DeVault
58df28a54d
Merge pull request #1030 from Hummer12007/patch-2
...
Fix workspace layouts in json data
2017-01-05 18:33:43 -05:00
Hummer12007
d59af31256
Fix workspace layouts in json data
2017-01-06 01:28:36 +02:00
Drew DeVault
31d60b50ca
Merge pull request #1029 from 4e554c4c/master
...
Fix broken link in CONTRIBUTING.md
2017-01-05 18:00:01 -05:00
Calvin Lee
98aad80eee
Fix broken link in CONTRIBUTING.md
2017-01-05 15:56:40 -07:00
Drew DeVault
36f896ac34
Merge pull request #1019 from SirCmpwn/redshift
...
Add redshift support
2017-01-04 03:59:53 -05:00
wil
704b2db050
Merge branch 'master' of https://github.com/willakat/sway
2017-01-01 22:02:19 +01:00
wil
97f70987d7
[fix] cleanups suggested by Sway community
2017-01-01 21:52:49 +01:00
wil
a62048f15d
changed "layout promote" command to "move first"
...
This is more consistent with other Sway semantics.
2017-01-01 19:53:53 +01:00
Drew DeVault
0412e95ba9
Document new layout command syntax
...
And an old one that the docs overlooked
2017-01-01 12:41:52 -05:00
Drew DeVault
c01b898398
Fix inline is_auto_layout
2017-01-01 12:36:47 -05:00
wil
15745abf0c
[fix] cycle auto layouts backwards
2016-12-31 18:41:13 +01:00
wil
4b1d9b058e
Added a word in the Readme about the purpose of the fork.
2016-12-30 18:03:29 +01:00
wil
1b87193c3d
Added "layout promote" command.
2016-12-29 20:31:30 +01:00
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.
2016-12-29 20:31:30 +01:00
wil
2b0e3c212a
[fix] move next/prev behavior for vert/horiz layout
2016-12-29 20:31:30 +01:00
wil
0ff9fe9a7a
introduce next/prev as a direction for focus/move commands.
2016-12-29 20:31:30 +01:00
wil
bc3dc97026
[fix] Handle auto layout resize with multiple slave groups
2016-12-29 20:31:30 +01:00
wil
ed71e67d7e
[fix] handle cases where nb_master > children->length in auto layout
2016-12-29 20:31:30 +01:00
wil
8b0073b195
Added "layout incnmaster|incncol" commands
2016-12-29 20:31:30 +01:00
wil
5425d0489f
Handle resize in auto layouts
2016-12-29 20:31:30 +01:00
wil
97f7d47413
Added Awesome/Monad type "auto" layouts
2016-12-29 20:31:30 +01:00
Drew DeVault
aab360bf2f
Add redshift support
2016-12-28 02:04:51 -05:00
Drew DeVault
6a1df17fb7
Fix user-set LD_LIBRARY_PATH
2016-12-27 19:39:37 -05:00
Drew DeVault
1882cb6733
Merge pull request #1017 from zandrmartin/swaylock-scaling-mode
...
fix #971
2016-12-27 17:23:45 -07:00
Zandr Martin
f84217d07c
fix #971
2016-12-27 17:54:50 -06:00
Drew DeVault
51c367dfdc
Update README.md
2016-12-27 13:28:29 -05:00
Drew DeVault
725582c2f1
Merge pull request #1014 from cyphar/swaylock-fix-focus
...
sway: extensions: make locking give back focus
2016-12-26 09:06:20 -07:00
Aleksa Sarai
09259021ab
sway: extensions: make locking give back focus
...
Don't switch the internal tracking of focus to the swaylock surface,
to allow for switching back to the previously active window (or the
currently active window, if some new process changed).
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2016-12-26 20:00:17 +11:00
Aleksa Sarai
29a535aae4
sway: extensions: only unlock if lock_surfaces.length == 0
...
When destroying lock surfaces, we really should only unlock a
desktop_shell if the set of lock surfaces has dropped to zero (since
callers need to do a set_lock_surface for every output).
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2016-12-26 19:23:07 +11:00