aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-05-09Silence new zvariant De/SerializeDict deprecationsIvan Molodetskikh
Questionable exercise converting to serde with much more boilerplate, and breaking compat with older zvariant versions. Plus maybe this will be undeprecated back.
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-09refactor(main): eliminate a `mut` from config load code in main James Sully
I think this makes for marginally better readability, since you don't have to wonder whether config_errored is set anywhere else. It's also slightly terser.
2025-05-08fix: don't try to create a default config at path that existsJames Sully
Currently this bug has no actual consequences, we just continue silently on AlreadyExists in main() (this line: https://github.com/YaLTeR/niri/blob/e9c6f08906143c3fec1ad1301d538bef4cbc1978/src/main.rs#L151). This commit just eliminates the redundant attempt.
2025-05-07Add a resize transaction client-server testIvan Molodetskikh
2025-05-06Add layout background-color settingIvan Molodetskikh
2025-05-06Implement place-within-backdrop layer ruleIvan Molodetskikh
2025-05-06Simplify exclusive focus on layer checkIvan Molodetskikh
2025-05-01layout/scrolling: Update view offset on config updateIvan Molodetskikh
Fix always-centering not applied right away. No other changes intended.
2025-05-01Implement --focus for MoveColumnToWorkspace/Up/DownAberter Yan
2025-05-01Normalize workspace shadows to 1080 px tall screen, adjust defaultsIvan Molodetskikh
Workspace gaps are dependent on screen size, so it makes sense to make shadows depend on the screen size to, to avoid them filling more or less of the gap.
2025-05-01Draw workspace shadows behind all workspacesIvan Molodetskikh
2025-05-01Add workspace-shadow {} config to overview {}Ivan Molodetskikh
2025-04-30layout: Fix DnD scroll not stopping when interactive moving unfullscreen to ↵Ivan Molodetskikh
floating
2025-04-30feat: implement support to enable numlock at startuperdii
Signed-off-by: erdii <me@erdii.engineering>
2025-04-29animation/spring: Guard against numerical instabilityIvan Molodetskikh
2025-04-29Bump Smithay and othersChristian Meissl
Presentation subsurface fix, popup unconstrain resize fix, cursor shape fix, refactors.
2025-04-29Fix hot corners preventing focus even when disabledIvan Molodetskikh
2025-04-28Add backdrop-color setting to overview {}Ivan Molodetskikh
2025-04-28Replace Smithay's SolidColor elements with oursIvan Molodetskikh
Must've forgotten about these back when I replaced others.
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-26overview: Activate window upon dropping from interactive moveIvan Molodetskikh
2025-04-26layout/tab_indicator: Fix negative gapIvan Molodetskikh
Regressed in a recent commit that added max1.
2025-04-25Fix panic when interactively moving to invisible workspaceIvan Molodetskikh
Introduced in the interactive move between workspaces commit.
2025-04-25hotkey_overlay: Show the ToggleOverview bindIvan Molodetskikh
2025-04-25Implement interactive move to a new workspace above/betweenIvan Molodetskikh
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-25Implement DnD hold to activate window or workspaceIvan Molodetskikh
2025-04-25overview: Add DnD up/down scrollingIvan Molodetskikh
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-25Render workspaces separately with gaps betweenIvan Molodetskikh
This design makes more sense spatially, and is required for the Overview. Gaps also make it clear how clipping windows to workspace bounds works. Background and bottom layer-shell surfaces get duplicated for each workspace, while top and overlay stay "on top".
2025-04-25layout/monitor: Extract activate_workspace_with_anim_config()Ivan Molodetskikh
2025-04-25Put interactively moved window on top of background and bottom layer popupsIvan Molodetskikh
2025-04-25layout: Extract interactive_moved_window_under() and add output checkIvan Molodetskikh
Fixes interactively moved window getting input on every output rather than just its own.
2025-04-25Extract mapped_hit_data()Ivan Molodetskikh
2025-04-25Pass target workspace to view offset grabIvan Molodetskikh
2025-04-25layout/scrolling: Support view offset anim during gestureIvan Molodetskikh
Brings back moving the newly active window into focus upon interactive move dragging out.
2025-04-25layout/monitor: Cache scale, view_size, working_areaIvan Molodetskikh
2025-04-25layout/monitor: Don't consider workspace switch in ↵Ivan Molodetskikh
active_tile_visual_rectangle() This only did something when in the middle of a touchpad gesture, and it didn't really make sense for that edge case.
2025-04-25layout/monitor: Extract add_workspace_at()Ivan Molodetskikh
2025-04-25Add with_alpha() to shader and shadow elementIvan Molodetskikh