aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
AgeCommit message (Collapse)Author
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 xdg-foreignIvan Molodetskikh
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-03-01Correctly handle parsing of Binds and DefaultColumnWidth (#234)sodiboo
* add dev dependencies to flake * parse only one default-column-width * require exactly one action per bind, and unique keys for binds * use proper filename for config errors if possible * fix duplicate keybinds after invalid action, lose some sanity
2024-02-28Update SmithayIvan Molodetskikh
2024-02-28chore: update smithayChristian Meissl
2024-02-24Add open-fullscreen window ruleIvan Molodetskikh
2024-02-23Handle un-/fullscreen after initial configureIvan Molodetskikh
2024-02-23Rename surface -> toplevelIvan Molodetskikh
2024-02-23Add open-maximized window ruleIvan Molodetskikh
2024-02-23Implement explicit unmapped window state trackingIvan Molodetskikh
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-21Change non-bug error! to warn!Ivan Molodetskikh
Be consistent with our usage.
2024-02-18Fix fullscreen handling before initial configureIvan Molodetskikh
2024-02-14Add the beginnings of window rulesIvan Molodetskikh
2024-02-13Do initial configuration right before sending initial configureIvan Molodetskikh
Let the toplevel fill in some details about itself.
2024-02-12Implement DRM leasingShawn Wallace
Closes #178
2024-02-09Implement idle-notify and idle-inhibitIvan Molodetskikh
2024-02-07Implement window open animationsIvan Molodetskikh
2024-02-07Open dialogs to the right of their parent, don't steal focusIvan Molodetskikh
2024-02-05Fix Clippy warningsIvan Molodetskikh
2024-02-03Support fullscreen for new windowsIvan 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-23Ignore popup grabs when IME keyboard grab is activeIvan Molodetskikh
Doing this properly will require more refactors, potentially in Smithay. For now let's just ignore popup grabs to make popups work.
2024-01-16Change message from debug to traceIvan Molodetskikh
2024-01-15Implement security-context, hide some protocols from itIvan Molodetskikh
2024-01-15Hide decoration globals when we need CSDIvan Molodetskikh
This gets the current SDL2 with libdecor working.
2024-01-14xdg-decoration: Document SDL2 bugIvan Molodetskikh
2024-01-14Revert "Be more insistent on CSD by default"Ivan Molodetskikh
This reverts commit 43e2cf14d2994299298b05fc194110e875aeecf4. SDL2 until very recently (unreleased version) has had a bug where changing the decoration mode to client-side during its initial window creation would keep the window permanently hidden. Breaking all SDL2 apps for years to come is unfortunately not a good solution.
2024-01-14xdg-decoration: Always send configureIvan Molodetskikh
The protocol wording seems to require it.
2024-01-13Implement popup grabsIvan Molodetskikh
2024-01-12Remove obsolete FIXME commentIvan Molodetskikh
It's implemented now.
2024-01-07Be more insistent on CSD by defaultIvan Molodetskikh
By default I want CSD so that people don't necessarily have to learn all of the shortcuts right away, and can at least use the X to close windows.
2024-01-03Implement multi-GPU supportIvan Molodetskikh
Rendering always happens on the primary GPU.
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 clones up from find_window_and_outputIvan Molodetskikh
2023-12-24Move output_size to utilsIvan Molodetskikh
2023-12-21Implement pointer-constraintsIvan Molodetskikh
2023-12-20Try unconstraining popups with padding firstIvan Molodetskikh
2023-12-19Implement popup unconstrainingIvan Molodetskikh
Using my new Smithay implementation.
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-05Prevent stealing focus from fullscreen clientsIvan Molodetskikh
Got hit by that Syncthing disconnect dialog a few times while playing games.
2023-12-04Implement relative-pointerIvan Molodetskikh
Xwayland actually makes use of it, so I can finally verify that it works!