johalun
7fef283044
FreeBSD fixes
...
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
8 years ago
Drew DeVault
51143a75af
Implement no_focus
...
Ref #2
9 years ago
Tomáš Čech
974be01e83
explicitly ignore unused return value
...
fixes issue#1182
9 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
9 years ago
Calvin Lee
2445d27960
Impliment i3-style marks
...
This commit adds three commands to sway: `show_marks`, `mark` and
`unmark`. Marks are displayed right-aligned in the window border as i3
does. Marks may be found using criteria.
Fixes #1007
9 years ago
Jaanus Torp
8306b886e9
Allow also 444 for security file mode
9 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
9 years ago
Drew DeVault
74d4f1bec9
Further indentation corrections
9 years ago
Drew DeVault
126ce571da
Read configs from /etc/sway/security.d/*
9 years ago
Drew DeVault
b10721b89e
Add initial support code for new IPC security
9 years ago
Drew DeVault
7c636da8a3
Fix format error
9 years ago
Drew DeVault
36e48fcf8d
Update default swaybar command
...
Fixes #988
9 years ago
Drew DeVault
1172566d4e
Change how security config is loaded
9 years ago
Drew DeVault
10c8b73075
Handle calloc failures
9 years ago
Drew DeVault
d75a747a3d
Handle config-related allocation failures
9 years ago
Drew DeVault
4c6c65e70c
Handle malloc failures from read_line
9 years ago
Drew DeVault
c8dc4925d1
Add IPC security policy command handlers
9 years ago
Drew DeVault
e9e1a6a409
Add IPC policy to config
...
Also reduces enum abuse, cc @minus7
9 years ago
Drew DeVault
f23880b1fd
Add support for command policies in config file
9 years ago
Drew DeVault
44cc0ef125
Add config related code and initial headers
9 years ago
D.B
3d1b472b83
swap unnecessary function for strndup
9 years ago
D.B
58eb7ac19f
change bar colors from char[10] to *char
...
This commit removes has_* booleans from bar color struct. It also
generalizes of functions in commands/bar/colors.c.
9 years ago
D.B
39ee0ec552
use urgent_ws color in swaybar if binding_mode is undefined
9 years ago
Michał Winiarski
e8d8abfbb5
Add left_handed support for input devices
...
Some users may want to switch buttons on their input devices, turns out
libinput already supports it. Let's add a support for it in our config.
Signed-off-by: Michał Winiarski <knr@hardline.pl>
9 years ago
Mykyta Holubakha
2a24772c4b
config: set pango_markup default to false
9 years ago
Ryan Dwyer
e4cb4d1b5c
Fix swaybar when running on named outputs.
...
When using a bar on a named output, load_swaybars() requires the
output to be active (ie. in the root container), but this is not the case if
the bar is added to the last output. To fix this, load_swaybars() is now
called after the output has been added to the root container.
After fixing that, swaybar would segfault due to using the wrong index
variable when loading outputs and config.
9 years ago
Drew DeVault
416417a54c
Reorganize includes
9 years ago
James Murphy
8af49eb696
Avoid dereferencing null configuration
...
Fixes: https://github.com/SirCmpwn/sway/issues/865
9 years ago
D.B
ce98569fbc
Handle output disabling during runtime
...
Output now gets disabled if disable command is invoked via bindsym or
IPC.
9 years ago
minus
b246799548
fixed uninitialized bar.wrap_scroll
9 years ago
Drew DeVault
11e7ca044c
Update hidpi support to latest wlc API
9 years ago
Drew DeVault
6ea02f3064
Initial pass on HiDPI support
9 years ago
minus
50b09937b2
clean up apply_input_config
9 years ago
Drew DeVault
6d971af5c3
Turn swaybg into a shell surface
9 years ago
Zandr Martin
9ecb43ea3b
couple small fixes
9 years ago
Zandr Martin
2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin
66caee645c
Merge branch 'master' into assign-command
9 years ago
thuck
3710cd6963
Fix segfault when using include with *
...
This should fix the issue #681
9 years ago
Zandr Martin
0f1859ed25
messy, unfinished version
9 years ago
Denis Doria
b692a6d31a
Initial implementation for floating_maximum_size
10 years ago
Denis Doria
009eaccd42
Clean up not used variables
10 years ago
Denis Doria
0ad7857f90
Included option floating_minimum_size
...
Values cannot be negative or 0; if so uses the default 75x50.
Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
10 years ago
Denis Doria
f1d5b89d3e
Initial work for floating view with sane values
10 years ago
Mykyta Holubakha
e73dde3b10
Support floating_scroll sideways
10 years ago
Mykyta Holubakha
0c495eecde
Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
10 years ago
Mykyta Holubakha
0423c41a0f
Implemented configurable floating scroll behavior
10 years ago
Daniel Lockyer
b41097c085
sway/config.c: fix double free issue as we need to store path in list
10 years ago
Jasen Borisov
de007c9b58
Add input cmd for setting pointer accel profile.
10 years ago
Daniel Lockyer
682efbb7dd
sway/config.c: Initialise struct value
10 years ago
Daniel Lockyer
e1fa51a152
sway/config.c: Move the wordfree call before the if statement so it is always called
10 years ago