aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
AgeCommit message (Collapse)Author
2023-12-08Move regular pointer to tablet pointer pos on proximity outIvan Molodetskikh
2023-12-05Track tablet pointer separately, don't sent wl_pointer eventsIvan Molodetskikh
Tablets are not supposed to send wl_pointer events. This unbreaks GTK 4 clients for example.
2023-12-03Keep monitor aspect ratio and clamp to monitor for tabletsIvan Molodetskikh
Before, the full tablet area was used, even if the aspect ratio didn't match the monitor. Also, the coordinates weren't clamped.
2023-11-24Move command spawning to a threadIvan Molodetskikh
It was showing up on profiles causing dropped frames.
2023-11-24Upgrade dependenciesIvan Molodetskikh
2023-11-24layout: Change workspace by idx functions to accept 0-based usizeIvan Molodetskikh
Makes more sense to do the converstion at the top of the call stack.
2023-11-13Add an action to center column within view bound to Ctrl-CIvan Molodetskikh
2023-11-08Add action to switch layoutsKirill Chibisov
Allow users to trigger layout change with custom bindings.
2023-11-08Try latin character from other layout for actionKirill Chibisov
This should allow users of non-latin layouts use bindings without changing layout back to latin input capable one. Fixes #21.
2023-11-08Add set-window-height actionIvan Molodetskikh
2023-10-31Change cursor to crosshairs when taking a screenshotIvan Molodetskikh
2023-10-30Implement area selection screenshotsIvan Molodetskikh
2023-10-30Split if into two for readabilityIvan Molodetskikh
2023-10-30Fix Clippy warningIvan Molodetskikh
2023-10-30Replace test imports with super::*Ivan Molodetskikh
2023-10-30Rename Screenshot to ScreenshotScreenIvan Molodetskikh
2023-10-29Don't send key on release from niri actionsKirill Chibisov
Some clients run logic on `Release`, thus don't send the key originally used for running `niri` actions. Fixes #28.
2023-10-24Implement ext-session-lockIvan Molodetskikh
2023-10-21Update pointer focus before inputIvan Molodetskikh
During an animation, our pointer might have updated.
2023-10-15Refresh pointer focus continuouslyIvan Molodetskikh
Fixes pointer focus not updating after: - switching workspaces - switching between windows so they move around - client appearing below cursor - client resizing to appear below cursor And all other similar cases. Hopefully this doesn't slow things down too much. Preliminary tracy analysis seems to indicate that it doesn't.
2023-10-14Add binds to move workspaces up and downIvan Molodetskikh
2023-10-11input: Exclude more events from powering on monitorsIvan Molodetskikh
2023-10-10Add screenshot-window actionIvan Molodetskikh
2023-10-09Add power-off-monitors bindIvan Molodetskikh
Implements https://github.com/YaLTeR/niri/issues/24
2023-10-08Add barebones three-finger-swipe workspace switchIvan Molodetskikh
Notable omission is velocity tracking.
2023-10-05Refactor layout for configurability, add preset-column-widths optionIvan Molodetskikh
layout.rs finally gets a struct actually named Layout.
2023-10-03Add tablet map-to-output settingIvan Molodetskikh
2023-10-03Add set-column-width actionIvan Molodetskikh
2023-10-03Remove unnecessary trace!()Ivan Molodetskikh
2023-09-30input: Simplify logic when cursor is outside outputsIvan Molodetskikh
2023-09-27Send pointer.frame() after pointer.button()Ivan Molodetskikh
2023-09-26Avoid unwraps in more placesIvan Molodetskikh
2023-09-26Update SmithayIvan Molodetskikh
2023-09-21Use double-fork when spawning subprocessesIvan Molodetskikh
Fixes https://github.com/YaLTeR/niri/issues/10
2023-09-16Add by-index workspace commands and bindsIvan Molodetskikh
2023-09-14Store Config as Rc<RefCell<>> fieldIvan Molodetskikh
2023-09-06input: Only send axis_stop when amount is presentIvan Molodetskikh
This is the expected behavior. Unbreaks Alacritty scrolling.
2023-09-05input: Clip pointer movement smarterIvan Molodetskikh
2023-09-05input: Remove some unwrapsIvan Molodetskikh
2023-09-05Add configuration fileIvan Molodetskikh
2023-09-04input: Don't use fully-qualified callsIvan Molodetskikh
2023-09-03Move all traits one layer upIvan Molodetskikh
2023-09-03Add Mod+Ctrl+Shift+T to toggle debug tintIvan Molodetskikh
2023-09-03Add suspend key handlingIvan Molodetskikh
2023-09-02Add touchpad gesture supportIvan Molodetskikh
2023-08-28Remove obsolete commentIvan Molodetskikh
2023-08-27Implement taking a monitor screenshotIvan Molodetskikh
2023-08-16Implement tablet-managerIvan Molodetskikh
2023-08-16Add basic fullscreen implIvan Molodetskikh
2023-08-16Add binds to move between monitorsIvan Molodetskikh