https://github.com/swaywm/sway

sort by:
Revision Author Date Message Commit Date
40a0c20 Update .build.yml 01 May 2017, 14:28:09 UTC
c2bb33d Update config.in swaymsg -t get_inputs now pretty prints its output, so this warning is obsolete 01 May 2017, 14:25:27 UTC
3642e9d Merge pull request #1204 from zandrmartin/prevent-layout-auto-crash prevent crash when `layout auto` is missing args 01 May 2017, 14:25:23 UTC
27c725e Set child border to background if not specified 01 May 2017, 14:25:16 UTC
86f81e0 Merge pull request #1201 from SirCmpwn/fix-colors Support specifying fewer than 5 colors 01 May 2017, 14:25:09 UTC
aa341eb Fix link to dotfiles, closes #1193 01 May 2017, 14:24:52 UTC
06446b6 Merge pull request #1194 from snoack/version Add -DVERSION flag for release version numbers 01 May 2017, 14:24:45 UTC
16a3bf1 Merge pull request #1187 from 4e554c4c/master Fix typo in sway(5) 01 May 2017, 14:24:35 UTC
72f5089 Merge pull request #1184 from JerziKaminsky/logging2 More Logging Fixes 01 May 2017, 14:24:28 UTC
c69a974 Merge pull request #1183 from sleep-walker/master explicitly ignore unused return value 01 May 2017, 14:24:19 UTC
94ad169 Merge pull request #1181 from wasamasa/bugfix-initial-scratchpad-size Use i3's dimensions for initial scratchpad views 18 April 2017, 21:57:07 UTC
35603b2 Merge pull request #1178 from 4e554c4c/fork Prevent sway from duplicating on a failed fork 18 April 2017, 21:49:23 UTC
0f31323 Use i3's dimensions for initial scratchpad views See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197 18 April 2017, 21:47:09 UTC
cee2650 Prevent sway from duplicating on a failed fork Also remove a useless `sway_log` and replace it with a pipe 18 April 2017, 21:25:37 UTC
17593ac Merge pull request #1180 from wasamasa/feature-move-to-scratchpad Feature move to scratchpad 18 April 2017, 19:50:54 UTC
d4ac594 Implement and document `move [to] scratchpad` 18 April 2017, 19:41:28 UTC
3c02aa1 Add .build.yml (for builds.sr.ht) 18 April 2017, 17:15:23 UTC
7494a48 Merge pull request #1173 from JerziKaminsky/security_resolve_symlink FOR_REVIEW: IPC security - Allow policy targets to be symlinks 16 April 2017, 14:17:43 UTC
2ad8850 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. 16 April 2017, 14:09:53 UTC
c9694ee Add resolve_path() to utils 16 April 2017, 14:09:53 UTC
bcf9338 Add validate_ipc_target() 16 April 2017, 14:09:53 UTC
bfb9923 Move get_feature_policy to sway/security.c 16 April 2017, 14:09:53 UTC
b4357a8 Rename get_policy to get_feature_policy 16 April 2017, 14:09:53 UTC
cf5e764 Disambiguate get_*_policy() and get_*_policy_mask() 16 April 2017, 14:09:53 UTC
edb8075 Merge pull request #1175 from JerziKaminsky/fix_sway_assert_variadic Fix multiple issues in sway_assert 16 April 2017, 13:50:50 UTC
709b53b Fix location reported by sway_assert 16 April 2017, 13:39:53 UTC
eb3b1ec 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 16 April 2017, 13:39:53 UTC
4b3e533 Merge pull request #1171 from JerziKaminsky/misc_fixes Misc fixes 14 April 2017, 14:44:30 UTC
6079e6f Fix style in sway-bar(5) manpage 13 April 2017, 23:30:41 UTC
b463fb8 Remain compat with libinput < 1.7.0 13 April 2017, 23:30:41 UTC
a25a2f4 Merge pull request #1147 from SirCmpwn/nvidia-support Downgrade nvidia proprietary driver warning 12 April 2017, 14:15:38 UTC
b3541d9 Implement more thourough nvidia config check 12 April 2017, 14:04:44 UTC
b036ad9 Downgrade nvidia proprietary driver warning 12 April 2017, 14:04:44 UTC
cd3c48f Merge pull request #1146 from SirCmpwn/pretty-print-swaymsg Add pretty printing to swaymsg 10 April 2017, 12:19:02 UTC
5d3a02a Merge branch 'master' into pretty-print-swaymsg 10 April 2017, 11:17:47 UTC
7fee555 Merge pull request #1150 from JerziKaminsky/cmake_find_libcap Add libcap check to CMake 08 April 2017, 10:53:22 UTC
8d191b2 Merge pull request #1155 from 4e554c4c/get_marks Add `-t get_marks` and use more i3-like marks 07 April 2017, 18:17:01 UTC
154c671 Add `-t get_marks` and use more i3-like marks In i3 every mark is unique and one mark cannot be used in more than one window, sway behavior has been amended to match this. `swaymsg -t get_marks` will now return an array of all marks used in sway. See #98 07 April 2017, 17:37:51 UTC
4e12bf6 Merge pull request #1153 from SirCmpwn/fix-1152 Fix dangling file descriptors (fixes #1152) 07 April 2017, 12:59:29 UTC
cf95aeb Merge pull request #1154 from ascent12/fix-1152 Removed explicitly setting file descriptors to -1 07 April 2017, 12:49:47 UTC
1b2cd93 Removed explicitly setting file descriptors to -1 07 April 2017, 12:45:31 UTC
50a31a6 Fix dangling file descriptors (fixes #1152) 07 April 2017, 11:55:35 UTC
aa6bd85 Add libcap check to CMake - Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously. 07 April 2017, 00:14:16 UTC
270e01c Merge pull request #1151 from ascent12/master Change regex to use PCRE 06 April 2017, 12:51:22 UTC
3a32be6 Added designated initaliser, to prevent any possible problem with ordering 06 April 2017, 12:34:33 UTC
fe54a67 Changed regular expressions to use PCRE for i3 compatibility 06 April 2017, 12:16:06 UTC
3f40b61 Merge pull request #1149 from 4e554c4c/criteria Improve criteria handling 06 April 2017, 10:47:26 UTC
069d37f Improve criteria handling This commit changes how commands decide what container to act on. Commands get the current container though `current_container`, a global defined in sway/commands.c. If a criteria is given before a command, then the following command will be run once for every container the criteria matches with a reference to the matching container in 'current_container'. Commands should use this instead of `get_focused_container()` from now on. This commit also fixes a few (minor) mistakes made in implementing marks such as non-escaped arrows in sway(5) and calling the "mark" command "floating" by accident. It also cleans up `criteria.c` in a few places. 06 April 2017, 04:07:23 UTC
7d43a76 Merge pull request #1145 from 4e554c4c/marks Impliment i3-style marks 03 April 2017, 18:52:20 UTC
2445d27 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 03 April 2017, 17:48:37 UTC
ab7570d Update man page 03 April 2017, 11:46:11 UTC
60ce81e Add pretty printing to swaymsg If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ``` 03 April 2017, 11:27:25 UTC
8d9a928 Update README.md 28 March 2017, 11:45:16 UTC
82729ee Mention cap_sys_tty_config in readme 27 March 2017, 11:02:08 UTC
e659db4 Merge pull request #1130 from oranenj/fix_move_next_crash Fix move next crash 19 March 2017, 21:57:44 UTC
924ed64 Prevent "move next" and "move prev" commands from crashing Fixes #1120 When the parent of a view is C_WORKSPACE and the movement direction is either MOVE_PREV or MOVE_NEXT, the code would attempt to move the views to the next output, but swayc_adjacent_output can't accept non-directional movement commands and causes undefined behaviour and a segfault. If the code is simply skipped, we end up in an infinite loop. Instead, we can allow containers whose parent is a C_WORKSPACE take the path that handles MOVE_PREV and MOVE_NEXT, which behaves as you would expect. I'm not certain that this fix is entirely correct as the desired behaviour of move_container is not very well defined, but it seems to work. 19 March 2017, 14:58:39 UTC
d735091 The default layout of a workspace should follow the output Hardcoding it to L_HORIZ does not make sense to me, as you get the unexpected behaviour that windows will be arranged horizontally until you switch the layout. 19 March 2017, 14:57:05 UTC
0fa8b5a Merge pull request #1126 from zandrmartin/prevent-fullscreen-focus-stealing prevent fullscreen focus thievery 18 March 2017, 22:04:02 UTC
2d46fc5 prevent fullscreen focus thievery I believe this fixes #1102 18 March 2017, 21:55:50 UTC
856984a Merge pull request #1125 from zandrmartin/remove-unnecessary-todo remove unnecessary todo item 18 March 2017, 21:35:30 UTC
84ae6d0 Merge branch 'master' into remove-unnecessary-todo 18 March 2017, 21:30:00 UTC
baa17ec remove unnecessary todo item As best I can tell this todo was intended to add workspace movement to the given output with the `workspace <ws> output <op>` command, but i3 does not behave this way. 18 March 2017, 21:26:59 UTC
cef4a5c Merge pull request #1124 from zandrmartin/correct-typo wl_poitner -> wl_pointer 18 March 2017, 21:01:26 UTC
956eb6d wl_poitner -> wl_pointer 18 March 2017, 20:57:26 UTC
5c3d318 Merge pull request #1119 from oranenj/master Fix off-by-one error when checking workspace_layout arguments 18 March 2017, 20:36:17 UTC
e956c61 Merge branch 'master' into master 18 March 2017, 20:27:58 UTC
f6196b7 Fix off-by-one error when checking workspace_layout arguments 18 March 2017, 20:24:44 UTC
b01e8de Merge pull request #1121 from zandrmartin/registry-keyboard-caps add missing ! for wl seat keyboard caps 18 March 2017, 20:17:11 UTC
2d2ce91 add missing ! for wl seat caps 18 March 2017, 15:29:02 UTC
ec50b92 Merge pull request #1117 from jnsaff/master Allow also 444 for security file mode 16 March 2017, 18:06:03 UTC
8306b88 Allow also 444 for security file mode 16 March 2017, 15:12:22 UTC
109f384 Merge pull request #1115 from snoack/missing-includes Superfluous include causes failures if WLC headers aren't installed globally 14 March 2017, 18:40:50 UTC
d90f97b Removed superfluous include, causing failures if WLC headers aren't installed globally 14 March 2017, 18:33:35 UTC
39ecc10 Merge pull request #1108 from zandrmartin/new-command-aliases deprecate new_window and new_float commands 13 March 2017, 19:13:07 UTC
b507462 Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases 13 March 2017, 11:35:12 UTC
2e1083f Merge pull request #1113 from johnchen902/patch-1 Fix trivial typo in sway.5.txt (right_ -> _right_) 13 March 2017, 03:34:10 UTC
a0711d9 Fix trivial typo in sway.5.txt (right_ -> _right_) as title 13 March 2017, 02:32:27 UTC
9aed9d9 UnGNUify the codebase 11 March 2017, 04:41:24 UTC
74d4f1b Further indentation corrections 11 March 2017, 02:41:14 UTC
d5c338d Correct indentation 11 March 2017, 02:40:21 UTC
18450dd deprecate new_window and new_float commands 09 March 2017, 19:56:15 UTC
dc33c2c Merge pull request #1105 from zandrmartin/fix-workspace-output-assignment fix workspace output assignment 08 March 2017, 19:35:11 UTC
8684b9e fix workspace output assignment 08 March 2017, 19:30:01 UTC
79468d2 Update unsupported packages link in readme 02 March 2017, 15:27:05 UTC
d4aa604 Merge pull request #1101 from 4e554c4c/worspace_names Fix #1099: Allow spaces in worspace names 01 March 2017, 19:09:17 UTC
d47d3d7 Fix #1099: Allow spaces in worspace names This commit allows unquoted spaces in worspace names in order to keep compatability with i3. The names _must not_ contain the string "output" which is documented in 'sway.5' because how sway detects the `move <workspace> output <output>` command. Also I documented that "number" may be used before the worspace name without affecting how the name is evaluated. 01 March 2017, 18:35:47 UTC
d6ac302 Merge pull request #1092 from 4e554c4c/move_floating i3 feature support: Moving flotaing containers 01 March 2017, 18:24:47 UTC
032907e Clarify move documentation for floating containers 01 March 2017, 18:00:56 UTC
b35782b i3 feature support: Moving flotaing containers This commit lets the 'move' command apply to floating containers as well as tiled ones. The command may be appended with a number of pixels and then optionally the string `px` (like '10 px') in order to move the container more or fewer than the standard ten pixels. 01 March 2017, 18:00:16 UTC
21ad45b Fix #1087 26 February 2017, 10:49:42 UTC
893c049 Merge pull request #1086 from Fale/ignore-Wimplicit-fallthrough Ignore Wimplicit-fallthrough 26 February 2017, 08:53:31 UTC
c51e83f Make it work for all compilers 25 February 2017, 23:39:04 UTC
6800c60 Ignore Wimplicit-fallthrough 25 February 2017, 18:21:55 UTC
e1ff88a Correct typo in swaylock(1) 25 February 2017, 17:44:39 UTC
11f0260 Merge pull request #1084 from Fale/improve-swaylock-man Improve swaylock man 25 February 2017, 17:40:58 UTC
b6ea813 Improve swaylock man 25 February 2017, 17:22:31 UTC
117264c Edit packages in README 23 February 2017, 13:33:24 UTC
407ebe9 Move env logging to earlier than wlc_init 23 February 2017, 13:32:11 UTC
7f58ea5 Merge pull request #1081 from 4e554c4c/swaylock_colors Feature for #1078: Configurable swaylock colors 22 February 2017, 07:26:19 UTC
6927682 Merge branch 'master' into swaylock_colors 22 February 2017, 05:45:51 UTC
back to top