aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAge
...
* input/seat: drop exclusive_clientLibravatar Simon Ser2023-12-13
| | | | This was a input-inhibit concept.
* Detect Nvidia proprietary driver via drmGetVersion()Libravatar Simon Ser2023-12-12
| | | | | This is less punishing for users with the Nvidia driver loaded but not used by Sway (e.g. for CUDA).
* common: move load_image to swaybarLibravatar Manuel Stoeckl2023-11-23
| | | | | swaynag, swaymsg, and sway do not use this function and are unlikely to in the future.
* common: rename load_background_image to load_imageLibravatar Manuel Stoeckl2023-11-23
|
* common: Drop unused render_background_imageLibravatar Manuel Stoeckl2023-11-23
| | | | And the associated background_mode enum.
* xdg-shell: chase events updateLibravatar Kirill Primak2023-11-23
|
* Pass wl_display to wlr_output_layoutLibravatar Simon Ser2023-11-23
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
* Chase wlroots!4440Libravatar llyyr2023-11-22
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4440
* Add support for security-context-v1Libravatar Simon Ser2023-11-21
| | | | | | | As a first step, deny access to privileged protocols to sandboxed apps. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3589
* input/input-manager: drop input_manager_configure_all_inputsLibravatar Simon Ser2023-11-16
| | | | This is now unused.
* Only reconfigure input mappings on output changeLibravatar Simon Ser2023-11-16
| | | | | | Fully reconfiguring all input devices on output change takes a loooong time. Let's just reconfigure what we need: only mappings depend on outputs.
* Drop support for KDE's idle protocolLibravatar Simon Ser2023-10-05
| | | | We support the standard idle-notify protocol since Sway 1.8.
* i3 compat: Adding support for the `all` criteriaLibravatar Johan Sköld2023-09-07
| | | | | | Matches all views. i3 PR: https://github.com/i3/i3/pull/4460 Fixes #7110
* Fix typoLibravatar luzpaz2023-08-23
|
* output: drop current_modeLibravatar Simon Ser2023-07-31
| | | | This is now unused.
* swaynag: Implement wp_cursor_shape_v1Libravatar Alexander Orzechowski2023-07-31
|
* swaybar: Implement wp_cursor_shape_v1Libravatar Alexander Orzechowski2023-07-31
|
* Add support for cursor-shape-v1Libravatar Simon Ser2023-07-24
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
* input: Move wlr_pointer_gestures_v1 to sway_input_managerLibravatar Mark Bolhuis2023-06-26
| | | | | | | | 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.
* idle-inhibit-v1: simplify with server globalLibravatar Simon Ser2023-06-23
| | | | | | 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.
* input/libinput: add scroll_button_lock methodLibravatar Cezary Drożak2023-06-16
| | | | | | | Closes https://github.com/swaywm/sway/issues/6987 Co-authored-by: JJGadgets <git@jjgadgets.tech> Co-authored-by: DeltaWhy <mike5713@gmail.com>
* Handle gamma-control-v1 set_gamma eventsLibravatar Simon Ser2023-06-08
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046
* Add support for wlr-layer-shell ON_DEMAND keyboard interactivityLibravatar Erik Reider2023-06-06
| | | | | This allows for layer shell surfaces to receive focus while the surface is explicitly focused, i.e allowing text fields to receive keyboard input just like a regular surface.
* chore: chase wlroots map logic unificationLibravatar Kirill Primak2023-06-02
|
* Add support for touch cancel eventsLibravatar hrdl2023-05-04
|
* render: Use wlr_render_passLibravatar Alexander Orzechowski2023-05-02
|
* render: pass rendering state together in a structLibravatar Alexander Orzechowski2023-05-02
| | | | This lets us easily add rendering state that we need in the future
* swaynag: add printf attribute to swaynag_log()Libravatar Simon Ser2023-04-14
|
* config: add printf attribute to config_add_swaynag_warning()Libravatar Simon Ser2023-04-14
|
* commands: add printf attribute to cmd_results_new()Libravatar Simon Ser2023-04-14
| | | | And fix the resulting build failures.
* pango: add printf attributeLibravatar Simon Ser2023-04-14
| | | | | | | | This allows the compiler to catch mismatches between the format string and the arguments passed in. Need to add -Wno-format-zero-length because we pass an empty string on purpose in swaybar/render.c.
* Add format_str() and vformat_str()Libravatar Simon Ser2023-04-14
| | | | Simple helpers to allocate and format a string.
* Use output_match_name_or_id() in apply_output_config_to_outputs()Libravatar Simon Ser2023-04-14
|
* root: Try to preserve relative positions of floating containersLibravatar Ankit Pandey2023-03-14
| | | | | | | | | | | | | | | This makes the behavior of floating containers more consistent with i3. The coordinates of the container are scaled when the size of the workspace it is on changes or when the container is moved between workspaces on different outputs. For scratchpad containers, add a new state that preserves the dimensions of the last output the window appeared on. This is necessary because after a container is hidden in the scratchpad, we expect it to be in the same relative position on the output when it reappears. We can't just use the container's attached workspace because that workspace's dimensions might have been changed or the workspace as a whole could have been destroyed.
* Move output commit out of output_render()Libravatar Simon Ser2023-02-22
| | | | That way output_render() only does what it says on the tin.
* Constify pixman_region32_t for rendering functionsLibravatar Simon Ser2023-02-22
|
* Implement seatop_touchLibravatar Stacy Harper2023-02-20
| | | | | | | | | | Atm we got issue with the touch position sent to the clients. While holding contact, leaving the initial container will continue to send motion event to the client but with the new local position from the new container. This seatop goal is to send the position of the touch event, relatively to the initial container layout position.
* Update surface fractional scale on output changeLibravatar Simon Ser2023-02-20
| | | | Closes: https://github.com/swaywm/sway/issues/7464
* Introduce surface_{enter,leave}_output()Libravatar Simon Ser2023-02-10
| | | | We can centralize all output-related surface events from there.
* launcher: support external launcher tokensLibravatar Ronan Pigott2023-02-05
|
* launcher: make launcher context seat awareLibravatar Ronan Pigott2023-02-05
|
* view: make request_activate take a seatLibravatar Ronan Pigott2023-02-05
| | | | | This way we can move focus on the same seat an activation token originates from.
* ipc: add support for output eventLibravatar Simon Ser2023-02-01
| | | | | | For compatibility with i3 [1]. [1]: https://i3wm.org/docs/ipc.html#_output_event
* input/tablet: handle focusing NULL surfaceLibravatar Kirill Primak2023-01-16
| | | | | Additionally, rename the function responsible for switching focus to match its behavior better.
* swaynag: call swaynag_destroy on clean exitLibravatar Manuel Stoeckl2023-01-16
| | | | | | | | | | | And fix the fallout of the swaynag_destroy having evolved without being tested: * wl_display_disconnect was called too early * `button_close` and `swaynag.details.button_details` needed to be heap allocated, since they are added to swaynag.buttons, and all entries of swaynag.buttons are freed in swaynag_destroy * To keep things simpler, disconnect the lifetime of the 'Toggle details' button text config setting from the button itself.
* Improve tablet tool button handling.Libravatar John Chadwick2023-01-07
| | | | | | | | | | | | | | This change allows the tablet tool button to be used for floating mod resize. In addition, it attempts to ensure that tablet tool events are consistent such that tablet v2 events and pointer events will never be interleaved, and such that the tool buttons count will never fall out of sync and cause tool button emulation to break. Some of this logic is similar to what is done for tablet tool tip, but not quite identical, because of the complication that we have to deal with multiple inputs that can overlap eachother. Fixes #7036.
* Make cmd_handler.command constLibravatar Carl Smedstad2023-01-03
|
* Add missing includes & remove duplicatesLibravatar Carl Smedstad2023-01-03
|
* Remove duplicate declarationsLibravatar Carl Smedstad2023-01-03
|
* swaynag: drop swaynag_type.fontLibravatar Simon Ser2022-12-22
| | | | It's too easy to have this go out of sync with font_description.