| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
fractional-scale only supports representing fractions of 120.
References: https://github.com/swaywm/sway/issues/8057
|
|
|
|
|
| |
With the fractional-scale protocol, clients can render without
being downscaled.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Same as [1].
I originally tried to properly handle seat destruction, but that
turned out to be a can of worms [2].
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4590
[2]: https://github.com/swaywm/sway/pull/8034
|
| |
|
|
|
|
|
| |
This was useful when wlroots backends were updating the current
mode on their own. This is no longer the case.
|
| |
|
| |
|
|
|
|
| |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4582
|
| |
|
|
|
|
|
|
|
|
| |
If we can't create the XKB keymap used for keysym translation,
gracefully error out instead of crashing. This can happen if the
XKB_DEFAULT_LAYOUT is set to an invalid value, for instance.
Closes: https://github.com/swaywm/sway/issues/7789
|
|
|
|
|
|
|
|
|
|
| |
My code archaeology isn't good enough to determine what this is here
for, but it isn't correct. We should be able to move containers in a
direction without focusing them. AFAICT i3 doesn't do this, so we
shouldn't either.
This fixes ipc commands like move <dir> with criteria that apply to
containers which are not the current focus.
|
|
|
|
|
|
|
| |
wlroots has changed the naming, causing the following build errors when
building:
error: ‘WLR_INPUT_DEVICE_TABLET_TOOL’ undeclared
|
|
|
|
| |
See previous commit. This restores ipc parity with i3.
|
|
|
|
|
|
| |
i3 has had this property for over a decade but it wasn't documented
until a couple of years ago, so it was likely missed when developing
sway. Add the property to get us closer to ipc parity with i3.
|
|
|
|
| |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
|
| |
|
| |
|
|
|
|
| |
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
|
| |
|
| |
|
|
|
| |
Co-authored-by: tadeokondrak <me@tadeo.ca>
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is a more suitable place to track the requesting seat, since we are
able to respond appropriately to destroy notifications.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
It's not used and causes a crash when a view is destroyed.
|
|
|
|
|
|
|
|
| |
We tried to synchronize layer shell popups with the parent layer shell
on commits, but this is subtly wrong because we would only update
the position for one layer shell that was committed, but not any other
layer that might be affected. By moving handling to the scene descriptor
we can iterate all popups and ensure they are synchronized.
|
| |
|
| |
|
|
|
|
| |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
|
| |
|
|
|
|
| |
It's not possible to switch this at runtime.
|
| |
|
| |
|
|
|
|
|
| |
Otherwise, an error will be shown whenever reloading due to the value of
primary_selection being reset to true.
|
| |
|
|
|
|
| |
Closes: https://github.com/swaywm/sway/issues/7940
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Otherwise we would skip arranging the rest of the surfaces if one of them
isn't initialized.
|
|
|
|
|
|
|
|
|
|
|
| |
```
Program terminated with signal SIGSEGV, Segmentation fault.
144 struct wlr_layer_surface_v1 *layer_surface = surface->layer_surface;
[Current thread is 1 (Thread 0x7f1f7c5b3ac0 (LWP 2473))]
(gdb) bt
```
Add a NULL check in `find_mapped_layer_by_client` like the one in `arrange_surface`.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Now that we use wlr_scene, wlroots handles these. If available use
the wlroots debug options instead.
|