aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-30Merge pull request #2387 from 1ace/feature/bash-completionDrew DeVault
bash completion
2018-07-30Merge pull request #2381 from frsfnrrg/key-repeatDrew DeVault
Implement key repeat for keybindings
2018-07-30Merge pull request #2388 from 1ace/fix/delete-swaygrabemersion
delete references to swaygrab
2018-07-30delete references to swaygrabEric Engestrom
2018-07-30Merge pull request #2385 from 1ace/fix/includeemersion
util.h: add missing include
2018-07-30meson: install bash completionEric Engestrom
2018-07-30bash: add completion for swayidleEric Engestrom
2018-07-30bash: add completion for swaylockEric Engestrom
2018-07-30bash: add completion for swaymsgEric Engestrom
2018-07-30bash: add completion for swayEric Engestrom
2018-07-30Merge pull request #2384 from 1ace/fix/zsh-completionemersion
zsh: fix sway completion
2018-07-30zsh: fix sway completionEric Engestrom
2018-07-30util.h: add missing includeEric Engestrom
parse_boolean() takes and returns a `bool`
2018-07-30Merge pull request #2383 from RedSoxFan/fix-title-scaleDrew DeVault
Fix title textures on scale change
2018-07-30Fix title textures on scale changeBrian Ashworth
2018-07-29Enable unstable wlroots featuresDrew DeVault
2018-07-29Bindings use advised keyboard repeat parametersfrsfnrrg
Now 'repeat_delay' and 'repeat_rate' control the initial delay and rate (per second) of repeated binding invocations. If the repeat delay is zero, binding repetition is disabled. When the repeat rate is zero, the binding is repeated exactly once, assuming no other key events intervene.
2018-07-29Implement key repeat for pressed key bindingsfrsfnrrg
Each sway_keyboard is provided with a wayland timer event source. When a valid keypress binding has been found, a callback to handle_keyboard_repeat is set. Any key event will either clear the callback or (if the new key event is a valid keypress binding) delay the callback again.
2018-07-29Merge pull request #2379 from emersion/xwayland-unmanagedDrew DeVault
Don't give focus if xwayland window has a type hint
2018-07-29Don't give focus if xwayland window has a type hintemersion
2018-07-29Merge pull request #2380 from mariusor/tap-button-map-man-fixRyan Dwyer
Escaping underscores in tap_button_map
2018-07-29Merge branch 'master' into tap-button-map-man-fixRyan Dwyer
2018-07-29Merge pull request #2376 from swaywm/virtual-keyboardemersion
Add virtual keyboard protocol
2018-07-29Escaping underscores in tap_button_mapMarius Orcsik
2018-07-28Merge pull request #2371 from ggreer/numlockDrew DeVault
Don't enable numlock by default.
2018-07-28Add virtual keyboard protocolDrew DeVault
Ref #2373
2018-07-28Don't enable numlock by default. This fixes an annoying issue where laptop ↵Geoff Greer
keyboards would have 'numlock mode' enabled, remapping parts of the alphabet to numbers.
2018-07-28Merge pull request #2360 from RyanDwyer/floating-containersDrew DeVault
Allow containers to float
2018-07-28Merge pull request #2368 from RyanDwyer/handle-out-of-fdsDrew DeVault
Handle out-of-fd situations gracefully for transaction and urgent timers
2018-07-28Merge pull request #2365 from RyanDwyer/fix-cmd-defer-crashDrew DeVault
Fix crash when a deferred command destroys a workspace
2018-07-28Fix crash when a deferred command destroys a workspaceRyan Dwyer
Example config that produces the crash (with a single output): workspace 1 workspace 2 Prior to this commit, container_workspace_free would manually mark the L_FLOATING container as destroying and free it. This assumed the L_FLOATING container would never be involved in a transaction. This was a safe assumption when it was implemented, but became an incorrect assumption once parent/child relationships became transactionised. This commit removes the L_FLOATING free from container_workspace_free. When the workspace is destroyed, it starts the normal destroy process on the L_FLOATING container so it can be freed via transactions.
2018-07-28Focus child when showing a scratchpad containerRyan Dwyer
2018-07-28Fix crash when unfloating child of container into empty workspaceRyan Dwyer
2018-07-28Send floating container to scratchpad when a child is focusedRyan Dwyer
2018-07-28Fix focus mode_toggle from a child of a floating containerRyan Dwyer
Also fixes a crash when unfloating a window. It needs to add it back to the tiling tree as a sibling rather than a child, because the reference container might be a view.
2018-07-28Allow splitting a floating viewRyan Dwyer
2018-07-28When unfloating, return container to previously focused tiled containerRyan Dwyer
This introduces seat_get_focus_inactive_tiling and updates `focus mode_toggle` to use it instead, because the previous method wasn't guaranteed to return a tiling view.
2018-07-28Operate on floating split container when a child is focusedRyan Dwyer
2018-07-28Fix crash when a child of a floating container is in the scratchpadRyan Dwyer
2018-07-28Fix clicking a floating split containerRyan Dwyer
It would focus the split container rather than the child. This commit makes it track the child and the split container separately and send the surface click to the child.
2018-07-28Allow containers to floatRyan Dwyer
Things worth noting: * When a fullscreen view unmaps, the check to unset fullscreen on the workspace has been moved out of view_unmap and into container_destroy, because containers can be fullscreen too * The calls to `container_reap_empty_recursive(workspace)` have been removed from `container_set_floating`. That function reaps upwards so it wouldn't do anything. I'm probably the one who originally added it... * My fix (b14bd1b0b1536039e4f46fe94515c7c44e7afc61) for the tabbed child crash has a side effect where when you close a floating container, focus is not given to the tiled container again. I've removed my fix and removed the call to `send_cursor_motion` from `seat_set_focus_warp`. We should consider calling it from somewhere earlier in the call stack.
2018-07-28Include errno.hRyan Dwyer
2018-07-28Show errno description in logRyan Dwyer
2018-07-28Handle out-of-fd situations gracefully for transaction and urgent timersRyan Dwyer
2018-07-28Merge pull request #2372 from RyanDwyer/fix-use-after-free-v2Brian Ashworth
Second attempt at fixing transaction use-after-free
2018-07-28Second attempt at fixing transaction use-after-freeRyan Dwyer
The solution used in 073ac425d5bf6f6393eb91d9b5f84e3caa68f511 doesn't work in all cases because the freed instruction might be ahead in the list, not necessarily behind. The new solution delays running the queue until after the loop has finished iterating, thus avoiding the problem completely.
2018-07-28Merge pull request #2370 from RyanDwyer/transactions-use-after-freeBrian Ashworth
Fix use after free in transactions
2018-07-28Fix use after free in transactionsRyan Dwyer
In set_instructions_ready, calling set_instruction_ready may cause any number of transactions to get applied, which removes them from the list being iterated. The iteration variables need to be adjusted accordingly.
2018-07-27Merge pull request #2369 from mihaicmn/preserve-workspace-nameDrew DeVault
Preserve workspace name
2018-07-28Preserve workspace nameMihai Coman