summaryrefslogtreecommitdiffstats
path: root/sway/input
Commit message (Collapse)AuthorAge
* Initialise previous cursor position.Libravatar Scott Leggett2018-06-06
| | | | | Fix the problem with focus jumping to the container under the cursor when first starting sway.
* Don't set focus to NULL when clicking a surface which has no containerLibravatar Ryan Dwyer2018-06-04
|
* Restore focus when unmapping layer shell surfacesLibravatar Ryan Dwyer2018-06-04
|
* Fix seat_get_active_childLibravatar Ryan Dwyer2018-06-03
| | | | | | | | | | | | | | 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.
* Make command block implementation genericLibravatar Brian Ashworth2018-06-02
|
* Style fix, redundant entry removal, fix extra keysym deleteLibravatar frsfnrrg2018-06-01
|
* Rename update_shortcut_model to update_shortcut_stateLibravatar frsfnrrg2018-06-01
|
* Rename check_shortcut_model to get_active_bindingLibravatar frsfnrrg2018-06-01
|
* Style fixed for keyboard.cLibravatar frsfnrrg2018-06-01
|
* Remove almost-always redundant loop in key handlingLibravatar frsfnrrg2018-06-01
|
* Rewrite shortcut handling code to avoid hardcoded valuesLibravatar frsfnrrg2018-06-01
| | | | | | | | | 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.
* Fix mouse warping interaction with layout coordsLibravatar Drew DeVault2018-06-01
|
* Store swayc coordinates as layout-localLibravatar Ryan Dwyer2018-06-01
|
* Implement floatingLibravatar Ryan Dwyer2018-06-01
|
* Fix ancestor typosLibravatar Ryan Dwyer2018-05-28
|
* Merge pull request #2050 from smlx/focus-fixLibravatar Drew DeVault2018-05-27
|\ | | | | Focus containers only on entry.
| * Improve comment.Libravatar Scott Leggett2018-05-28
| |
| * Avoid assert on container type.Libravatar Scott Leggett2018-05-28
| |
| * Move previous cursor_position inline.Libravatar Scott Leggett2018-05-28
| |
| * Remove unused function.Libravatar Scott Leggett2018-05-28
| |
| * Simplify logic, remove redundant variables.Libravatar Scott Leggett2018-05-28
| |
| * Rely on view_is_visible rather thank walking the tree ourselves.Libravatar Scott Leggett2018-05-28
| |
| * Store previous position in sway_cursor.Libravatar Scott Leggett2018-05-28
| |
| * Focus containers only on entry.Libravatar Scott Leggett2018-05-27
| |
* | Implement bindsym/bindcode --lockedLibravatar frsfnrrg2018-05-27
|/ | | | | | | | | 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.
* Replace oft-failing abort with if statementLibravatar Drew DeVault2018-05-26
| | | | Fixes #2045
* Check for next_focus before assertLibravatar Ivan Chebykin2018-05-26
|
* Fix usage of sway_assertLibravatar Ivan Chebykin2018-05-26
|
* Moved visibility check of of loop, added assertsLibravatar Ivan Chebykin2018-05-26
|
* Break after first tabbed/stacked layoutLibravatar Ivan Chebykin2018-05-25
|
* Fix mouse focusing for horizontal/vertical views in tabbed containersLibravatar Ivan Chebykin2018-05-25
|
* Fixed styling issuesLibravatar Ivan Chebykin2018-05-25
|
* Focus inactive container instead of checking cursor positionLibravatar Ivan Chebykin2018-05-25
|
* Skip all nested containersLibravatar Ivan Chebykin2018-05-25
|
* Implement correct focusing for tabbed containersLibravatar Ivan Chebykin2018-05-25
|
* Fix focusing from other containersLibravatar Ivan Chebykin2018-05-25
|
* Don't focus tabbed and stacked containers on mouseoverLibravatar Ivan Chebykin2018-05-25
|
* Fix focus follows mouse with no focusLibravatar Drew DeVault2018-05-21
|
* Don't track damage for views on inactive tabsLibravatar Ryan Dwyer2018-05-21
|
* Implement tabbed layoutLibravatar Ryan Dwyer2018-05-21
|
* Fix border commands from changing focusLibravatar Brian Ashworth2018-05-20
|
* Fix focus_follows_mouse over swaybarLibravatar Drew DeVault2018-05-20
| | | | | | | | 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.
* Idle handling for dpms/lockscreen et alLibravatar Mattias Eriksson2018-05-13
| | | | | | | | | 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
* Send pointer discrete axis values and sourceLibravatar emersion2018-05-12
| | | | Update for swaywm/wlroots#970
* Highlight all child borders when using focus parentLibravatar Ryan Dwyer2018-05-11
|
* Damage container on focusLibravatar emersion2018-05-10
|
* Merge pull request #1907 from emersion/backend-input-mappingLibravatar Drew DeVault2018-05-03
|\ | | | | Default to backend-wise input device mapping, if any
| * Default to backend-wise input device mapping, if anyLibravatar emersion2018-05-03
| |
* | Hide cursor on touch downLibravatar Drew DeVault2018-05-03
|/
* Implement basic touch supportLibravatar Drew DeVault2018-05-02
| | | | | | | | | | | | This required changing container_at_cursor to container_at_coords so that we could get the appropriate surface (and sx/xy) without moving the cursor. Future work: - Simulate a cursor for clients which have not bound to wl_touch - Keep sending motion events when moving outside the surface (#1892) - Bind gestures to sway commands