aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
AgeCommit message (Collapse)Author
2024-09-01Change MappedIt::get() to return u64Ivan Molodetskikh
2024-08-23Register deadline timer for closing transactionIvan Molodetskikh
2024-08-23Implement window close transactionIvan Molodetskikh
Mainly visible with disabled animations.
2024-08-22Implement resize transactionsIvan Molodetskikh
2024-08-22Handle dmabuf blocker separately in toplevel pre-commitIvan Molodetskikh
Will be needed for transactions.
2024-08-13Implement stub mutter-x11-interopIvan Molodetskikh
Allows xdp-gnome dialogs to work with X11 clients. Fixes https://github.com/YaLTeR/niri/issues/594
2024-08-08feat: update screencopy to version 3Michael Yang
2024-07-08bump smithayChristian Meissl
2024-07-06Implement on-demand layer-shell keyboard focusIvan Molodetskikh
2024-07-05Put Outputs config into a dedicated structIvan Molodetskikh
2024-07-05Implement wlr-output-management protocoltet
fix: wlr_output_management use WeakOutput
2024-06-28Implement initial window screencastingIvan Molodetskikh
2024-06-19Handle KDE decorations in Mapped::has_ssdKirill Chibisov
This fixes an issue with default CSD border being drawn for SSD rendering firefox, because only xdg decorations were checked.
2024-06-18Queue redraw after activation in xdg-activationIvan Molodetskikh
2024-06-18Remove unnecessary returnIvan Molodetskikh
2024-06-18Refactor layout to fractional-logicalIvan Molodetskikh
Lets borders, gaps, and everything else stay pixel-perfect even with fractional scale. Allows setting fractional border widths, gaps, struts. See the new wiki .md for more details.
2024-06-18Enable fractional scalingIvan Molodetskikh
2024-06-10Signal fractional scale to clientsIvan Molodetskikh
Doesn't do anything yet because we don't bind the fractional scale manager and don't allow fractional scales.
2024-06-10Implement xdg_activation_v1Peter Collingbourne
Fixes #30.
2024-06-09Fix typos (#429)Ujp8LfXBJ6wCPR
* Fix typos reported by "typos" crate https://github.com/crate-ci/typos * Ignore typo datas -> data See https://github.com/crate-ci/typos?tab=readme-ov-file#false-positives for more configureability. --------- Co-authored-by: Carl Hjerpe <git@hjerpe.xyz> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-05-20Fix no outputs case handling in a few placesIvan Molodetskikh
2024-05-17Redraw on lock surface children commitsIvan Molodetskikh
2024-05-16Update Smithay and other depsIvan Molodetskikh
2024-05-16Implement at-startup window ruleIvan Molodetskikh
2024-05-16Implement named workspacesGergely Nagy
This is an implementation of named, pre-declared workspaces. With this implementation, workspaces can be declared in the configuration file by name: ``` workspace "name" { open-on-output "winit" } ``` The `open-on-output` property is optional, and can be skipped, in which case the workspace will open on the primary output. All actions that were able to target a workspace by index can now target them by either an index, or a name. In case of the command line, where we do not have types available, this means that workspace names that also pass as `u8` cannot be switched to by name, only by index. Unlike dynamic workspaces, named workspaces do not close when they are empty, they remain static. Like dynamic workspaces, named workspaces are bound to a particular output. Switching to a named workspace, or moving a window or column to one will also switch to, or move the thing in question to the output of the workspace. When reloading the configuration, newly added named workspaces will be created, and removed ones will lose their name. If any such orphaned workspace was empty, they will be removed. If they weren't, they'll remain as a dynamic workspace, without a name. Re-declaring a workspace with the same name later will create a new one. Additionally, this also implements a `open-on-workspace "<name>"` window rule. Matching windows will open on the given workspace (or the current one, if the named workspace does not exist). Signed-off-by: Gergely Nagy <niri@gergo.csillger.hu>
2024-05-15Clarify surface destroyed commentIvan Molodetskikh
2024-05-15Use correct function name in commentIvan Molodetskikh
2024-05-15Clear fd flags before sending selectionIvan Molodetskikh
2024-05-14Refactor column and tile offsets, fix a few issuesIvan Molodetskikh
2024-05-11Implement Mod+MMB view offset gestureIvan Molodetskikh
2024-05-11Group input-related things in a subfolderIvan Molodetskikh
2024-05-11Reset double click timer on gesture triggerIvan Molodetskikh
2024-05-11Don't pass double-resize-right click to windowIvan Molodetskikh
2024-05-11Implement double-resize-click to reset height/toggle full widthIvan Molodetskikh
2024-05-11Stop confining the pointer during resize grabIvan Molodetskikh
2024-05-10Implement interactive mouse resizingIvan Molodetskikh
2024-05-05Don't unwrap clientIvan Molodetskikh
If Smithay posts an error, client will become None immediately, even while the surface may still receive events.
2024-05-01Move unmap snapshot from Mapped to TileIvan Molodetskikh
2024-04-25Only give keyboard focus to exclusive layer-shell surfacesIvan Molodetskikh
Workaround until we properly support on-demand. See: https://github.com/YaLTeR/niri/issues/308
2024-04-24Implement border window ruleIvan Molodetskikh
2024-04-23Fix spelling mistakeIvan Molodetskikh
2024-04-23Unconstrain InputMethod's PopupSurfaceKirill Chibisov
Make IME popup to be visible inside the parent and not obscure the text input rectangle region. Fixes https://github.com/YaLTeR/niri/issues/221
2024-04-23Use PopupKind instead of PopupSurfaceKirill Chibisov
2024-04-13Unify Animation- and RenderSnapshotIvan Molodetskikh
2024-04-13Implement window resize animationsIvan Molodetskikh
2024-04-13Move unmapped check to a pre-commit hookIvan Molodetskikh
2024-04-10Reimplement window closing anim in an efficient wayIvan Molodetskikh
- Keep a root surface cache to be accessible in surface destroyed() - Only snapshot during / right before closing, rather than every frame - Store textures rather than elements to handle scale and alpha properly
2024-04-09Implement window closing animationsIvan Molodetskikh
2024-04-09Add missing mouse warp to commit unmapIvan Molodetskikh
2024-04-09Update SmithayIvan Molodetskikh