aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-06Merge pull request #1151 from ascent12/masterDrew DeVault
Change regex to use PCRE
2017-04-07Added designated initaliser, to prevent any possible problem withScott Anderson
ordering
2017-04-07Changed regular expressions to use PCRE for i3 compatibilityScott Anderson
2017-04-06Merge pull request #1149 from 4e554c4c/criteriaDrew DeVault
Improve criteria handling
2017-04-05Improve criteria handlingCalvin Lee
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.
2017-04-03Merge pull request #1145 from 4e554c4c/marksDrew DeVault
Impliment i3-style marks
2017-04-03Impliment i3-style marksCalvin Lee
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
2017-04-03Update man pageDrew DeVault
2017-03-28Update README.mdDrew DeVault
2017-03-27Mention cap_sys_tty_config in readmeDrew DeVault
2017-03-19Merge pull request #1130 from oranenj/fix_move_next_crashDrew DeVault
Fix move next crash
2017-03-19Prevent "move next" and "move prev" commands from crashingJarkko Oranen
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.
2017-03-19The default layout of a workspace should follow the outputJarkko Oranen
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.
2017-03-18Merge pull request #1126 from zandrmartin/prevent-fullscreen-focus-stealingDrew DeVault
prevent fullscreen focus thievery
2017-03-18prevent fullscreen focus thieveryZandr Martin
I believe this fixes #1102
2017-03-18Merge pull request #1125 from zandrmartin/remove-unnecessary-todoDrew DeVault
remove unnecessary todo item
2017-03-18Merge branch 'master' into remove-unnecessary-todoDrew DeVault
2017-03-18remove unnecessary todo itemZandr Martin
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.
2017-03-18Merge pull request #1124 from zandrmartin/correct-typoDrew DeVault
wl_poitner -> wl_pointer
2017-03-18wl_poitner -> wl_pointerZandr Martin
2017-03-18Merge pull request #1119 from oranenj/masterDrew DeVault
Fix off-by-one error when checking workspace_layout arguments
2017-03-18Merge branch 'master' into masterDrew DeVault
2017-03-18Fix off-by-one error when checking workspace_layout argumentsJarkko Oranen
2017-03-18Merge pull request #1121 from zandrmartin/registry-keyboard-capsDrew DeVault
add missing ! for wl seat keyboard caps
2017-03-18add missing ! for wl seat capsZandr Martin
2017-03-16Merge pull request #1117 from jnsaff/masterDrew DeVault
Allow also 444 for security file mode
2017-03-16Allow also 444 for security file modeJaanus Torp
2017-03-14Merge pull request #1115 from snoack/missing-includesDrew DeVault
Superfluous include causes failures if WLC headers aren't installed globally
2017-03-14Removed superfluous include, causing failures if WLC headers aren't ↵Sebastian Noack
installed globally
2017-03-13Merge pull request #1108 from zandrmartin/new-command-aliasesDrew DeVault
deprecate new_window and new_float commands
2017-03-13Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliasesZandr Martin
2017-03-12Merge pull request #1113 from johnchen902/patch-1Drew DeVault
Fix trivial typo in sway.5.txt (right_ -> _right_)
2017-03-13Fix trivial typo in sway.5.txt (right_ -> _right_)John Chen
as title
2017-03-10UnGNUify the codebaseDrew DeVault
2017-03-10Further indentation correctionsDrew DeVault
2017-03-10Correct indentationDrew DeVault
2017-03-09deprecate new_window and new_float commandsZandr Martin
2017-03-08Merge pull request #1105 from zandrmartin/fix-workspace-output-assignmentDrew DeVault
fix workspace output assignment
2017-03-08fix workspace output assignmentZandr Martin
2017-03-02Update unsupported packages link in readmeDrew DeVault
2017-03-01Merge pull request #1101 from 4e554c4c/worspace_namesDrew DeVault
Fix #1099: Allow spaces in worspace names
2017-03-01Fix #1099: Allow spaces in worspace namesCalvin Lee
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.
2017-03-01Merge pull request #1092 from 4e554c4c/move_floatingDrew DeVault
i3 feature support: Moving flotaing containers
2017-03-01Clarify move documentation for floating containersCalvin Lee
2017-03-01i3 feature support: Moving flotaing containersCalvin Lee
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.
2017-02-26Fix #1087Drew DeVault
2017-02-26Merge pull request #1086 from Fale/ignore-Wimplicit-fallthroughDrew DeVault
Ignore Wimplicit-fallthrough
2017-02-25Make it work for all compilersFabio Alessandro Locati
2017-02-25Ignore Wimplicit-fallthroughFabio Alessandro Locati
2017-02-25Correct typo in swaylock(1)Drew DeVault