aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-13Merge pull request #2130 from frsfnrrg/keyboard-tuningDrew DeVault
Clean up keyboard handling code
2018-06-12Fix keyboard shortcut handling inconsistenciesfrsfnrrg
* Ensure that modifier keys are identified even when the next key does not produce a keysym. This requires that modifier change tracking be done for each sway_shortcut_state. * Permit regular and --release shortcuts on the same key combination. Distinct bindings are identified for press and release cases; note that the release binding needs to be identified for both key press and key release events. * Maintain ascending sort order for the shortcut state list, and keep track of the number of pressed key ids, for simpler (and hence faster) searching of the list of key bindings. * Move binding duplicate detection into get_active_binding to avoid duplicating error messages.
2018-06-12Sort binding key listsfrsfnrrg
Sort the list comprising the set of keys for the binding in ascending order. (Keyboard shortcuts depend only on the set of simultaneously pressed keys, not their order, so this change should have no external effect.) This simplifies comparisons between bindings.
2018-06-09Merge pull request #2124 from emersion/drag-iconsDrew DeVault
Render drag icons
2018-06-09Merge pull request #2047 from natesymer/masterDrew DeVault
Implement Gaps
2018-06-09Implement gaps (PR #2047)Nate Symer
2018-06-09Render drag iconsemersion
2018-06-09Merge pull request #2123 from emersion/fix-disabled-outputsemersion
Fix compilation errors related to disabled outputs
2018-06-09Fix compilation errors related to disabled outputsemersion
2018-06-09Merge pull request #2115 from RedSoxFan/restore-workspacesRyan Dwyer
Restore workspaces to output when re-enabled
2018-06-08Switch restore workspaces to a nested for-loopBrian Ashworth
2018-06-08Restore workspaces to outputs based on priorityBrian Ashworth
2018-06-08Merge pull request #2121 from martinetd/swaylock-ctrl-uemersion
swaylock: implement ^U to clear buffer
2018-06-08swaylock: implement ^U to clear bufferDominique Martinet
The whole state->xcb.modifiers thing didn't work at all (always 0) The xkb doc says "[xkb_state_serialize_mods] should not be used in regular clients; please use the xkb_state_mod_*_is_active API instead" so here it is
2018-06-08Merge pull request #2119 from martinetd/gcc-strtruncationemersion
sway/criteria: gcc string truncation warning fix
2018-06-08Merge pull request #2120 from martinetd/swayidle-zombiesemersion
Swayidle: doublefork to not leave zombies around
2018-06-08sway/criteria: gcc string truncation warning fixDominique Martinet
2018-06-08sway exec command: use waitpid instead of waitDominique Martinet
2018-06-08swayidle: doublefork to not leave zombies aroundDominique Martinet
2018-06-08Merge pull request #2118 from RedSoxFan/fix-2117emersion
Remove strip quoting and fix strncpy-overlap
2018-06-07Remove strip quoting and fix strncpy-overlapBrian Ashworth
2018-06-07Merge pull request #2084 from RedSoxFan/runtime-var-expansionemersion
Runtime variable expansion
2018-06-07Merge pull request #2108 from RedSoxFan/store-outputsemersion
Allow outputs to be re-enabled
2018-06-06Switch output storing from list_t to wl_listBrian Ashworth
2018-06-06Address emersions comments on output re-enablingBrian Ashworth
2018-06-06Store sway_outputs so that they can be reenabledBrian Ashworth
2018-06-07Merge pull request #2116 from RedSoxFan/fix-2113Ryan Dwyer
Fix focusing after splitting tabs/stacks
2018-06-06Remove tab/stack check for focusing after a splitBrian Ashworth
2018-06-06Fix focusing after splitting tabs/stacksBrian Ashworth
2018-06-06Merge pull request #2110 from smlx/initialise-cursor-previousemersion
Initialise previous cursor position.
2018-06-06Initialise previous cursor position.Scott Leggett
Fix the problem with focus jumping to the container under the cursor when first starting sway.
2018-06-05Merge pull request #2107 from tobiasblass/remove_suspicious_returnemersion
Remove suspicious unconditional return
2018-06-05Remove suspicious unconditional returnTobias Blass
This return effectively disables the log_kernel function
2018-06-05Fix logic issue in do_var_replacementBrian Ashworth
2018-06-05Support runtime var expansion and set at runtimeBrian Ashworth
2018-06-05Merge pull request #2095 from emersion/fullscreen-damage-only-visibleemersion
Only send frame to visible surfaces when fullscreened
2018-06-05Merge pull request #2103 from RyanDwyer/focus-fixesemersion
Focus fixes
2018-06-05Merge pull request #2106 from RedSoxFan/fix-2105emersion
Fix movement crashes/issues
2018-06-05Fix movement crashes/issuesBrian Ashworth
2018-06-04Don't restore focus if unmapping surface wasn't focusedRyan Dwyer
2018-06-04Don't set focus to NULL when clicking a surface which has no containerRyan Dwyer
2018-06-04Restore focus when unmapping layer shell surfacesRyan Dwyer
2018-06-04Restore focus when unmapping unmanaged xwayland surfacesRyan Dwyer
2018-06-03Merge pull request #2087 from RedSoxFan/output-subcommandemersion
Refactor cmd_output to use config_subcommand
2018-06-03Merge pull request #2099 from RyanDwyer/fix-seat-get-active-childemersion
Fix seat_get_active_child
2018-06-03Merge pull request #2100 from RyanDwyer/fix-workspace-orientationemersion
Fix initial workspace orientation on a rotated output
2018-06-03Address review comments for output subcommandsBrian Ashworth
2018-06-03Refactor cmd_output to use config_subcommandBrian Ashworth
2018-06-03Fix initial workspace orientation on a rotated outputRyan Dwyer
2018-06-03Fix seat_get_active_childRyan Dwyer
seat_get_active_child is used for tabbed and stacked containers to get the active child. The previous implementation used seat_get_focus_inactive then ascended the tree to the child of the tabbed/stacked container, but this fails when the workspace itself is stacked or tabbed and the most recently active child is floating. The new implementation takes a more simple approach, where it directly scans the focus stack for the first immediate child which isn't the floating container. Fixes #2098.