aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* desktop/output: Use apply_output_configs for output mgmtLibravatar Kenny Levinsen2024-03-28
|
* Use apply_all_output_configs to light up outputsLibravatar Kenny Levinsen2024-03-28
| | | | | This allows us to test and if necessary degrade the entire backend configuration to light everything up.
* output/config: Add apply_all_output_configsLibravatar Kenny Levinsen2024-03-28
| | | | | | Apply all output configs as they are. This differs from apply_output_config_to_outputs, which tries to apply a specific output config.
* config/output: Introduce apply_output_configsLibravatar Kenny Levinsen2024-03-28
| | | | | | | Introduce apply_output_configs, which applies the specified matched output configs as a single backend commit. Reimplement apply_output_config_to_outputs using apply_output_configs.
* config/output: Split apply_output_configLibravatar Kenny Levinsen2024-03-28
| | | | | | | | | Applying an output config has two stages: Atomic application of wlr_output_state, and applicaiton of non-atomic state like output layout. Split the latter out into finalize_output_config for use in a later commit.
* man: document supported modifier namesLibravatar Ferdinand Bachmann2024-03-28
|
* Implement transient seat managementLibravatar Andri Yngvason2024-03-18
|
* man: document that the scale might be adjustedLibravatar Simon Ser2024-03-14
| | | | | | fractional-scale only supports representing fractions of 120. References: https://github.com/swaywm/sway/issues/8057
* man: drop fractional scale warningLibravatar Simon Ser2024-03-14
| | | | | With the fractional-scale protocol, clients can render without being downscaled.
* Re-create renderer when lostLibravatar Simon Ser2024-03-14
|
* server: fix wlr_seat use-after-free on exitLibravatar Simon Ser2024-03-14
| | | | | | | | | | 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
* Force bilinear scaling when scaling downLibravatar Alexander Orzechowski2024-03-09
|
* config/output: drop enabling flagLibravatar Simon Ser2024-03-08
| | | | | This was useful when wlroots backends were updating the current mode on their own. This is no longer the case.
* xdg-shell: send WM capabilitiesLibravatar Simon Ser2024-03-08
|
* xdg-shell: implement popup repositioningLibravatar Simon Ser2024-03-08
|
* Fetch input device vendor/product from libinputLibravatar Simon Ser2024-03-07
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4582
* config: add fallback without env vars for keysym translation XKB keymapLibravatar Simon Ser2024-03-06
|
* config: error out on keysym translation XKB state failureLibravatar Simon Ser2024-03-06
| | | | | | | | 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
* commands/move: do not force focus on the moved containerLibravatar Ronan Pigott2024-03-01
| | | | | | | | | | 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.
* input: Rename WLR_INPUT_DEVICE_TABLET_TOOL to WLR_INPUT_DEVICE_TABLETLibravatar Luofan Chen2024-03-01
| | | | | | | wlroots has changed the naming, causing the following build errors when building: error: ‘WLR_INPUT_DEVICE_TABLET_TOOL’ undeclared
* ipc: add `scratchpad_state` property to GET_TREELibravatar llyyr2024-02-29
| | | | See previous commit. This restores ipc parity with i3.
* ipc: add `floating` property to GET_TREELibravatar llyyr2024-02-29
| | | | | | 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.
* Convert to new pointer enumsLibravatar Simon Ser2024-02-28
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
* text_input: don't destroy scene_node twiceLibravatar llyyr2024-02-28
|
* Add release scriptLibravatar Simon Ser2024-02-26
|
* Define _POSIX_C_SOURCE globallyLibravatar Simon Ser2024-02-23
| | | | See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
* input/text_input: fix dangling listenersLibravatar Simon Ser2024-02-23
|
* input/text_input: parent wlr_box may be uninitializedLibravatar llyyr2024-02-20
|
* text_input: Implement input-method popupsLibravatar Access2024-02-20
| | | Co-authored-by: tadeokondrak <me@tadeo.ca>
* xdg-activation: distinguish activation and urgency requestsLibravatar Aleksei Bavshin2024-02-17
| | | | | | | | | 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.
* launcher: track the seat in the launcher ctxLibravatar Ronan Pigott2024-02-17
| | | | | This is a more suitable place to track the requesting seat, since we are able to respond appropriately to destroy notifications.
* Drop unnecessary includes from sway/server.hLibravatar Simon Ser2024-02-15
|
* Fix build with wlroots DRM backend disabledLibravatar Simon Ser2024-02-15
| | | | | | | 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
* view: drop ext_foreign_destroyLibravatar Kirill Primak2024-02-12
| | | | It's not used and causes a crash when a view is destroyed.
* layer_shell: Handle popups through popup descriptorLibravatar Alexander Orzechowski2024-02-12
| | | | | | | | 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.
* xdg_shell: Extract struct for popup descriptorLibravatar Alexander Orzechowski2024-02-12
|
* layer_shell: Arrange popups even if exclusive zone doesn't changeLibravatar Alexander Orzechowski2024-02-12
|
* ext-foreign-toplevel-list: Implement protocolLibravatar Merlin Lex2024-02-12
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
* config: use format_str() instead of hand-rolled snprintf()Libravatar Simon Ser2024-02-08
|
* commands: make primary_selection a config-only commandLibravatar Simon Ser2024-02-05
| | | | It's not possible to switch this at runtime.
* commands: note how xwayland/primary_selection are reset on reloadLibravatar Simon Ser2024-02-05
|
* commands/primary_selection: drop duplicate bool parsingLibravatar Simon Ser2024-02-05
|
* sway/config.c: only reset primary_selection at launchLibravatar Violet Purcell2024-02-05
| | | | | Otherwise, an error will be shown whenever reloading due to the value of primary_selection being reset to true.
* Drop old security config remnantsLibravatar Simon Ser2024-02-03
|
* Ensure get_text_width() returns a positive valueLibravatar Alexander Orzechowski2024-02-02
| | | | Closes: https://github.com/swaywm/sway/issues/7940
* sway/output: Improve logging of swaybg execvp failure and more checksLibravatar Tamino Bauknecht2024-01-29
| | | | | | 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.
* build: bump version to 1.10-devLibravatar Simon Ser2024-01-26
|
* Chase wlroots!4443Libravatar Kirill Primak2024-01-25
|
* Chase wlroots!4003Libravatar Kirill Primak2024-01-23
|
* layer_shell: Fix typo of return instead of continueLibravatar Alexander Orzechowski2024-01-21
| | | | | Otherwise we would skip arranging the rest of the surfaces if one of them isn't initialized.