aboutsummaryrefslogtreecommitdiff
path: root/sway/input
AgeCommit message (Collapse)Author
2018-05-26Replace oft-failing abort with if statementDrew DeVault
Fixes #2045
2018-05-26Check for next_focus before assertIvan Chebykin
2018-05-26Fix usage of sway_assertIvan Chebykin
2018-05-26Moved visibility check of of loop, added assertsIvan Chebykin
2018-05-25Break after first tabbed/stacked layoutIvan Chebykin
2018-05-25Fix mouse focusing for horizontal/vertical views in tabbed containersIvan Chebykin
2018-05-25Fixed styling issuesIvan Chebykin
2018-05-25Focus inactive container instead of checking cursor positionIvan Chebykin
2018-05-25Skip all nested containersIvan Chebykin
2018-05-25Implement correct focusing for tabbed containersIvan Chebykin
2018-05-25Fix focusing from other containersIvan Chebykin
2018-05-25Don't focus tabbed and stacked containers on mouseoverIvan Chebykin
2018-05-21Fix focus follows mouse with no focusDrew DeVault
2018-05-21Don't track damage for views on inactive tabsRyan Dwyer
2018-05-21Implement tabbed layoutRyan Dwyer
2018-05-20Fix border commands from changing focusBrian Ashworth
2018-05-20Fix focus_follows_mouse over swaybarDrew 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-13Idle handling for dpms/lockscreen et alMattias 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-12Send pointer discrete axis values and sourceemersion
Update for swaywm/wlroots#970
2018-05-11Highlight all child borders when using focus parentRyan Dwyer
2018-05-10Damage container on focusemersion
2018-05-03Merge pull request #1907 from emersion/backend-input-mappingDrew DeVault
Default to backend-wise input device mapping, if any
2018-05-03Hide cursor on touch downDrew DeVault
2018-05-03Default to backend-wise input device mapping, if anyemersion
2018-05-02Implement basic touch supportDrew DeVault
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
2018-04-29Merge branch 'master' into refactor-arrange-windowsemersion
2018-04-28Refactor arrange_windows()Ryan Dwyer
Replaces arrange_windows() with arrange_root(), arrange_output(), arrange_workspace() and arrange_children_of(). Also makes fullscreen views save and restore their dimensions, which allows it to preserve any custom resize and is also a requirement for floating views once they are implemented.
2018-04-27Update for swaywm/wlroots#923emersion
2018-04-26Add map_from_region commandemersion
2018-04-24Fix segfault when switching back to workspace with osu!emersion
2018-04-21Default to current time when triggering cursor eventsemersion
2018-04-21Update cursor when workspace focus changesemersion
2018-04-19Fix qutebrowser crash on context menu dismissalDrew DeVault
2018-04-19Merge branch 'master' into fullscreenDrew DeVault
2018-04-18Make key repeat configurableRyan Dwyer
This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 }
2018-04-18Fullscreen rendering and input fixes.Ryan Dwyer
* Render background when using fullscreen, because transparency. * Check that fullscreen surface allows input. * Don't look for surfaces in top layer if there's a fullscreen view.
2018-04-18More fullscreen fixes.Ryan Dwyer
* Render fullscreen views without wlr function, which makes popups and lockscreen work. * Don't allow input events to surfaces behind fullscreen views. * Use correct output dimensions (for rotated outputs).
2018-04-17Create sway_workspace struct.Ryan Dwyer
2018-04-16Implement fullscreen.Ryan Dwyer
2018-04-15remove empty workspace when focusing its outputdb
Until now, focus changing code only considered cleaning up the last focused workspace. This commit adds removal of empty workspace from output that just received focus on a different workspace. Fixes: #1797
2018-04-13seat_set_focus_wrap: fix use-after-free when destroying last focused containerDominique Martinet
2018-04-10Implement cursor event simulation with sway commands.Danny Bautista
2018-04-08Merge pull request #1769 from acrisci/focus-inactive-fixesDrew DeVault
Focus inactive fixes
2018-04-08Add input "identifier" map_to_output "identifier"Drew DeVault
2018-04-08Merge branch 'wlroots' into focus-inactive-fixesTony Crisci
2018-04-08Fix cursor motion issuesDrew DeVault
Use only one canonical cursor x/y position and send cursor enter when mouse is warped. Tangentally related to #1714
2018-04-08Use wlr_surface_point_accepts_input for unmanaged surfacesemersion
2018-04-08push all parents of focused container in focus stackTony Crisci
2018-04-08Implement tablet tool supportDrew DeVault
2018-04-07seat focus inactive children foreachTony Crisci