https://github.com/swaywm/sway

sort by:
Revision Author Date Message Commit Date
1a3cfc5 build: bump version to 1.9 24 February 2024, 13:39:26 UTC
6cbc83f build: bump version to 1.9-rc.4 17 February 2024, 13:27:27 UTC
b4800fb 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 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 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 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 build: bump version to 1.9-rc.3 09 February 2024, 17:25:12 UTC
1c07868 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 build: bump version to 1.9-rc.2 02 February 2024, 17:59:55 UTC
176f78d 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 build: bump version to 1.9-rc.1 26 January 2024, 14:26:37 UTC
9851599 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 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 readme: add swaybg as optional dep (cherry picked from commit fa294a9094b673e99e5de0c456dc5a6b9ff7db55) 26 January 2024, 14:14:42 UTC
37fce86 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 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 sway: raise error on non-accessible background file (cherry picked from commit 255ff665c53c8d042bce0c4cff4081d2bd35beeb) 14 December 2023, 09:49:20 UTC
79f82b3 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 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 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 ci: checkout wlroots 0.17 21 November 2023, 23:38:05 UTC
bff991d Use locale time format for default bar command 21 November 2023, 16:42:09 UTC
9d666a0 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 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 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 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 seat: Fix cursor theme reload for tablet tool 21 November 2023, 10:35:49 UTC
f7a40cf 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 input/input-manager: drop input_manager_configure_all_inputs This is now unused. 16 November 2023, 15:29:07 UTC
7036769 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 input/seat: rename seat_apply_input_config seat_apply_input_mapping is a lot more descriptive. 16 November 2023, 15:29:07 UTC
01dcad8 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 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 chase wlroots!4411 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4411 fix #7802 31 October 2023, 08:51:19 UTC
f2425b4 xdg-shell: send maximized if tiled isn't supported wlroots doesn't do it automatically anymore. 29 October 2023, 16:21:18 UTC
6475212 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 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 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 gitignore: Ignore clangd-generated directory .cache/ 23 October 2023, 09:05:08 UTC
4326a26 Chase wlroots!4331 06 October 2023, 11:39:12 UTC
8a8fb76 Update sway-input.5.scd 05 October 2023, 08:04:32 UTC
7cf4e1d 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 Translate README to Arabic 14 September 2023, 11:37:50 UTC
68caa8d 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 sway/server: Fix null pointer crash when Xwayland disabled 09 September 2023, 23:33:10 UTC
d952ce4 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 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 build: fix build with wayland-scanner subproject 30 August 2023, 14:57:25 UTC
3d5ae98 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 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 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 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 Fix typo 23 August 2023, 18:18:13 UTC
a908651 chore: chase wlroots xdg-surface role rework 21 August 2023, 16:41:32 UTC
363c579 chase wlroots!4316 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4316 20 August 2023, 04:06:26 UTC
bb91b7f 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 Rebase all cursors in handle_surface_map Fix swaylock showing transient cursor after locked. 31 July 2023, 19:00:20 UTC
f8ddd97 output: drop current_mode This is now unused. 31 July 2023, 14:25:01 UTC
170598d 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 desktop/output: drop handle_mode() We already perform the exact same logic on transform/scale change. 31 July 2023, 14:25:01 UTC
d557b68 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 swaynag: Implement wp_cursor_shape_v1 31 July 2023, 08:34:11 UTC
f436de9 swaybar: Implement wp_cursor_shape_v1 31 July 2023, 08:34:11 UTC
6bd11ad Add support for cursor-shape-v1 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106 24 July 2023, 09:28:31 UTC
dc634c4 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 Add Georgian README I am a native Georgian speaker. I have translated sway's README.md 20 July 2023, 06:36:29 UTC
ee4637b 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 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 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 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 Send wl_surface.preferred_buffer_scale References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696 12 July 2023, 07:59:00 UTC
92244c8 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 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 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 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 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 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 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 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 render: Use wlroots scale filter 19 June 2023, 17:14:28 UTC
c087629 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 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 gamma_control_v1: Reset dirty flag 11 June 2023, 18:53:39 UTC
be14cd9 Fix `bindsym --to-code` not respecting input configs Fixes #7535 11 June 2023, 09:36:30 UTC
6a1c176 man: add --inhibited and --no-repeat to bindsym and bindcode usage 09 June 2023, 10:23:05 UTC
65b1a69 desktop/output: fix damage bitfield in wlr_output_state 09 June 2023, 09:41:41 UTC
f3b8c9f 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 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 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 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 xwayland: fix mapped state check in OR handlers 03 June 2023, 07:12:12 UTC
c001a57 lock: listen to the correct map signal 02 June 2023, 20:22:29 UTC
c9e1dab chore: chase wlroots map logic unification 02 June 2023, 18:11:42 UTC
72881b5 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 Fix layer old damage not being offset by the monitor layout coords 20 May 2023, 14:56:25 UTC
01b0c11 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 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 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 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 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
back to top