aboutsummaryrefslogtreecommitdiff
path: root/src/protocols
AgeCommit message (Collapse)Author
2025-01-18implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)sodiboo
* stub keyboard-shortcuts-inhibit and virtual-pointer impls * implement keyboard-shortcuts-inhibit * implement virtual-pointer * deal with supressed key release edge-case; add allow-inhibiting property * add toggle-keyboard-shortcuts-inhibit bind * add InputBackend extensions; use Device::output() for absolute pos events * add a `State` parameter to the backend exts and better document future intent * Add some tests for is_inhibiting_shortcuts --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2024-12-22Bump MSRV to `1.80`bbb651
It should be old enough for most distros, and allows upgrading to `zbus 5.x`
2024-11-02Add with_toplevel_role() util functionIvan Molodetskikh
2024-09-03Use libdisplay-info for make/model/serial parsing, implement throughoutIvan Molodetskikh
2024-09-01Implement the event stream IPCIvan Molodetskikh
2024-08-22feature: add on-demand vrr (#586)Michael Yang
* feature: add on-demand vrr * Don't require connector::Info in try_to_set_vrr * Improve VRR help message * Rename connector_handle => connector * Fix tracy span name * Move on demand vrr flag set higher * wiki: Mention on-demand VRR --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
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-08screencopy: Change integer to fractional scaleIvan Molodetskikh
That *was* wrong after all.
2024-08-08screencopy: Wait for SyncPoint before submittingIvan Molodetskikh
2024-08-08screencopy: Fix transformed damage calculationIvan Molodetskikh
2024-08-08screencopy: Clarify the use of integer scaleIvan Molodetskikh
2024-08-08screencopy: Use monotonic timeIvan Molodetskikh
This way it matches up with presentation-time.
2024-08-08feat: update screencopy to version 3Michael Yang
2024-07-05Put Outputs config into a dedicated structIvan Molodetskikh
2024-07-05Implement wlr-output-management protocoltet
fix: wlr_output_management use WeakOutput
2024-05-20Fix no outputs case handling in a few placesIvan Molodetskikh
2024-03-22Allow clippy false positive harderIvan Molodetskikh
2024-03-22Allow clippy false positiveIvan Molodetskikh
2024-03-19Wrap mapped windows in a MappedIvan Molodetskikh
2024-03-18Track keyboard focus componentIvan 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-12Fix new clone_from Clippy lintsIvan Molodetskikh
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-01-30foreign_toplevel: Use OutputHandler to send output_enter on demandIvan Molodetskikh
2024-01-30foreign_toplevel: Update the focused window lastIvan Molodetskikh
2024-01-30foreign_toplevel: Change activated to mean keyboard focusIvan Molodetskikh
2024-01-30Implement wlr-foreign-toplevel-managementIvan Molodetskikh
The parent event isn't sent but whatever.