Commit graph

2213 commits

Author SHA1 Message Date
Fabio Alessandro Locati c51e83f834
Make it work for all compilers 2017-02-25 23:39:04 +00:00
Fabio Alessandro Locati 6800c60d4b
Ignore Wimplicit-fallthrough 2017-02-25 18:21:55 +00:00
Drew DeVault e1ff88a8d2 Correct typo in swaylock(1) 2017-02-25 12:44:39 -05:00
Drew DeVault 11f0260aab Merge pull request #1084 from Fale/improve-swaylock-man
Improve swaylock man
2017-02-25 12:40:58 -05:00
Fabio Alessandro Locati b6ea813e01
Improve swaylock man 2017-02-25 17:22:31 +00:00
Drew DeVault 117264ce40 Edit packages in README 2017-02-23 08:33:24 -05:00
Drew DeVault 407ebe9cd3 Move env logging to earlier than wlc_init 2017-02-23 08:32:11 -05:00
Drew DeVault 7f58ea5ec2 Merge pull request #1081 from 4e554c4c/swaylock_colors
Feature for #1078: Configurable swaylock colors
2017-02-22 02:26:19 -05:00
Drew DeVault 6927682303 Merge branch 'master' into swaylock_colors 2017-02-22 00:45:51 -05:00
Calvin Lee 46bd2bb5df Documentation and style fixes for swaylock 2017-02-21 21:17:01 -07:00
Calvin Lee 34e2c70abc Feature for #1078: Configurable swaylock colors
Colors are configured through the command line so that swaylock conforms
to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from
it are that one letter options '-r' and '-s' are not implimentend because
'-s' is already used by '--scaling' in swaylock.
This commit also fixed whitespace in 'include/swaylock/swaylock.h' and
changed `parse_color` in 'common/util.h' so that it can accept colors
that do not start with a hash. This was done to keep compatability with
the i3lock fork.
2017-02-21 14:12:31 -07:00
Drew DeVault f68d2fb33c Merge pull request #1080 from SirCmpwn/ipc-security
Revise IPC security configuration
2017-02-21 05:18:42 -05:00
Drew DeVault 276630eb96 Update 00-defaults.in 2017-02-20 23:24:13 -05:00
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/* 2017-02-20 07:51:31 -05:00
Drew DeVault eabfb6c559 Add * policies and fix bug 2017-02-20 06:48:33 -05:00
Drew DeVault 1980a08358 Enforce new IPC policies 2017-02-20 06:33:04 -05:00
Drew DeVault b10721b89e Add initial support code for new IPC security 2017-02-20 06:11:56 -05:00
Drew DeVault 7dbecdde95 Revise IPC security configuration 2017-02-19 02:56:59 -05:00
Drew DeVault 76614efb16 Merge pull request #1075 from zandrmartin/floating-positioning
use absolute view geometry to calculate position
2017-02-14 15:51:59 -05:00
Zandr Martin c6f971d108
use absolute view geometry to calculate position 2017-02-14 14:03:56 -05:00
Drew DeVault a018364be3 Merge pull request #1073 from Hummer12007/patch-3
Document swaygrab -f
2017-02-12 20:44:08 -05:00
Hummer12007 09e8eceb89 Document swaygrab -f 2017-02-13 02:22:48 +02:00
Drew DeVault aed3469c08 Merge pull request #1070 from Hummer12007/pos
Respect xdg-positioner offset, anchor edges and gravity
2017-02-05 20:01:50 -05:00
Mykyta Holubakha 4eae9b33e8
xdg-positioner: log window placement 2017-02-06 02:59:23 +02:00
Mykyta Holubakha 006bd0bc3f
Handle xdg-positioner stuff 2017-02-06 02:59:23 +02:00
Drew DeVault b3c0aa3a9e Merge pull request #1055 from Hummer12007/positioner
Properly place windows with xdg-positioner
2017-01-19 06:19:08 -05:00
Mykyta Holubakha 7520607b8d Properly place windows with xdg-positioner 2017-01-19 12:31:43 +02:00
Drew DeVault 7cc6f288d9 Merge pull request #1053 from Hummer12007/__focused__
Support __focused__ as a valid criterion
2017-01-18 22:54:19 -05:00
Mykyta Holubakha 28278864b4 Support __focused__ as a valid criterion
This reflects i3 behavior (see i3/i3#1770)

Scrapping focused support will probably break some existing configs
2017-01-19 03:58:31 +02:00
Drew DeVault fa19960d1e Merge pull request #1052 from Hummer12007/instance
Add window instance support
2017-01-18 20:50:30 -05:00
Mykyta Holubakha d443bce6fe Display instance (if present) in nested layouts 2017-01-19 03:45:23 +02:00
Mykyta Holubakha e714fbcbec Add window instance support 2017-01-19 03:14:59 +02:00
Drew DeVault dd41ce45f7 Merge pull request #1051 from ametisf/master
add hide_edge_borders smart to sway.5 manual
2017-01-17 11:26:06 -05:00
Frantisek Fladung 33a709cae9 add hide_edge_borders smart to sway.5 manual 2017-01-17 11:46:58 +01:00
Drew DeVault 2047bb81dc Merge pull request #1050 from Hummer12007/cmake
Unset LD_LIBRARY_PATH, unless specified
2017-01-16 13:24:26 -05:00
Mykyta Holubakha 138bcd0cfa Unset LD_LIBRARY_PATH, unless specified 2017-01-16 01:05:05 +02:00
Drew DeVault 81102e8eac Merge pull request #1024 from willakat/master
Add Awesome/Monad style automatic layouts to Sway
2017-01-14 16:11:48 -05:00
Drew DeVault a2cf3be890 Move awesome config to contrib/ 2017-01-14 16:03:41 -05:00
wil a90dddea40 [fix] handle auto layout of empty container 2017-01-14 19:48:41 +01:00
wil 5c40cc46ac Added a sample config for Awesome-like behavior 2017-01-14 19:41:00 +01:00
wil 71b386964a replaced "bot" with "bottom" in auto layout commands 2017-01-14 19:41:00 +01:00
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.
2017-01-14 19:41:00 +01:00
willakat 4c06a10004 Merge branch 'master' into master 2017-01-14 19:40:02 +01:00
Drew DeVault 0001b00706 Merge pull request #1048 from dkess/proper-output-wrapping
Add output wrapping
2017-01-13 19:16:38 -05:00
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.
2017-01-13 16:06:10 -08:00
Drew DeVault c1e6cc3257 Merge pull request #1044 from ametisf/master
Implement hide_edge_borders smart (like in i3 4.13)
2017-01-12 11:39:31 -05:00
Drew DeVault 307e8afde2 Merge pull request #1043 from Hummer12007/caps
Keep CAP_SYS_PTRACE with suid binary
2017-01-12 11:39:14 -05:00
Frantisek Fladung c04819e8c0 Implement hide_edge_borders smart (like in i3 4.13) 2017-01-12 12:40:28 +01:00
Mykyta Holubakha d9ba61d7e9 Log capability dropping 2017-01-12 04:35:09 +02:00
Mykyta Holubakha ea1313d80d Keep CAP_SYS_PTRACE with suid binary 2017-01-12 04:25:27 +02:00