aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-11-05layout: Preserve active workspace for removed outputsIvan Molodetskikh
2024-11-05layout: Move some types further downIvan Molodetskikh
2024-11-05Disable laptop panel when the lid is closedIvan Molodetskikh
2024-11-05Extract is_laptop_panel() to utilsIvan Molodetskikh
2024-11-03Implement scroll_factor mouse and touchpad setting (#730)elipp
* Implement scroll_factor mouse and touchpad setting * Change to FloatOrInt, add docs * Also change v120 values --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-11-03xdg: cleanup activation tokensChristian Meissl
valid tokens will stay around until explicitly cleaned-up. remove the token after it has been successfully used or we consider it timed out to prevent leaking the memory used by the activation tokens
2024-11-03Remove pointer_grab_ongoing in favor of checking the actual grabIvan Molodetskikh
2024-11-03Use is() instead of downcast().is_some()Ivan Molodetskikh
2024-11-03Correct pointer constraint activation logicIvan Molodetskikh
Internally it uses the pointer focus, so make sure we have up-to-date focus before setting it.
2024-11-03Clarify redraw in refresh_pointer_focus()Ivan Molodetskikh
2024-11-03Rename pointer_focus to pointer_contents, clarify commentsIvan Molodetskikh
This is not pointer focus and it shouldn't be pointer focus, let's be clear about it.
2024-11-03Rename surface_under_and_global_space() to contents_under()Ivan Molodetskikh
2024-11-02Replace current_state() with with_toplevel_role()Ivan Molodetskikh
Avoid microallocations that happen in current_state().
2024-11-02Add with_toplevel_role() util functionIvan Molodetskikh
2024-11-02Add Tracy allocation profiling feature flagIvan Molodetskikh
2024-11-02Follow window corner radius in insert hintIvan Molodetskikh
2024-11-02Add gradient support for the insert hintIvan Molodetskikh
Implement it via FocusRing which already handles SolidColor vs. Border render element.
2024-11-02Change TODO to FIXMEIvan Molodetskikh
2024-11-02Remove obsolete TODOIvan Molodetskikh
2024-10-29Don't show the cursor on programmatic movementIvan Molodetskikh
For keyboard-only use, especially with warp-mouse-to-focus, the intention is that the cursor stays hidden from keyboard and other automatic actions, and only shows up with an actual mouse movement.
2024-10-29[cfg-breaking] Rename hide-on-key-press to hide-when-typingIvan Molodetskikh
I originally preferred on-key-press, but when-typing feels more natural and matches sway. This setting had not been in a stable release yet so this is not stable release cfg breaking.
2024-10-28Deny toplevel move from DnD grabsIvan Molodetskikh
Work around https://gitlab.gnome.org/GNOME/gtk/-/issues/7113
2024-10-27Implement touch interactive resizeIvan Molodetskikh
2024-10-27Implement touch interactive moveIvan Molodetskikh
2024-10-27Implement interactive window moveRasmus Eneman
2024-10-27Require Clone for LayoutElement::IdIvan Molodetskikh
Now that we have MappedId, this could really be Copy. But it's quite a big refactor, so for now just require Clone as I'll need it.
2024-10-24ShaderRenderElement use borrowed Uniforms to minimize copy (#756)gmorer
2024-10-20tty: Guard against output disappearing immediately after connectionIvan Molodetskikh
Fixes https://github.com/YaLTeR/niri/issues/739
2024-10-20Use new Smithay method for turning off DPMSIvan Molodetskikh
2024-10-19layout: Update tile config in Column::add_tile_at()Ivan Molodetskikh
2024-10-18support binding actions to switches (#747)Christian Meissl
* support spawn action on switch events this adds a new config section named `switch-events` that allows to bind `spawn` action to certain switch toggles. * Expand docs --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-10-18layout: Add missing active idx check before setting activate prev on removalIvan Molodetskikh
2024-10-17Set CLOEXEC on logind inhibit fdIvan Molodetskikh
Don't leak it to child processes.
2024-10-17layout: Use remove_column_by_idx in remove_tile_by_idxIvan Molodetskikh
2024-10-17layout: Accept anim_config in remove_column_by_idxIvan Molodetskikh
2024-10-17Add scroll-button property for Touchpad, Mouse, Trackpoint, Trackball (#744)chillinbythetree
2024-10-16Implement input configuration for trackballs (#743)tazjin
* niri-config: add trackball configuration struct The available options are mostly the same as for mice. I've verified that each option is applicable to trackballs in the libinput CLI. * input: apply trackball config settings
2024-10-16layout/monitor: Extract workspace_under()Ivan Molodetskikh
2024-10-15Draw the layout as inactive when layer-shell has focusIvan Molodetskikh
2024-10-15input: apply output transform for tablet input (#737)Christian Meissl
when mapping a tablet input to an output apply the output transform just like we already do for touch input.
2024-10-14layout: Return Tile + info upon removalIvan Molodetskikh
2024-10-14layout/tests: Use existing methodIvan Molodetskikh
2024-10-14layout: Remove unnecessary vec lookupIvan Molodetskikh
2024-10-14layout: Extract Monitor::workspaces_with_render_positions()Ivan Molodetskikh
2024-10-12layout: Fix expel animation of the smaller window in columnIvan Molodetskikh
2024-10-12Implement ConsumeOrExpelWindow{Left,Right} by idIvan Molodetskikh
2024-10-12layout/workspace: Add add_tile_to_column()Ivan Molodetskikh
2024-10-11Support empty column in tile_offsetsIvan Molodetskikh
Will be needed for the new inserting tile code.
2024-10-10layout: Add clarifying commentIvan Molodetskikh
2024-10-10layout: Deduplicate default width resolutionIvan Molodetskikh