aboutsummaryrefslogtreecommitdiff
path: root/src/input
AgeCommit message (Collapse)Author
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
2025-03-02Allow disabling tap-and-drag (#1107)Alex David
* Allow disabling tap-and-drag Similar to https://github.com/YaLTeR/niri/pull/1088, this adds a new touchpad `drag` configuration option that configures tap-and-drag behavior. Currently tap-and-drag is always enabled when the `tap` setting is enabled, but other compositors allow setting this separately. * Update wiki/Configuration:-Input.md --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-26Implement `niri msg pick-window`bbb651 🇮🇱
* feat: `niri msg pick-window` * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-26feat(input): add off option to touch devicennyyxxxx
2025-02-18Don't activate window when pressing the Mod+MMB view gestureIvan Molodetskikh
Avoid unnecessary movement.
2025-02-17Implement expand-column-to-available-widthIvan Molodetskikh
2025-02-17Make idle notify lazyIvan Molodetskikh
2025-02-16Add blank lineIvan Molodetskikh
2025-02-15Implement scrolling the view during DnDIvan Molodetskikh
DnD is external to the layout, so we just inform it when one is ongoing.
2025-02-15Implement scrolling the view during interactive moveIvan Molodetskikh
2025-02-14feat: support for setting tablet calibration matrix; this allows for ↵Ivan Chinenov
rotating tablet inputs (#1122) * feat: support for setting tablet calibration matrix * Change default matrix
2025-02-13Implement custom hotkey overlay titlesIvan Molodetskikh
2025-02-11input: Intercept Enter key when confirming the exit dialogIvan Molodetskikh
2025-02-10Store hit type in PointContentsIvan Molodetskikh
2025-02-10Add set-column-display actionIvan Molodetskikh
2025-02-10Implement tabbed column display modeIvan Molodetskikh
2025-02-05Add focus-window-in-column (by index) actionIvan Molodetskikh
2025-02-05Add focus-window-top/bottom/down-or-top/up-or-bottom actionsIvan Molodetskikh
2025-02-05input: add touchpad `drag-lock` settingMathias Zhang
2025-01-30misc: Fix typosbbb651
Using [`typos`](https://github.com/crate-ci/typos) cli
2025-01-26Extend switch-layout action to accept layout index (#1045)Evgeny Zemtsov
* Extend switch-layout action to accept layout index * Update src/input/mod.rs --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-25Add move-workspace-to-index and move-workspace-to-monitor actions (#1007)Kirottu
* Added move-workspace-to-index and move-workspace-to-monitor IPC actions * Added redraws to the workspace handling actions, fixed tests that panicked, fixed other mentioned problems. * Fixed workspace focusing and handling numbered workspaces with `move-workspace-to-index` * Fixed more inconsistencies with move-workspace-to-monitor * Added back `self.workspace_switch = None` * Reordered some workspace cleanup logic * Fix formatting * Add missing blank lines * Fix moving workspace to same monitor and wrong current index updating * Move function up and add fixme comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-23Add `scroll-factor` window rulebbb651
2025-01-23Add toggle-window-rule-opacity actionIvan Molodetskikh
2025-01-18implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)sodiboo
* stub keyboard-shortcuts-inhibit and virtual-pointer impls * implement keyboard-shortcuts-inhibit * implement virtual-pointer * deal with supressed key release edge-case; add allow-inhibiting property * add toggle-keyboard-shortcuts-inhibit bind * add InputBackend extensions; use Device::output() for absolute pos events * add a `State` parameter to the backend exts and better document future intent * Add some tests for is_inhibiting_shortcuts --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-14add write-to-disk argument to screenshot actionsGustav Sörnäs
2025-01-10Fix new Clippy warningsIvan Molodetskikh
2025-01-10Allow workspace names to be changed dynamically (#904)rustn00b
* Add un/set workspace name actions * Add SetWorkspaceName reference to proptests * Simplify unname_workspace * Add ewaf version of set first workspace name test * Simplify more * Fix comment * Make workspace in set-workspace-name a positional option --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-09Add a window swap operation (#899)rustn00b
Swap the active window with the a neighboring column's active window. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> Take into account PR comments - no longer behave like an expel when a swap is made in a direction where there is no column to swap with - fix janky animation
2025-01-09Add missing cursor warp when focusing floating/tilingIvan Molodetskikh
2025-01-03Clear on-demand layer-shell focus in more casesIvan Molodetskikh
2025-01-02Add actions to focus/move to next/previous monitorJulian Schuler
2025-01-02Add `Mouse{Left,Right,Middle,Back,Forward}` bindsbbb651
2024-12-30Add toggle-window-width by-id actionIvan Molodetskikh
2024-12-30Add center-window by-id actionIvan Molodetskikh
2024-12-30Disable double-resize-click for floating windowsIvan Molodetskikh
2024-12-30layout: Add animate arg to move_floating_window()Ivan Molodetskikh
2024-12-30Add move-floating-window actionIvan Molodetskikh
2024-12-30Add focus-floating/tiling actionsIvan Molodetskikh
2024-12-30Add move-window-to-floating/tiling actionsIvan Molodetskikh
2024-12-30Add set-window-width actionIvan Molodetskikh
2024-12-30Make right click during move toggle floatingIvan Molodetskikh
2024-12-30Stop move grab when the start button is releasedIvan Molodetskikh
Rather than when all buttons are released.
2024-12-30Initial WIP floating window implementationIvan Molodetskikh
2024-12-01layout: Extract ScrollingSpaceIvan Molodetskikh
Leave the Workspace to do the workspace parts, and extract the scrolling parts into a new file. This is a pre-requisite for things like the floating layer (which will live in a workspace alongside the scrolling layer). As part of this huge refactor, I found and fixed at least these issues: - Wrong horizontal popup unconstraining for a smaller window in an always-centered column. - Wrong workspace switch in focus_up_or_right().