Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | |
2018-05-21 | Fix focus follows mouse with no focus | Drew DeVault | |
2018-05-21 | Don't track damage for views on inactive tabs | Ryan Dwyer | |
2018-05-21 | Implement tabbed layout | Ryan Dwyer | |
2018-05-20 | Fix border commands from changing focus | Brian Ashworth | |
2018-05-20 | Fix focus_follows_mouse over swaybar | Drew DeVault | |
If you moved your mouse over swaybar (e.g. to scroll between workspaces), focus would move to the workspace. This is not the right thing to do. The solution is complicated by the fact that if you move your mouse into a new output with an empty workspace, that workspace _should_ receive focus. | |||
2018-05-13 | Idle handling for dpms/lockscreen et al | Mattias Eriksson | |
Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541 | |||
2018-05-12 | Send pointer discrete axis values and source | emersion | |
Update for swaywm/wlroots#970 | |||
2018-05-11 | Highlight all child borders when using focus parent | Ryan Dwyer | |
2018-05-10 | Damage container on focus | emersion | |
2018-05-03 | Merge pull request #1907 from emersion/backend-input-mapping | Drew DeVault | |
Default to backend-wise input device mapping, if any |