1a3cfc5 | Simon Ser | 24 February 2024, 13:39:26 UTC | build: bump version to 1.9 | 24 February 2024, 13:39:26 UTC |
6cbc83f | Simon Ser | 17 February 2024, 13:27:27 UTC | build: bump version to 1.9-rc.4 | 17 February 2024, 13:27:27 UTC |
b4800fb | Aleksei Bavshin | 27 December 2023, 06:26:02 UTC | xdg-activation: distinguish activation and urgency requests Check if the app that requested a token has provided a valid input serial and a focused surface. Downgrade activation request to urgency otherwise. This is mostly in line with what other Wayland compositors decided to do, and offers a better security than the original logic. (cherry picked from commit d19810eba8959f052d91fd6609cef6adf36b3951) | 17 February 2024, 13:27:05 UTC |
d91779d | Ronan Pigott | 07 February 2024, 23:13:25 UTC | launcher: track the seat in the launcher ctx This is a more suitable place to track the requesting seat, since we are able to respond appropriately to destroy notifications. (cherry picked from commit f6d22f8e6886edfeca3ecbb695b02079e81ce360) | 17 February 2024, 13:27:03 UTC |
1875e03 | Simon Ser | 15 February 2024, 10:52:38 UTC | Fix build with wlroots DRM backend disabled The header is not installed by wlroots when the DRM backend is disabled. We don't need it here, so don't include it. Closes: https://github.com/swaywm/sway/issues/7943 (cherry picked from commit ca40663d4277ade2a7dfec0484db5b7881799ee4) | 17 February 2024, 13:26:57 UTC |
9a26c82 | Simon Ser | 05 February 2024, 10:10:15 UTC | commands: make primary_selection a config-only command It's not possible to switch this at runtime. (cherry picked from commit 93d391651c1ad43eb8b54449769e034eb1f2380c) | 17 February 2024, 13:26:32 UTC |
9c13ed6 | Simon Ser | 09 February 2024, 17:25:12 UTC | build: bump version to 1.9-rc.3 | 09 February 2024, 17:25:12 UTC |
1c07868 | Violet Purcell | 03 February 2024, 17:12:37 UTC | sway/config.c: only reset primary_selection at launch Otherwise, an error will be shown whenever reloading due to the value of primary_selection being reset to true. (cherry picked from commit 6b2aa8324681b2623f660c3851397761df9b70dc) | 09 February 2024, 17:23:03 UTC |
ff67f5f | Simon Ser | 02 February 2024, 17:59:55 UTC | build: bump version to 1.9-rc.2 | 02 February 2024, 17:59:55 UTC |
176f78d | Tamino Bauknecht | 12 December 2023, 21:54:31 UTC | sway/output: Improve logging of swaybg execvp failure and more checks This doesn't catch the error if a background changing command is executed via swaymsg, but improves logging. The additional checks at least propagate if e.g. forking failed. (cherry picked from commit c8676fad54bb0f4152947a6781626872bfa6ad64) | 02 February 2024, 17:51:03 UTC |
23cf639 | Simon Ser | 26 January 2024, 14:25:49 UTC | build: bump version to 1.9-rc.1 | 26 January 2024, 14:26:37 UTC |
9851599 | Simon Ser | 19 January 2024, 11:21:15 UTC | Clarify gdk-pixbuf dependency purpose swaybg is out-of-tree so not relevant here. swaybar's tray doesn't actually depend on gdk-pixbuf, but gdk-pixbuf enables more image formats for swaybar tray when available. Closes: https://github.com/swaywm/sway/issues/7913 (cherry picked from commit ae33f4eb37a8ee647907e4fef72c6a488b8b1138) | 26 January 2024, 14:16:28 UTC |
f7f5ac7 | Simon Ser | 04 January 2024, 14:01:26 UTC | Mark DRM lease protocol privileged Allowing sandboxed clients to request DRM leases has security implications. (cherry picked from commit c5fd8c050f7ddbfe3e5b7abc8f5f6ace3a3c5307) | 26 January 2024, 14:14:47 UTC |
6bf1260 | Simon Ser | 04 December 2023, 15:35:59 UTC | readme: add swaybg as optional dep (cherry picked from commit fa294a9094b673e99e5de0c456dc5a6b9ff7db55) | 26 January 2024, 14:14:42 UTC |
37fce86 | Simon Ser | 30 December 2023, 19:22:01 UTC | input: reconfigure send_events on output hotplug Closes: https://github.com/swaywm/sway/issues/7890 (cherry picked from commit 95265fba59bce77ed52a74fcc21abf7f668c01b2) | 26 January 2024, 14:14:37 UTC |
80ea529 | Alexander Orzechowski | 06 December 2023, 20:47:24 UTC | output: Destroy when output layout is destroyed 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 (cherry picked from commit bbabb9aae8d7b7771d02489b6f20301cf1c090c9) | 26 January 2024, 14:14:24 UTC |
2bba8a8 | Tamino Bauknecht | 12 December 2023, 13:53:50 UTC | sway: raise error on non-accessible background file (cherry picked from commit 255ff665c53c8d042bce0c4cff4081d2bd35beeb) | 14 December 2023, 09:49:20 UTC |
79f82b3 | Simon Ser | 05 December 2023, 16:04:12 UTC | desktop/xwayland: correctly handle association on o-r change When override-redirect changes, we need to setup/teardown listeners, just like we do for map. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3773 (cherry picked from commit bf2b79b2845a070d84aafaf95e6cfcf9af7eeb9b) | 14 December 2023, 09:48:56 UTC |
2a2e65b | mrusme | 16 September 2023, 20:07:44 UTC | Update sway.5.scd Make it extra extra extra clear, because I had to stumbled upon https://github.com/swaywm/sway/issues/3292 to understand this. (cherry picked from commit ae3acf26f81c0d46f065aeb4860922883a97e1d0) | 14 December 2023, 09:48:44 UTC |
4683b53 | Sergei Trofimovich | 28 November 2023, 22:17:21 UTC | sway/config.c: use `memcpy()` for known buffer size `gcc-14` added a new warning around dangerous use of `strncpy()` withi known overflow: ../sway/config.c: In function 'do_var_replacement': ../sway/config.c:983:33: error: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Werror=stringop-truncation] 983 | strncpy(newptr, var->value, vvlen); | ^ ../sway/config.c:971:45: note: length computed here 971 | int vvlen = strlen(var->value); | ^~~~~~~~~~~~~~~~~~ It's a bit fishy to rely on truncating behaviour of `strncpy()`. The change uses `memcpy()` as more explicit way to express copy of `vvlen` bytes. (cherry picked from commit 2cd73a33c26ea6510a2f50359b1c550cd9b4fead) | 14 December 2023, 09:48:24 UTC |
064b279 | Simon Ser | 21 November 2023, 23:38:05 UTC | ci: checkout wlroots 0.17 | 21 November 2023, 23:38:05 UTC |
bff991d | Matt Fellenz | 24 October 2023, 01:49:50 UTC | Use locale time format for default bar command | 21 November 2023, 16:42:09 UTC |
9d666a0 | Simon Ser | 21 November 2023, 15:52:19 UTC | Fix reference to wlr_output_event_commit.committed This has been dropped from wlroots. Previous commit missed that. | 21 November 2023, 15:52:19 UTC |
072fa60 | Simon Ser | 22 June 2023, 15:06:10 UTC | Add support for security-context-v1 As a first step, deny access to privileged protocols to sandboxed apps. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3589 | 21 November 2023, 14:12:42 UTC |
5bdd608 | Simon Ser | 05 October 2023, 08:41:15 UTC | Apply gamma LUT when an output re-enabled References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3679 | 21 November 2023, 14:05:58 UTC |
86f96a7 | EBADBEEF | 20 October 2023, 17:29:06 UTC | view: re-apply criteria when window gets unmapped Remove any existing executed criteria items at unmap time. If a window gets unmapped but not destroyed, we want to reapply 'for_window' criteria. Fixes #6905. | 21 November 2023, 13:57:58 UTC |
c3ec141 | NemuiBanila | 26 September 2023, 11:12:57 UTC | seat: Fix cursor theme reload for tablet tool | 21 November 2023, 10:35:49 UTC |
f7a40cf | Lina Banik | 06 June 2022, 15:16:29 UTC | seat: Fix reloading cursor theme after change This reverts commit afde6369 "seat: avoid unneeded reloading xcursor theme". Always avoiding to reload the xcursor theme prevents reloading the cursor even when this is desired. Instead seat_configure_xcursor can determine whether a full reload is necessary. To stay with the spirit of the reverted change, cursors are only fully reloaded, if the theme has changed. Fixes #6931 | 21 November 2023, 10:35:49 UTC |
5c99b98 | Simon Ser | 16 November 2023, 14:40:16 UTC | input/input-manager: drop input_manager_configure_all_inputs This is now unused. | 16 November 2023, 15:29:07 UTC |
7036769 | Simon Ser | 16 November 2023, 13:56:46 UTC | Only reconfigure input mappings on output change Fully reconfiguring all input devices on output change takes a loooong time. Let's just reconfigure what we need: only mappings depend on outputs. | 16 November 2023, 15:29:07 UTC |
caa92dd | Simon Ser | 16 November 2023, 13:50:52 UTC | input/seat: rename seat_apply_input_config seat_apply_input_mapping is a lot more descriptive. | 16 November 2023, 15:29:07 UTC |
01dcad8 | Simon Ser | 16 November 2023, 13:49:52 UTC | input/seat: don't configure mappings for switches Switch devices cannot be mapped to an output/region, stop trying to do so. | 16 November 2023, 15:29:07 UTC |
020a572 | Sergei Trofimovich | 03 November 2023, 12:17:39 UTC | swaynag/config.c: fix build against gcc-14 (-Walloc-size) `gcc-14` added a new `-Walloc-size` warning that makes sure that size of an individual element matches size of a pointed type: https://gcc.gnu.org/PR71219 `sway` triggers it on `calloc()` calls where member size is used as `1` (instead of member count): swaynag/config.c:169:65: error: allocation of insufficient size '1' for type 'struct swaynag_button' with size '48' [-Werror=alloc-size] 169 | struct swaynag_button *button = calloc(sizeof(struct swaynag_button), 1); | 03 November 2023, 12:25:27 UTC |
6f6b827 | Bill Li | 31 October 2023, 03:11:02 UTC | chase wlroots!4411 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4411 fix #7802 | 31 October 2023, 08:51:19 UTC |
f2425b4 | Kirill Primak | 29 October 2023, 15:59:25 UTC | xdg-shell: send maximized if tiled isn't supported wlroots doesn't do it automatically anymore. | 29 October 2023, 16:21:18 UTC |
6475212 | Dudemanguy | 07 October 2023, 16:28:07 UTC | xdg_shell: don't update wlr_toplevel if the container has no size yet 3d5ae9813d390ea747462fc0026ee43b7c77d0f2 added logic to change the underlying wlr_toplevel size for floating containers, but it does it even if the container has no actual coordinates yet. This doesn't really make sense to update the toplevel size in this case since there's many things that could affect the initial coordinates (sway commands, fullscreen state, etc.). Skip this by doing a crude check to see if the current container state has any width. | 28 October 2023, 00:36:32 UTC |
47263ac | Kirill Primak | 24 October 2023, 12:24:51 UTC | view: check if the buffer was uploaded on save wlr_surface_has_buffer() is insufficient; if a client has committed a buffer but it couldn't be applied, NULL deref happens in the next line. | 24 October 2023, 12:35:57 UTC |
0dfaf7e | Tamino Bauknecht | 18 October 2023, 20:30:10 UTC | config/output: Allow approximation of output refresh rate Previous behavior was that only if resolution and refresh rate match exactly, the mode was accepted. As fallback, the mode with the highest refresh rate and the same resolution was chosen. New behavior is that the mode with the closest match for the refresh rate is used with a limit of up to 1Hz. The fallback behavior stays the same. Additionally, the logging was made more verbose. | 23 October 2023, 09:05:08 UTC |
f2425b5 | Tamino Bauknecht | 18 October 2023, 14:29:02 UTC | gitignore: Ignore clangd-generated directory .cache/ | 23 October 2023, 09:05:08 UTC |
4326a26 | Alexander Orzechowski | 06 October 2023, 11:29:01 UTC | Chase wlroots!4331 | 06 October 2023, 11:39:12 UTC |
8a8fb76 | iff | 10 September 2023, 19:28:07 UTC | Update sway-input.5.scd | 05 October 2023, 08:04:32 UTC |
7cf4e1d | Simon Ser | 19 June 2023, 19:22:23 UTC | Drop support for KDE's idle protocol We support the standard idle-notify protocol since Sway 1.8. | 04 October 2023, 22:01:54 UTC |
b3519c2 | Ashraf | 14 September 2023, 08:42:09 UTC | Translate README to Arabic | 14 September 2023, 11:37:50 UTC |
68caa8d | Jan Beich | 12 September 2023, 02:27:04 UTC | readme: Stop recommending setuid bit for non-logind systems - Optional since Sway 1.6 per swaywm/wlroots@bad1e9afa8ea - Deprecated in Sway 1.7 per 67d3d952b6cd - Removed in Sway 1.8 per e5728052b59f - Ignored in future versions (keeps root priveleges) | 13 September 2023, 08:21:59 UTC |
8edc48f | Manuel Stoeckl | 09 September 2023, 21:02:55 UTC | sway/server: Fix null pointer crash when Xwayland disabled | 09 September 2023, 23:33:10 UTC |
d952ce4 | Johan Sköld | 02 September 2023, 04:28:09 UTC | i3 compat: Adding support for the `all` criteria Matches all views. i3 PR: https://github.com/i3/i3/pull/4460 Fixes #7110 | 07 September 2023, 01:42:54 UTC |
3dd2f4a | iff | 07 September 2023, 01:31:35 UTC | commands/input/map_from_region: don't treat 0x prefix as hex identifier When using the `map_from_region` for pen tables, we will usually make the available area as big as possible while maintaining the proportions with the screen. As most of the tablets uses a 16:10 ratios while the most popular screen ratios is still 16:9, the argument for most people should be `0x0 1x0.9` to have the maximum effective area. However, the argument above won't work because the current code will treat `0x...` as a hexadecimal number, instead of setting both `x` and `y` to `0`. This fix allows the use of the following syntax: ``` input type:tablet_tool { map_from_region 0x0 1x0.9 } ``` | 07 September 2023, 01:31:35 UTC |
89f8531 | denppa | 30 August 2023, 14:57:25 UTC | build: fix build with wayland-scanner subproject | 30 August 2023, 14:57:25 UTC |
3d5ae98 | Dudemanguy | 28 August 2023, 15:49:24 UTC | xdg_shell: update wlr_toplevel size on client resizes If a floating client resizes itself, sway updates several of its internal dimensions to match but not wlr_toplevel. This means that the next time wlroots sends a toplevel configure event, it can have wrong coordinates that resize the client back to its old size. To fix this, let's just use wlr_xdg_toplevel_set_size so the wlr_toplevel has the same dimensions as sway. Exactly the same as 0183b9d35d0ce750588e700e536b7d2e367b0d0a but the logic is onlly applied to xdg_shell and not xwayland. | 29 August 2023, 00:04:53 UTC |
60a94b4 | Dudemanguy | 28 August 2023, 15:45:43 UTC | Revert "view: update wlr_toplevel size on client resizes" This isn't the right fix for this issue because the xwayland code also uses this function and updating the wlr_toplevel there doesn't make sense and also causes problems. Fixes #7722. This reverts commit bf44690ee8ce8438ffb1a84fbe6e8dbb6a851c04. | 29 August 2023, 00:04:53 UTC |
bf44690 | Dudemanguy | 16 July 2023, 03:44:10 UTC | view: update wlr_toplevel size on client resizes If a floating client resizes itself, sway updates several of its internal dimensions to match but not wlr_toplevel. This means that the next time wlroots sends a toplevel configure event, it can have wrong coordinates that resize the client back to its old size. To fix this, let's just use wlr_xdg_toplevel_set_size so the wlr_toplevel has the same dimensions as sway. Fixes #5266. | 26 August 2023, 20:44:37 UTC |
4a22105 | Simon Ser | 22 June 2023, 14:26:00 UTC | Hide xwayland_shell_v1 from regular clients Regular clients are not allowed to use this interface. wlroots already sends a protocol error if a non-Xwayland client tries to use this interface, but let's remove all temptation by hiding it completely. | 24 August 2023, 16:27:22 UTC |
d84b383 | luzpaz | 23 August 2023, 18:11:13 UTC | Fix typo | 23 August 2023, 18:18:13 UTC |
a908651 | Kirill Primak | 26 July 2023, 17:32:33 UTC | chore: chase wlroots xdg-surface role rework | 21 August 2023, 16:41:32 UTC |
363c579 | Leonardo Hernández Hernández | 19 August 2023, 20:30:17 UTC | chase wlroots!4316 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4316 | 20 August 2023, 04:06:26 UTC |
bb91b7f | Simon Ser | 14 April 2023, 17:04:51 UTC | Move contrib/ to separate repository User-contributed scripts are being moved over to this repository: https://github.com/OctopusET/sway-contrib | 02 August 2023, 15:18:38 UTC |
eebbecc | ookami | 28 July 2023, 17:16:37 UTC | Rebase all cursors in handle_surface_map Fix swaylock showing transient cursor after locked. | 31 July 2023, 19:00:20 UTC |
f8ddd97 | Simon Ser | 31 July 2023, 08:19:52 UTC | output: drop current_mode This is now unused. | 31 July 2023, 14:25:01 UTC |
170598d | Simon Ser | 31 July 2023, 08:09:40 UTC | desktop/output: fix output manager enabled state With recent wlroots changes, backends which don't support output modes can now support being disabled. We were always marking mode-less outputs as disabled. Stop doing that, check whether the output takes up some space in the layout instead. | 31 July 2023, 14:25:01 UTC |
d3626ef | Simon Ser | 31 July 2023, 08:07:17 UTC | desktop/output: drop handle_mode() We already perform the exact same logic on transform/scale change. | 31 July 2023, 14:25:01 UTC |
d557b68 | Simon Ser | 31 July 2023, 08:04:52 UTC | desktop/output: drop logic to handle backend-applied mode The wlroots backends no longer magically apply output modes behind the compositor's back. | 31 July 2023, 14:25:01 UTC |
df8aad9 | Alexander Orzechowski | 29 July 2023, 20:17:48 UTC | swaynag: Implement wp_cursor_shape_v1 | 31 July 2023, 08:34:11 UTC |
f436de9 | Alexander Orzechowski | 30 July 2023, 20:07:28 UTC | swaybar: Implement wp_cursor_shape_v1 | 31 July 2023, 08:34:11 UTC |
6bd11ad | Simon Ser | 05 May 2023, 14:34:35 UTC | Add support for cursor-shape-v1 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106 | 24 July 2023, 09:28:31 UTC |
dc634c4 | bretello | 17 July 2023, 17:31:53 UTC | fix crash when resizing tiled scratchpad windows Splitting and then hiding a scratchpad container results in a segfault. fixes #6693 | 23 July 2023, 18:10:26 UTC |
c3e6390 | Nick Kipshidze | 19 July 2023, 17:26:53 UTC | Add Georgian README I am a native Georgian speaker. I have translated sway's README.md | 20 July 2023, 06:36:29 UTC |
ee4637b | Simon Ser | 12 July 2023, 08:14:15 UTC | Deprecate seat idle_wake Sway has two knobs to control idling: - seat idle_inhibit: when the seat is active (ie. not idle), this extends the active state. When the seat is idle, this is ignored. - seat idle_wake: when the seat is idle, this wakes up the seat. When the seat is active, this is ignored. The motivation for the deprecation is two-fold: - The concept of "seat idle state" is ill-defined. Each idle-notify-v1 client will pass a different idle timeout. With the old logic, a seat was declared idle if and only if all idle-notify-v1 timeouts have expired. However, if only a portion of the timeouts have expired, then some clients would wake up, and the rest would stay active. This is inconsistent with the definition of idle_inhibit/idle_wake: idle_inhibit was used for clients which are waking up. - It never worked properly with the new idle-notify-v1 protocol and no-one noticed. Only the legacy KDE idle protocol is taken into account, but that protocol is not used anymore. | 19 July 2023, 07:28:33 UTC |
a34d785 | Simon Ser | 13 July 2023, 07:50:59 UTC | swaynag: handle wayland-cursor failures Same as 92244c87dbb8 ("swaybar: handle wayland-cursor failures") but for swaynag. Closes: https://github.com/swaywm/sway/issues/7671 | 17 July 2023, 08:01:46 UTC |
9107907 | Artturin | 15 July 2023, 12:43:37 UTC | chase wlroots 'presentation-time: add separate helper for zero-copy ' https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/67447d6cb407ac5b6405b4dbae01a38567feb111 | 15 July 2023, 13:21:35 UTC |
6c234d0 | nukoseer | 05 June 2023, 19:34:24 UTC | Calculate tiled resize amount relative to parent container sway should shrinks/grows tiled windows according to parent container for ppt unit for i3 compatibility. Resolves: #7593 | 13 July 2023, 20:27:46 UTC |
fc16fb6 | Simon Ser | 08 February 2023, 14:28:20 UTC | Send wl_surface.preferred_buffer_scale References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696 | 12 July 2023, 07:59:00 UTC |
92244c8 | Manuel Stoeckl | 07 July 2023, 23:38:02 UTC | swaybar: handle wayland-cursor failures Updating the cursor is not essential, so this change prints a warning when wl_cursor_theme_load or wl_cursor_theme_get_cursor fail instead of crashing or exiting. | 08 July 2023, 07:36:50 UTC |
20ffe54 | llyyr | 27 June 2023, 17:20:25 UTC | swaybar: don't set current workspace as not visible When `wrap_scroll yes` is configured and there's only one workspace open, swaybar will mark it as not visible if the user scrolls on it and eventually incorrectly fail the `active->visible` assert. Fix this by making sure that new and current workspace aren't the same. | 27 June 2023, 21:40:57 UTC |
20c9133 | Mark Bolhuis | 26 June 2023, 20:43:13 UTC | input: Move wlr_pointer_gestures_v1 to sway_input_manager 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. | 26 June 2023, 20:57:46 UTC |
974a862 | Simon Ser | 23 June 2023, 10:28:15 UTC | Use "default" XCursor instead of "left_ptr" "left_ptr" is the legacy XCursor name. "default" is the cursor spec name. | 25 June 2023, 20:38:10 UTC |
7fbd9fb | Hodong | 23 June 2023, 15:54:08 UTC | swaybar: remove the argument of StatusNotifierHostRegistered According to https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierWatcher/ there is no argument for the StatusNotifierHostRegistered signal. | 23 June 2023, 15:54:08 UTC |
b762f45 | Simon Ser | 19 June 2023, 19:16:23 UTC | idle-inhibit-v1: simplify with server global 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. | 23 June 2023, 10:32:38 UTC |
5411ed4 | Simon Ser | 15 June 2023, 16:44:40 UTC | Use wlr_cursor_unset_image() A bit cleaner. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4209 | 19 June 2023, 17:48:53 UTC |
6f1a3b6 | Simon Ser | 15 June 2023, 16:43:09 UTC | Use wlr_cursor_set_xcursor() wlr_xcursor_manager_set_cursor_image() is deprecated. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4170 | 19 June 2023, 17:48:53 UTC |
8766870 | Alexander Orzechowski | 19 June 2023, 17:05:12 UTC | render: Use wlroots scale filter | 19 June 2023, 17:14:28 UTC |
c087629 | Cezary Drożak | 16 June 2023, 09:28:30 UTC | input/libinput: add scroll_button_lock method Closes https://github.com/swaywm/sway/issues/6987 Co-authored-by: JJGadgets <git@jjgadgets.tech> Co-authored-by: DeltaWhy <mike5713@gmail.com> | 16 June 2023, 13:30:04 UTC |
8b4b65d | Rouven Czerwinski | 14 June 2023, 06:45:58 UTC | gamma_control_v1: handle destroyed output In case a display is unplugged, the sway output may be removed from the userdata before the gamma_control can be reset. In this case we can't schedule a commit on the output, simply return within the function. backtrace full: #0 handle_gamma_control_set_gamma (listener=0x4856a8 <server+616>, data=0x7ffce1ed59c0) at ../sway/desktop/output.c:1105 server = 0x485440 <server> event = 0x7ffce1ed59c0 output = 0x0 #1 0x00007f430d1dca0c in wl_signal_emit_mutable () from /nix/store/ky1g6ylzr2m4bq8fy0gzrnqmjr6948k5-wayland-1.22.0/lib/libwayland-server.so.0 No symbol table info available. #2 0x00007f430d142370 in gamma_control_destroy (gamma_control=0x29eb9b0) at ../types/wlr_gamma_control_v1.c:37 manager = 0x27e33e0 output = 0x2a10770 event = {output = 0x2a10770, control = 0x0} #3 0x00007f430d14239b in gamma_control_handle_output_destroy (listener=<optimized out>, data=<optimized out>) at ../types/wlr_gamma_control_v1.c:59 gamma_control = <optimized out> #4 0x00007f430d1dca0c in wl_signal_emit_mutable () from /nix/store/ky1g6ylzr2m4bq8fy0gzrnqmjr6948k5-wayland-1.22.0/lib/libwayland-server.so.0 No symbol table info available. #5 0x00007f430d12a0e0 in wlr_output_destroy (output=output@entry=0x2a10770) at ../types/output/output.c:384 cursor = <optimized out> tmp_cursor = <optimized out> layer = <optimized out> tmp_layer = <optimized out> #6 0x00007f430d114ecf in disconnect_drm_connector (conn=conn@entry=0x2a10770) at ../backend/drm/drm.c:1757 __PRETTY_FUNCTION__ = "disconnect_drm_connector" #7 0x00007f430d117078 in scan_drm_connectors (drm=drm@entry=0x1eebab0, event=event@entry=0x7ffce1ed5c1c) at ../backend/drm/drm.c:1597 c = <optimized out> wlr_conn = 0x2a10770 drm_conn = 0x2e760d0 conn_id = <optimized out> index = 4 i = 4 res = 0x2e761f0 seen_len = 5 seen = {true, true, true, true, true, false} new_outputs_len = 0 new_outputs = 0x7ffce1ed5ab0 conn = <optimized out> tmp_conn = <optimized out> index = <optimized out> #8 0x00007f430d113425 in handle_dev_change (listener=0x1eebbb0, data=0x7ffce1ed5c18) at ../backend/drm/backend.c:157 drm = 0x1eebab0 change = 0x7ffce1ed5c18 #9 0x00007f430d1dca0c in wl_signal_emit_mutable () from /nix/store/ky1g6ylzr2m4bq8fy0gzrnqmjr6948k5-wayland-1.22.0/lib/libwayland-server.so.0 No symbol table info available. #10 0x00007f430d111696 in handle_udev_event (fd=<optimized out>, mask=<optimized out>, data=<optimized out>) at ../backend/session/session.c:213 event = {type = WLR_DEVICE_HOTPLUG, {hotplug = {connector_id = 0, prop_id = 0}}} devnum = <optimized out> dev = 0x1ed9460 session = <optimized out> udev_dev = 0x2e70db0 sysname = 0x2e73c60 "card0" devnode = <optimized out> action = 0x7f430d6677b5 "change" seat = <optimized out> __PRETTY_FUNCTION__ = "handle_udev_event" #11 0x00007f430d1de8e2 in wl_event_loop_dispatch () from /nix/store/ky1g6ylzr2m4bq8fy0gzrnqmjr6948k5-wayland-1.22.0/lib/libwayland-server.so.0 No symbol table info available. #12 0x00007f430d1dc445 in wl_display_run () from /nix/store/ky1g6ylzr2m4bq8fy0gzrnqmjr6948k5-wayland-1.22.0/lib/libwayland-server.so.0 No symbol table info available. #13 0x000000000041daa5 in server_run (server=server@entry=0x485440 <server>) at ../sway/server.c:338 No locals. #14 0x000000000041cf4d in main (argc=<optimized out>, argv=0x7ffce1ed5fe8) at ../sway/main.c:415 verbose = false debug = false validate = false allow_unsupported_gpu = false config_path = 0x0 c = <optimized out> where event->output->data is NULL: (gdb) p event->output->data $5 = (void *) 0x0 | 14 June 2023, 08:13:12 UTC |
59c27c9 | Alexander Orzechowski | 11 June 2023, 14:11:38 UTC | gamma_control_v1: Reset dirty flag | 11 June 2023, 18:53:39 UTC |
be14cd9 | 33KK | 11 June 2023, 09:36:30 UTC | Fix `bindsym --to-code` not respecting input configs Fixes #7535 | 11 June 2023, 09:36:30 UTC |
6a1c176 | Shaked Flur | 09 June 2023, 10:23:05 UTC | man: add --inhibited and --no-repeat to bindsym and bindcode usage | 09 June 2023, 10:23:05 UTC |
65b1a69 | Simon Ser | 09 June 2023, 09:27:41 UTC | desktop/output: fix damage bitfield in wlr_output_state | 09 June 2023, 09:41:41 UTC |
f3b8c9f | Simon Ser | 05 June 2023, 12:35:15 UTC | desktop/output: use detached output state for page-flips This avoids relying on the implicit wlr_output.pending state. | 08 June 2023, 21:33:23 UTC |
b1b3563 | Simon Ser | 06 March 2023, 16:17:05 UTC | Handle gamma-control-v1 set_gamma events References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046 | 08 June 2023, 20:11:50 UTC |
913a767 | Erik Reider | 05 June 2023, 13:31:16 UTC | Add support for wlr-layer-shell ON_DEMAND keyboard interactivity 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. | 06 June 2023, 07:07:05 UTC |
7ab8cb2 | Artturin | 05 June 2023, 20:52:11 UTC | chase wlroots wlr_renderer_begin_buffer_pass change https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4159 > ../sway/desktop/output.c:618:47: error: too few arguments to function 'wlr_renderer_begin_buffer_pass' > 618 | struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 05 June 2023, 21:12:20 UTC |
b5cb49b | Kirill Primak | 03 June 2023, 04:43:13 UTC | xwayland: fix mapped state check in OR handlers | 03 June 2023, 07:12:12 UTC |
c001a57 | Kirill Primak | 02 June 2023, 20:18:39 UTC | lock: listen to the correct map signal | 02 June 2023, 20:22:29 UTC |
c9e1dab | Kirill Primak | 05 March 2023, 20:49:45 UTC | chore: chase wlroots map logic unification | 02 June 2023, 18:11:42 UTC |
72881b5 | Kirill Primak | 09 March 2023, 10:02:13 UTC | xwayland: don't rely on event source being data This pattern is being slowly removed from wlroots. | 02 June 2023, 18:11:42 UTC |
48d6eda | Erik Reider | 20 May 2023, 13:04:11 UTC | Fix layer old damage not being offset by the monitor layout coords | 20 May 2023, 14:56:25 UTC |
01b0c11 | hrdl | 11 May 2023, 09:16:51 UTC | seatop_down: Call seatop_begin_default after sending touch events This is consistent with pointer tablet and button events. Fixes #7577. | 11 May 2023, 10:47:56 UTC |
19cc36a | Simon Ser | 09 May 2023, 14:39:48 UTC | render: fix titlebar texture clipping We need to provide an unclipped dst_box. Fixes: https://github.com/swaywm/sway/issues/7573 Regressed by: https://github.com/swaywm/sway/pull/7552 | 09 May 2023, 16:12:06 UTC |
0a95151 | Kenny Levinsen | 09 May 2023, 13:13:39 UTC | render: Clear using wlr_output dimensions Clear was done using sway_output's logical dimensions, instead of the wlr_output physical dimensions. This meant that when output scaling was applied, only a part of the screen would be cleared. Use the wlr_output dimensions instead. Regressed by: https://github.com/swaywm/sway/pull/7552 | 09 May 2023, 13:55:31 UTC |
393c29f | Kenny Levinsen | 09 May 2023, 13:08:47 UTC | render: Apply clip to rendered texture correctly The new wlr_render_pass API provides src_box, dst_box and clip parameters for texture rendition. Rather than clipping the dst_box, which control the projection matrix and leads to compression, intersect the damage and clip box and pass these as a clip parameter. Fixes: https://github.com/swaywm/sway/issues/7579 Regressed by: https://github.com/swaywm/sway/pull/7552 | 09 May 2023, 13:55:31 UTC |
a79994e | Mukundan314 | 04 May 2023, 09:27:20 UTC | swaybar: always subscribe to mode and workspace always subscribe to mode and workspace events, since we might need them after bar config updates even if we don't need them initially. | 09 May 2023, 10:42:56 UTC |