aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2024-02-12ext-foreign-toplevel-list: Implement protocolMerlin Lex
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
2024-01-20Add debug flag to re-enable wl_drmSimon Ser
7e69a7076fc8 ("Drop wl_drm") has dropped wl_drm, however a lot of software wasn't quite ready for this (Xwayland, libva, amdvlk). Keep wl_drm disabled by default to pressure the wl_drm phase-out, but add a -Dlegacy-wl-drm flag for users to restore the previous behavior in the meantime. References: https://github.com/swaywm/sway/issues/7897
2024-01-18scene_graph: port wlr_forgein_toplevel_management output enter/leave eventsAlexander Orzechowski
2024-01-18remove damage debug optionsAlexander Orzechowski
Now that we use wlr_scene, wlroots handles these. If available use the wlroots debug options instead.
2024-01-18scene_graph: Implement toplevel clippingAlexander Orzechowski
2024-01-18container: Don't track outputsAlexander Orzechowski
The scene graph abstraction does this for us
2024-01-18Delete old damage tracking codeAlexander Orzechowski
The new scene graph abstraction handles this for us.
2024-01-18scene_graph: Port view saved buffersAlexander Orzechowski
2024-01-18scene_graph: Port xwaylandAlexander Orzechowski
2024-01-18scene_graph: Port xdg_shellAlexander Orzechowski
2024-01-18transaction: ready signals will return success boolsAlexander Orzechowski
2024-01-18scene_graph: Port container server side decorationsAlexander Orzechowski
2024-01-18scene_graph: Port layer_shellAlexander Orzechowski
2024-01-18input: Query scene graph for relevant surface/node intersectionsAlexander Orzechowski
2024-01-18Introduce sway_text_nodeAlexander Orzechowski
This is a helper on top of a wlr_scene_buffer that will handle text rendering for us.
2024-01-18renderer: Remove in favor of scene_graphAlexander Orzechowski
2024-01-18seat: Remove dead seatop_render functionAlexander Orzechowski
2024-01-18scene_graph: Port ext_session_v1Alexander Orzechowski
2024-01-18scene_graph: Port seat drag iconsAlexander Orzechowski
2024-01-18renderer: Render scene_graphAlexander Orzechowski
2024-01-18scene_graph: Introduce sway_scene_descriptorAlexander Orzechowski
Across a wayland compositor, there are multiple shells: It can be a toplevel, or a layer_shell, or even something more meta like a drag icon or highlight indicators when dragging windows around. This object lets us store values that represent these modes of operation and keep track of what object is being represented.
2024-01-18scene_graph: Maintain `wlr_scene_node`s for the sway tree.Alexander Orzechowski
2024-01-18view: init function should return a success boolAlexander Orzechowski
2024-01-18desktop: Rename layers to shell_layersAlexander Orzechowski
This code will be deleted later, but for the time being rename it so it doesn't conflict with future properties.
2024-01-02input: reconfigure send_events on output hotplugSimon Ser
Closes: https://github.com/swaywm/sway/issues/7890
2023-12-28Remove wlr_presentation in sway_server structBillli11
It is no longer in use.
2023-12-13output: Destroy when output layout is destroyedAlexander Orzechowski
Since output layout is destroyed when the wayland display is destroyed we run into a destroy listener order problem: Either the display starts destroying the outputs first, in which case we're good: The existing handling will clean up. However, things go wrong if the display decides to destroy the output layout first. In this case, sway will hold invalid references to the output layout as part of each output so that when it finally goes to destroy them, sway will dereference destroyed output layout bits. Ref: https://github.com/swaywm/sway/pull/6844#issuecomment-1843599513
2023-12-13input/seat: rename seat_set_exclusive_client()Simon Ser
2023-12-13input/seat: drop exclusive_clientSimon Ser
This was a input-inhibit concept.
2023-12-12Detect Nvidia proprietary driver via drmGetVersion()Simon Ser
This is less punishing for users with the Nvidia driver loaded but not used by Sway (e.g. for CUDA).
2023-11-23common: move load_image to swaybarManuel Stoeckl
swaynag, swaymsg, and sway do not use this function and are unlikely to in the future.
2023-11-23common: rename load_background_image to load_imageManuel Stoeckl
2023-11-23common: Drop unused render_background_imageManuel Stoeckl
And the associated background_mode enum.
2023-11-23xdg-shell: chase events updateKirill Primak
2023-11-23Pass wl_display to wlr_output_layoutSimon Ser
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
2023-11-22Chase wlroots!4440llyyr
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4440
2023-11-21Add support for security-context-v1Simon Ser
As a first step, deny access to privileged protocols to sandboxed apps. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3589
2023-11-16input/input-manager: drop input_manager_configure_all_inputsSimon Ser
This is now unused.
2023-11-16Only reconfigure input mappings on output changeSimon Ser
Fully reconfiguring all input devices on output change takes a loooong time. Let's just reconfigure what we need: only mappings depend on outputs.
2023-10-05Drop support for KDE's idle protocolSimon Ser
We support the standard idle-notify protocol since Sway 1.8.
2023-09-07i3 compat: Adding support for the `all` criteriaJohan Sköld
Matches all views. i3 PR: https://github.com/i3/i3/pull/4460 Fixes #7110
2023-08-23Fix typoluzpaz
2023-07-31output: drop current_modeSimon Ser
This is now unused.
2023-07-31swaynag: Implement wp_cursor_shape_v1Alexander Orzechowski
2023-07-31swaybar: Implement wp_cursor_shape_v1Alexander Orzechowski
2023-07-24Add support for cursor-shape-v1Simon Ser
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
2023-06-26input: Move wlr_pointer_gestures_v1 to sway_input_managerMark Bolhuis
On multi-seat configurations a zwp_pointer_gestures_v1 global was created for every seat. Instead, create the global once in the input manager, to be shared across all seats.
2023-06-23idle-inhibit-v1: simplify with server globalSimon Ser
We only have a single running server, no need to keep track of multiple server instances. Also no need to support multiple idle inhibit managers.
2023-06-16input/libinput: add scroll_button_lock methodCezary Drożak
Closes https://github.com/swaywm/sway/issues/6987 Co-authored-by: JJGadgets <git@jjgadgets.tech> Co-authored-by: DeltaWhy <mike5713@gmail.com>
2023-06-08Handle gamma-control-v1 set_gamma eventsSimon Ser
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046