aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/mod.rs
AgeCommit message (Collapse)Author
2024-05-15Clear fd flags before sending selectionIvan 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-09Update SmithayIvan Molodetskikh
2024-04-01Fix and add missing calls to DRM leasingIvan Molodetskikh
2024-03-28tty: Add check for zero gamma sizeIvan Molodetskikh
2024-03-19Wrap mapped windows in a MappedIvan Molodetskikh
2024-03-19Move PartialEq from LayoutElement to an associated typeIvan Molodetskikh
2024-03-15Store gamma changes to apply on session resumeIvan Molodetskikh
2024-03-15gamma-control: Misc. clean ups and fixesIvan Molodetskikh
2024-03-15Adds support for wlr_gamma_control_unstable_v1 protocolphuhl
2024-03-12Reapply "Add wp-viewporter"Ivan Molodetskikh
This reverts commit 40cec34aa4a7f99ab12b30cba1a0ee83a706a413. The Chromium issues are now fixed.
2024-03-10Revert "Add wp-viewporter"Ivan Molodetskikh
This reverts commit 348690afb637514a38ad53fd61bf5e0102e419d6. Apparently this breaks input in Chromium: the input region won't resize together with the window.
2024-03-08Add wp-viewporterIvan Molodetskikh
Doesn't hurt I guess.
2024-03-08Implement wlr-screencopy v1 (#243)sodiboo
* Implement wlr-screencopy * Finish the implementation Lots of changes, mainly to fix transform handling. Turns out, grim expects transformed buffers and untransforms them by itself using info from wl_output. This means that render helpers needed to learn how to actually render transformed buffers. Also, it meant that y_invert is no longer needed. Next, moved the rendering to the Screencopy frame handler. Turns out, copy() is more or less expected to return immediately, whereas copy_with_damage() is expected to wait until the next VBlank. At least that's the intent I parse reading the protocol. Finally, brought the version from 3 down to 1, because copy_with_damage() will need bigger changes. Grim still works, others not really, mainly because they bind v3 unnecessarily, even if they don't use the damage request. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-02-28chore: update smithayChristian Meissl
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-21Change non-bug error! to warn!Ivan Molodetskikh
Be consistent with our usage.
2024-02-12Implement DRM leasingShawn Wallace
Closes #178
2024-02-09Implement idle-notify and idle-inhibitIvan Molodetskikh
2024-02-05Fix Clippy warningsIvan Molodetskikh
2024-01-30foreign_toplevel: Use OutputHandler to send output_enter on demandIvan Molodetskikh
2024-01-30Implement wlr-foreign-toplevel-managementIvan Molodetskikh
The parent event isn't sent but whatever.
2024-01-28input: update keyboard led stateChristian Meissl
2024-01-16Change message from debug to traceIvan Molodetskikh
2024-01-15Implement security-context, hide some protocols from itIvan Molodetskikh
2024-01-03Move import_dmabuf to backendsIvan Molodetskikh
2024-01-01tty: Disable dmabuf global before destroyingIvan Molodetskikh
2023-12-31Move DmabufState to NiriIvan Molodetskikh
2023-12-24Move output_size to utilsIvan Molodetskikh
2023-12-21Implement pointer-constraintsIvan Molodetskikh
2023-12-19Fix some cases of incomplete search for surface outputIvan Molodetskikh
Most visibly, fixes screen not immediately redrawing upon layer-shell popup commits. There's still a number of places with questionable handling left, mostly to do with subsurfaces (like, find_popup_root_surface() doesn't go up to subsurfaces), and session-lock. I don't have good clients to test these.
2023-12-04Implement relative-pointerIvan Molodetskikh
Xwayland actually makes use of it, so I can finally verify that it works!
2023-11-24Upgrade dependenciesIvan Molodetskikh
2023-10-31Change cursor to crosshairs when taking a screenshotIvan Molodetskikh
2023-10-30Add cursor-shape protocolIvan Molodetskikh
2023-10-29Add support for wl_compositor@v6Kirill Chibisov
2023-10-24Update smithay to the latest gitKirill Chibisov
This fixes IME handling.
2023-10-24Implement ext-session-lockIvan Molodetskikh
2023-10-10Store screenshot in clipboardIvan Molodetskikh
2023-10-05Refactor layout for configurability, add preset-column-widths optionIvan Molodetskikh
layout.rs finally gets a struct actually named Layout.
2023-10-02protocols: add wlr_data_controlKirill Chibisov
Also update smithay to the latest git hash. Fixes #20.
2023-10-01protocols: add IME protocolsKirill Chibisov
This commit adds support for the `input_method_v2`, `text_input_v3`, and `virtual_keyboard`. The implementation follows the one in the anvil and catacomb, but those protocols are mostly enabled and forget type of things. Fixes #22.
2023-09-27Update primary selection focusIvan Molodetskikh
2023-09-26Implement primary selectonIvan Molodetskikh
Firefox clipboard doesn't always work without it.
2023-09-26Avoid unwraps in more placesIvan Molodetskikh
2023-09-03Send scanout feedbacks to surfacesIvan Molodetskikh
2023-09-03Add initial dmabuf feedback implementationIvan Molodetskikh
2023-09-03Move all traits one layer upIvan Molodetskikh
2023-09-02Add touchpad gesture supportIvan Molodetskikh