aboutsummaryrefslogtreecommitdiff
path: root/src/input
AgeCommit message (Collapse)Author
2025-06-12screenshot_ui: Move selection when holding SpaceIvan Molodetskikh
2025-06-12Implement move-column/window-to-monitor actions for the screenshot UIIvan Molodetskikh
2025-06-11Expand screenshot UI to handle move-X-or-to-workspace/monitor-X (#1669)Illia Ostapyshyn
* Expand screenshot UI to handle more moving actions Currently, screenshot UI handles MoveColumn{Left,Right} and MoveWindow{Up,Down} which move the screenshot selection as if it were a floating window. Expand this to include MoveColumn*OrToMonitor* and MoveWindow*OrToWorkspace* and adjust their logic to move the screenshot selection. * Update src/input/mod.rs --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-06-09Accept FloatOrInt for input accel_speed, animation slowdownIvan Molodetskikh
Technically cfg-breaking due to introducing min/max limits at parse time, but values outside these limits were invalid anyway, so maybe it's fine?
2025-05-25Rename Un/Set/ToggleUrgent to Un/Set/ToggleWindowUrgentIvan Molodetskikh
Overlooked this when reviewing. This change is not cfg-breaking (since you can't bind these directly), but it does break calling these actions through IPC. I don't imagine they are widely used though, and the original PR author who also implemented urgency for bars said he didn't use these actions either.
2025-05-23input: do not revert fully invisible cursor to hidden (#1650)Duncan Overbruck
* input: do not force redraw to hide an already hidden cursor * more --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-05-22input: Add missing check for output underIvan Molodetskikh
2025-05-21input: Add missing redraws on urgency actionsIvan Molodetskikh
The layout urgent colors update even without window rule changes.
2025-05-16Deal with new Clippy warningsIvan Molodetskikh
2025-05-12Add center-visible-columns actionIvan Molodetskikh
2025-05-10add {toggle,set,unset}-urgent cli actionsDuncan Overbruck
2025-05-09Add a clickable button to capture the screenshotIvan Molodetskikh
Allows tablet-, touch- and mouse-only confirmation.
2025-05-09Extract confirm_screenshot()Ivan Molodetskikh
2025-05-09Add touch selection support to the screenshot UIIvan Molodetskikh
2025-05-09Split ScreenshotUi::pointer_down() and up()Ivan Molodetskikh
2025-05-09Extract evt.slot()Ivan Molodetskikh
2025-05-09Rename touch_location to posIvan Molodetskikh
2025-05-09Support tablet input for screenshot UI selectionIvan Molodetskikh
2025-05-09Use early returnIvan Molodetskikh
2025-05-09Simplify ScreenshotUi::pointer_button()Ivan Molodetskikh
2025-05-01Implement --focus for MoveColumnToWorkspace/Up/DownAberter Yan
2025-04-27Fix pointer hiding so that it is no longer annoying (#1426)bogdanov
* replace `pointer_hidden` with `pointer_visiblity` * disable hidden pointer after content underneath has changed * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-04-25Implement top-left hot corner to toggle the OverviewIvan Molodetskikh
Compared to third-party implementations such as waycorner: - It works during interactive window move (no surfaces receive pointer focus in this case, so this cannot work through layer-shell). - It works during drag-and-drop. - It disables itself over fullscreen windows. - It does not prevent direct scanout.
2025-04-25overview: Add touchscreen gesturesIvan Molodetskikh
2025-04-25overview: Add two-finger touchpad scrollIvan Molodetskikh
2025-04-25overview: Add hardcoded mouse scroll bindsIvan Molodetskikh
2025-04-25Implement an OverviewIvan Molodetskikh
2025-04-25Pass target workspace to view offset grabIvan Molodetskikh
2025-04-25Reformat scroll factor computationIvan Molodetskikh
2025-04-25Remove cancellation from swipe gesturesIvan Molodetskikh
It only worked for workspace switch, and even there it was more confusing than helpful.
2025-04-06Fix typo in commentIvan Molodetskikh
2025-04-04input: Fix move-workspace-to-index being one offIvan Molodetskikh
2025-04-04input: Don't panic on resize edge None when window is SomeIvan Molodetskikh
This can already happen with the tab indicator, it will happen more onwards.
2025-03-29layout: Remove duplicated functionIvan Molodetskikh
2025-03-29Make move-window-to-workspace focus=false work across monitors tooIvan Molodetskikh
2025-03-29screenshot: make selection area modifiable via move/resize keybinds (#1279)nyx
* screenshot: make selection area modifiable via keybinds * input: run fmt * Reimplement screenshot UI binds in a better way --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-29Add focus argument to move-window-to-workspace (#1332)nyx
* layout: add focus flag to move-window-to-workspace * lib: update comment * misc: minor dup refactor * input: format code * layout: minor nit * layout: update comment * input: remove unnecessary conditionals * misc: replace boolean * tests: fix the failing one * layout: change to smart * ipc: Option<bool> -> bool * lib: format code * Rewrite focus doc comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-23Don't block things out for pick-colorIvan Molodetskikh
It's interactive so it's fine.
2025-03-22input: Suppress release from Pick grab clicksIvan Molodetskikh
Otherwise, it would trigger something inside the window.
2025-03-22feat: support color picker functionalitynnyyxxxx
chore: format code refactor: improve quality feat: implement gnomes PickColor method refactor: minor code extraction misc: fix reviews fixes
2025-03-22Add mod-key and mod-key-nested settingspeelz
2025-03-17Implement toggle-windowed-fullscreenIvan Molodetskikh
Windowed, or fake, or detached, fullscreen, is when a window thinks that it's fullscreen, but the compositor treats it as a normal window.
2025-03-15Implement dynamic screencast targetIvan Molodetskikh
2025-03-14Add move-column-to-index actionDuncan Overbruck
2025-03-14Add focus-column (by index) actionDuncan Overbruck
2025-03-13feat(trackpoint): add left-handed option supportdbeley
2025-03-10added move window to monitor by idAnnika Hannig
2025-03-10Implemented move-window-to-monitor and move-column-to-monitorAnnika Hannig
2025-03-10Implement focus-monitor to focus a specific monitor by output.Annika Hannig
2025-03-10feat: 🎉 add `show-pointer` for `Screenshot` and `ScreenshotScreen`Toby Bridle