Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-06 | Merge branch 'master' into remove-input-fix | Drew DeVault | |
2018-07-06 | Attach destroy handler earlier | Ian Fan | |
This prevents it from being bypassed when the device has no seat configuration | |||
2018-07-05 | Fix pointer button events for layer surfaces | Brian Ashworth | |
2018-07-04 | Fix focus related damage | Ryan Dwyer | |
When you have an unfocused container (so one view is focused_inactive), and you focus any other view in that container, the view with focused_inactive was not damaged. This is because we damaged the previous focus and new focus, but needed to damage the parent of the new focus. | |||
2018-07-02 | Don't return pending children in seat_get_active_current_child | Ryan Dwyer | |
Fixes #2192. seat_get_active_current_child is intended to return a child of the given container which has finished its mapping transaction and is able to be rendered on screen. The previous implementation was capable of returning a pending child, which caused a child of a tabbed or stacked view to be rendered prematurely while it was mapping. | |||
2018-06-29 | Merge remote-tracking branch 'upstream/master' into atomic | Ryan Dwyer | |
2018-06-28 | fix handling key modifiers if not pressed at first | Armin Preiml | |
fixes #2169 | |||
2018-06-27 | Merge branch 'master' into xwayland-wants-float | Ryan Dwyer | |
2018-06-24 | dont focus-follow-mouse when keyboard grab | Tony Crisci | |
2018-06-23 | Fix crash when deleting last child in a tabbed or stacked container | Ryan Dwyer | |
There was no `current` child because the container was destroyed. This makes it fall back to looking in the parent's current children list. | |||
2018-06-18 | Automatically float xwayland windows | emersion | |
2018-06-12 | Fix keyboard shortcut handling inconsistencies | frsfnrrg | |
* 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-09 | Render drag icons | emersion | |
2018-06-06 | Initialise previous cursor position. | Scott Leggett | |
Fix the problem with focus jumping to the container under the cursor when first starting sway. | |||
2018-06-04 | Don't set focus to NULL when clicking a surface which has no container | Ryan Dwyer | |
2018-06-04 | Restore focus when unmapping layer shell surfaces | Ryan Dwyer | |
2018-06-03 | Fix seat_get_active_child | Ryan 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. | |||
2018-06-02 | Make command block implementation generic | Brian Ashworth | |
2018-06-01 | Style fix, redundant entry removal, fix extra keysym delete | frsfnrrg | |
2018-06-01 | Rename update_shortcut_model to update_shortcut_state | frsfnrrg | |
2018-06-01 | Rename check_shortcut_model to get_active_binding | frsfnrrg | |
2018-06-01 | Style fixed for keyboard.c | frsfnrrg | |
2018-06-01 | Remove almost-always redundant loop in key handling | frsfnrrg | |
2018-06-01 | Rewrite shortcut handling code to avoid hardcoded values | frsfnrrg | |
The same shortcut algorithm is now used for keycodes, raw keysyms, and translated keysyms. Pressed keysyms are now stored in association with the keycodes that generated them. Modifier keycodes (and associated keysyms) are identified retroactively by the subsequent change to the modifier flags. | |||
2018-06-01 | Fix mouse warping interaction with layout coords | Drew DeVault | |
2018-06-01 | Store swayc coordinates as layout-local | Ryan Dwyer | |
2018-06-01 | Implement floating | Ryan Dwyer | |
2018-05-28 | Fix ancestor typos | Ryan Dwyer | |
2018-05-27 | Merge pull request #2050 from smlx/focus-fix | Drew DeVault | |
Focus containers only on entry. | |||
2018-05-27 | Implement bindsym/bindcode --locked | frsfnrrg | |
Adds the --locked flag to bindsym and bindcode commands. When a keyboard's associated seat has an exclusive client (i.e, a screenlocker), then bindings are only executed if they have the locked flag. When there is no such client, this restriction is lifted. | |||
2018-05-28 | Improve comment. | Scott Leggett | |
2018-05-28 | Avoid assert on container type. | Scott Leggett | |
2018-05-28 | Move previous cursor_position inline. | Scott Leggett | |
2018-05-28 | Remove unused function. | Scott Leggett | |
2018-05-28 | Simplify logic, remove redundant variables. | Scott Leggett | |
2018-05-28 | Rely on view_is_visible rather thank walking the tree ourselves. | Scott Leggett | |
2018-05-28 | Store previous position in sway_cursor. | Scott Leggett | |
2018-05-27 | Focus containers only on entry. | Scott Leggett | |
2018-05-26 | Replace oft-failing abort with if statement | Drew DeVault | |
Fixes #2045 | |||
2018-05-26 | Check for next_focus before assert | Ivan Chebykin | |
2018-05-26 | Fix usage of sway_assert | Ivan Chebykin | |
2018-05-26 | Moved visibility check of of loop, added asserts | Ivan Chebykin | |
2018-05-25 | Break after first tabbed/stacked layout | Ivan Chebykin | |
2018-05-25 | Fix mouse focusing for horizontal/vertical views in tabbed containers | Ivan Chebykin | |
2018-05-25 | Fixed styling issues | Ivan Chebykin | |
2018-05-25 | Focus inactive container instead of checking cursor position | Ivan Chebykin | |
2018-05-25 | Skip all nested containers | Ivan Chebykin | |
2018-05-25 | Implement correct focusing for tabbed containers | Ivan Chebykin | |
2018-05-25 | Fix focusing from other containers | Ivan Chebykin | |
2018-05-25 | Don't focus tabbed and stacked containers on mouseover | Ivan Chebykin | |