Drew DeVault
106868ddbf
Update config.in
...
swaymsg -t get_inputs now pretty prints its output, so this warning is
obsolete
8 years ago
Drew DeVault
5e845a38f5
Merge pull request #1204 from zandrmartin/prevent-layout-auto-crash
...
prevent crash when `layout auto` is missing args
8 years ago
Zandr Martin
f65a88e68d
prevent crash when `layout auto` is missing args
8 years ago
Drew DeVault
34fae764a5
Add HACKING.md
8 years ago
Drew DeVault
816ceddcbd
Set child border to background if not specified
8 years ago
Drew DeVault
eab29ca0ce
Merge pull request #1201 from SirCmpwn/fix-colors
...
Support specifying fewer than 5 colors
8 years ago
Drew DeVault
02812a2e4d
Support specifying fewer than 5 colors
...
This doesn't work, I'm not sure why. The color structs definitely get
changed but if you specify fewer than 5, it renders with the defaults.
8 years ago
Drew DeVault
a5c07dde6a
Implement KDE's server-side decoration protocol
8 years ago
Drew DeVault
1376de4f46
Update .build.yml
8 years ago
Drew DeVault
11b4c3454c
Merge pull request #1196 from SirCmpwn/no_focus
...
Implement no_focus
8 years ago
Drew DeVault
537261f23f
Fix handling of floating windows
8 years ago
Drew DeVault
ffd0d020d6
Update sway(5)
8 years ago
Drew DeVault
51143a75af
Implement no_focus
...
Ref #2
8 years ago
Drew DeVault
3c1fc00f12
Merge pull request #1194 from snoack/version
...
Add -DVERSION flag for release version numbers
8 years ago
Drew DeVault
586eca0e4c
Fix link to dotfiles, closes #1193
8 years ago
Sebastian Noack
173b338567
Add -DVERSION flag for release version numbers
8 years ago
Drew DeVault
aca0710b9e
Merge pull request #1187 from 4e554c4c/master
...
Fix typo in sway(5)
8 years ago
Calvin Lee
0dc7e9f514
Fix typo in sway(5)
8 years ago
Drew DeVault
d2de52209e
Merge pull request #1184 from JerziKaminsky/logging2
...
More Logging Fixes
8 years ago
Drew DeVault
39a65a6181
Merge branch 'master' into logging2
8 years ago
Jerzi Kaminsky
8ecb490679
Make sway_abort() report location
8 years ago
Drew DeVault
382b678100
Merge pull request #1183 from sleep-walker/master
...
explicitly ignore unused return value
8 years ago
Tomáš Čech
974be01e83
explicitly ignore unused return value
...
fixes issue#1182
8 years ago
Drew DeVault
94ad169eb6
Merge pull request #1181 from wasamasa/bugfix-initial-scratchpad-size
...
Use i3's dimensions for initial scratchpad views
8 years ago
Drew DeVault
35603b2341
Merge pull request #1178 from 4e554c4c/fork
...
Prevent sway from duplicating on a failed fork
8 years ago
Vasilij Schneidermann
0f31323659
Use i3's dimensions for initial scratchpad views
...
See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197
8 years ago
Calvin Lee
cee26500a8
Prevent sway from duplicating on a failed fork
...
Also remove a useless `sway_log` and replace it with a pipe
8 years ago
Drew DeVault
17593ac559
Merge pull request #1180 from wasamasa/feature-move-to-scratchpad
...
Feature move to scratchpad
8 years ago
Vasilij Schneidermann
d4ac594264
Implement and document `move [to] scratchpad`
8 years ago
Drew DeVault
3c02aa17ca
Add .build.yml (for builds.sr.ht)
8 years ago
Drew DeVault
7494a48378
Merge pull request #1173 from JerziKaminsky/security_resolve_symlink
...
FOR_REVIEW: IPC security - Allow policy targets to be symlinks
8 years ago
Jerzi Kaminsky
2ad8850398
Handle symlinks as IPC security targets
...
- When policies are allocated, the ipc target path goes
through symlink resolution. The result is used as
the canonical for matching pids to policies at runtime.
In particular, this matches up with the target of
the `/proc/<pid>/exe`.
- There's a possible race condition if this isn't done
correctly, read below.
Originally, validate_ipc_target() always tried to resolve
its argument for symlinks, and returned a parogram target string
if it validates. This created a possible race condition with
security implications. The problem is that get_feature_policy()
first independently resolved the policy target in order to check
whether a policy already exists. If it didn't find any, it called
alloc_feature_policy() which called validate_ipc_target() which
resolved the policy target again. In the time between the two
checks, the symlink could be altered, and a lucky attacker could
fool the program into thinking that a policy doesn't exist
for a target, and then switch the symlink to point at another file.
At the very least this could allow him to create two policies
for the same program target, and possibly to bypass security
by associating the permissions for one target with another,
or force default permissions to apply to a target for which
a more specific rule has been configured. So we don't that.
Instead, the policy target is resolved once and that result is
used for the rest of the lookup/creation process.
8 years ago
Jerzi Kaminsky
c9694ee63d
Add resolve_path() to utils
8 years ago
Jerzi Kaminsky
bcf9338ce7
Add validate_ipc_target()
8 years ago
Jerzi Kaminsky
bfb99235e3
Move get_feature_policy to sway/security.c
8 years ago
Jerzi Kaminsky
b4357a8eb6
Rename get_policy to get_feature_policy
8 years ago
Jerzi Kaminsky
cf5e764c7f
Disambiguate get_*_policy() and get_*_policy_mask()
8 years ago
Drew DeVault
edb8075ae0
Merge pull request #1175 from JerziKaminsky/fix_sway_assert_variadic
...
Fix multiple issues in sway_assert
8 years ago
Jerzi Kaminsky
709b53bd43
Fix location reported by sway_assert
8 years ago
Jerzi Kaminsky
eb3b1ec5f1
Fix variadic forwarding in sway_assert
...
_sway_assert is a variadic function which tries
to delegate to another variadic function. This
requires a vprintf-style variant of the delegate.
https://stackoverflow.com/a/150616
8 years ago
Drew DeVault
4b3e533a59
Merge pull request #1171 from JerziKaminsky/misc_fixes
...
Misc fixes
8 years ago
Jerzi Kaminsky
6079e6f7e5
Fix style in sway-bar(5) manpage
8 years ago
Jerzi Kaminsky
b463fb8adc
Remain compat with libinput < 1.7.0
8 years ago
Drew DeVault
a25a2f40ce
Merge pull request #1147 from SirCmpwn/nvidia-support
...
Downgrade nvidia proprietary driver warning
8 years ago
Drew DeVault
b3541d9dc5
Implement more thourough nvidia config check
8 years ago
Drew DeVault
b036ad9b54
Downgrade nvidia proprietary driver warning
8 years ago
Drew DeVault
cd3c48fb9d
Merge pull request #1146 from SirCmpwn/pretty-print-swaymsg
...
Add pretty printing to swaymsg
8 years ago
Drew DeVault
5d3a02a7c6
Merge branch 'master' into pretty-print-swaymsg
8 years ago
Drew DeVault
7fee555a46
Merge pull request #1150 from JerziKaminsky/cmake_find_libcap
...
Add libcap check to CMake
8 years ago
Drew DeVault
8d191b2785
Merge pull request #1155 from 4e554c4c/get_marks
...
Add `-t get_marks` and use more i3-like marks
8 years ago