aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge commit '97111f3e606c7c11dd418c275c3e7c2d69b68a06' into HEADHEADmasterLibravatar Jenkins CI4 days
|\
| * Override outputs with the workspace commandpatch-for/masterLibravatar Kristóf Marussy2021-01-20
| |
* | view: remove reference to wlr_wl_shell_surfaceLibravatar Simon Zeni5 days
| |
* | swaybar: log Wayland display errorsLibravatar Simon Ser6 days
| |
* | swaybar: exit cleanly when disconnected from IPCLibravatar Simon Ser6 days
| |
* | Fix wl_pointer.frame not sent on touch emulationLibravatar Simon Ser6 days
| | | | | | | | | | | | | | | | | | | | | | | | When emulating touch, the simulating_pointer_from_touch field is set to true. It's switched back to false when a touch_up event is received. However we need to ensure we always send a wl_pointer.frame event following a group of other wl_pointer events. Since a touch_frame event is always guaranteed to come after a group of touch events, unset simulating_pointer_from_touch in the touch_frame handler instead of the touch_up handler. Add a new field to know whether the touch_frame handler should stop emulation.
* | Fix crash when starting without HOMELibravatar Tobias Stoeckmann9 days
| | | | | | | | | | | | | | | | | | | | If HOME environment variable is not set, sway fails startup with a segmentation fault due to null pointer dereference. Also check calloc return value and only perform the fallback code when really needed. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
* | Add `gaps <type> <scope> toggle <px>` commandLibravatar bR3iN10 days
| | | | | | | | | | | | | | | | Add a subcommand for `gaps` that allows to toggle gaps at runtime. This functionality is part of i3-gaps since [1] but is missing in sway. [1] https://github.com/Airblader/i3/pull/264
* | Add meson options to enable/disable swaybar and swaynagLibravatar Dylan Araps11 days
| |
* | grimshot: Exit 1 on cancellationLibravatar Hugo Osvaldo Barrera2021-07-10
| | | | | | | | | | Whenever the selection is cancelled by the user, exit 1, since not screenshot has been taken.
* | Add support for touch frame eventsLibravatar Simon Ser2021-07-08
| | | | | | | | | | | | Update for the breaking change in [1]. [1]: https://github.com/swaywm/wlroots/pull/3001
* | Update wlr_box includesLibravatar Simon Ser2021-07-07
| | | | | | | | | | | | Update for the breaking change in [1]. [1]: https://github.com/swaywm/wlroots/pull/3011
* | container: ignore borders in fullscreen windowsLibravatar Dudemanguy2021-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When setting the geometry from content for floating windows, the coordinates for borders are normally taken into account. However in the case of a floating fullscreen window, we should not be doing this. Since the content of the container takes the space of the entire output, this causes the calculated borders to neccesarily be outside of the output. This later causes a problem when sending surface entrance events since in a multi-monitor setup, the border coordinates will overlap with another output despite the surface not actually being on that output at all. The fix is to just ignore border coordinates for a floating fullscreen container since fullscreen, of course, does not actually have any borders. Fixes #6080.
* | tree/container: fix indentationLibravatar Simon Ser2021-07-05
| |
* | Change 'Danish' to 'Dansk' in READMELibravatar Jack Byrne2021-06-30
| | | | | | | | | | Danish is the only language in the README that is not named in its own language. <sorry for the frivolity but the inconsistency bugs me>
* | ci: make Meson warnings fatalLibravatar Simon Ser2021-06-30
| | | | | | | | | | | | | | | | New warnings can be hard to notice in CI, since CI will just pass in that case. Meson sometimes uses warnings for important mistakes, e.g. invalid option. Let's turn warnings into errors so that we can spot these more easily.
* | build: use ExternalProgram.full_path instead of pathLibravatar Simon Ser2021-06-30
| | | | | | | | ExternalProgram.path has been deprecated.
* | build: use Dependency.get_variable instead of get_pkgconfig_variableLibravatar Simon Ser2021-06-30
| | | | | | | | Dependency.get_pkgconfig_variable has been deprecated.
* | build: use meson.global_build_root()Libravatar Simon Ser2021-06-30
| | | | | | | | | | | | meson.build_root() is deprecated. References: https://github.com/mesonbuild/meson/pull/8629
* | contrib: drop incr_version scriptLibravatar Simon Ser2021-06-24
| | | | | | | | This isn't used anymore.
* | build: bump wlroots dependency to 0.15.0Libravatar Simon Ser2021-06-23
| |
* | ci: Test wlroots static linkingLibravatar Kenny Levinsen2021-06-23
| |
* | input: Move get_current_time_msec in from utilLibravatar Kenny Levinsen2021-06-23
| | | | | | | | | | | | | | get_current_time_msec is only used in cursor.c, so we can move it in and make it static. This is primarily intended to avoid a symbol collision with wlroots, which we unfortunately do not have a good solution for yet.
* | Update clang format to better match existing codeLibravatar Ragnar Groot Koerkamp2021-06-22
| |
* | Revert "Add workspace {prev,next}_on_output --create"Libravatar Ragnar Groot Koerkamp2021-06-22
| | | | | | | | | | | | | | This reverts commit 487c83f0de9ca2a7650ad636eed6fd694ddcb82e. The --create flag is undocumented, not in i3, and at least partially broken (#5913), so this removes the feature.
* | Don't apply hide_edge_borders to any floating containerLibravatar novenary2021-06-20
| | | | | | | | | | | | | | | | | | This fixes the following scenario: - Place a floating window so its border is right at the edge of the screen - Create a new split - The border disappears - Moving the window does not restore the border
* | Only call workspace_auto_back_and_forth when neededLibravatar Ragnar Groot Koerkamp2021-06-18
| | | | | | | | | | | | Instead of disabling it for some workspace subcommands, this explicitly calls it only in the 2 places it's actually needed: for switching to a named or numbered workspace.
* | Move auto_back_and_forth logic out of workspace_switchLibravatar Ragnar Groot Koerkamp2021-06-18
| | | | | | | | | | | | | | | | This extracts the code to a separate workspace_auto_back_and_forth function. It also removes the bool argument by adding an extra if statement at the call site, and repurposes the no_auto_back_and_forth variable to auto_back_and_forth for simpler understanding.
* | Fix #6299 Disable auto_back_and_forth for next_on_outputLibravatar Ragnar Groot Koerkamp2021-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This forces no_auto_back_and_forth to true for `workspace next_on_output` and `workspace prev_on_output` to keep parity with i3. In i3, running next_on_output never changes focus to another output. In Sway currently, with workspace_auto_back_and_forth set to yet, running next_on_output on an output with only a single active workspace will typically end up focussing the other output: 1. next_on_output focusses the current workspace, because it's the only one 2. auto_back_and_forth focusses the last focussed workspace, because the current workspace to focus is the current one. This will usually be on the other monitor if the workspace there was last focussed.
* | swaynag: adds option to set wayland shell layerLibravatar James Edwards-Jones2021-06-17
| | | | | | | | Uses --layer/-y set to overlay|top|bottom|background
* | fix typo in sway-output.5.scdLibravatar Rahiel Kasim2021-06-13
| |
* | sway: restore SIGPIPE handler before exec:ing swaybarLibravatar Daniel Eklöf2021-06-05
| | | | | | | | | | | | | | | | | | | | | | | | Sway ignores SIGPIPE (by installing a SIG_IGN handler), in order to “prevent IPC from crashing Sway”. SIG_IGN handlers are the *only* signal handlers inherited in sub-processes. As such, we should be a good citizen and restore the SIGPIPE handler to its default handler. Original bug report: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1806907.html
* | sway: commands: exec: restore SIGPIPE before exec:ingLibravatar Daniel Eklöf2021-06-05
| | | | | | | | | | | | | | | | | | | | | | | | Sway ignores SIGPIPE (by installing a SIG_IGN handler), in order to “prevent IPC from crashing Sway”. SIG_IGN handlers are the *only* signal handlers inherited in sub-processes. As such, we should be a good citizen and restore the SIGPIPE handler to its default handler. Original bug report: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1806907.html
* | config: Fix swaybar pango_markup inconsistencyLibravatar Daniel Otero2021-06-03
| | | | | | | | | | | | Until now, swaybar did not have pango markup enabled by default, even if the sway config had it on. This patch aims to mimic the i3 behavior, but maintaining the functionality of the "pango_markup" sway config command.
* | Only defer seat attachment during initial startupLibravatar Bill Doyle2021-06-03
| | | | | | | | | | | | | | | | | | Deferred commands are only run once, during sway startup. This means that deferring seat attachment based on whether we are reading the config prevents devices from being reattached to the correct seat during a config reload. Instead, only defer if the config is not yet active. Fixes #6048.
* | Iterate over subsurfaces below the parent surfaceLibravatar Simon Ser2021-06-03
| | | | | | | | | | | | Update for the breaking change in [1]. [1]: https://github.com/swaywm/wlroots/pull/2948
* | Implement xdg-activation-v1Libravatar Simon Ser2021-06-02
| | | | | | | | See https://github.com/swaywm/wlroots/pull/2718.
* | details-gackground typo fixLibravatar sergio2021-05-28
| |
* | readme: switch back to IRC web clientLibravatar Simon Ser2021-05-26
| |
* | Fix IRC links in READMEs and templatesLibravatar apt-ghetto2021-05-26
| | | | | | | | | | | | | | Change the webchat links from freenode.net to point to the new destination libera.chat. Co-authored-by: Simon Ser <contact@emersion.fr>
* | docs: fix invalid release signing keysLibravatar Bart Pelle2021-05-25
| |
* | remove usage of `wlr_texture_get_size`Libravatar Tobias Langendorf2021-05-17
| | | | | | | | update for wlroots 6369f7093178f0d66414eb67c312a403bfbb84a4
* | view: commit transactions for foreign toplevel requestsLibravatar Ronan Pigott2021-05-17
| |
* | commands/exec: stop truncating >4095-byte commandsLibravatar Manuel Stoeckl2021-05-10
| |
* | cmd_fullscreen: ignore fullscreen request on workspacesLibravatar Ronan Pigott2021-05-10
| |
* | cairo: Replace <cairo/cairo.h> by <cairo.h>Libravatar Issam E. Maghni2021-05-10
| | | | | | | | | | | | | | For full context, read https://gitlab.freedesktop.org/cairo/cairo/-/issues/479 TL;DR, cairo’s pc file adds `/cairo` to CFLAGS. So namespace cairo shouldn’t be used.
* | config.in: change terminal emulator to footLibravatar Drew DeVault2021-05-06
| | | | | | | | | | | | This is my preferred terminal emulator now. Seeing as the default config file is basically "Drew's preferences watered down a bit for a general audience", I reckon it should be updated accordingly :)
* | Add tab dragging functionalityLibravatar tomKPZ2021-05-06
| | | | | | | | | | | | | | | | | | | | | | Implements functionality described in [1]. Please see the issue for a video with a demonstration of the new behavior. An issue is that titlebars cover up a significant portion of the top edge drop area. The solution is simply to change the edge drop area hitbox to start at the contents instead of the container. [1] https://github.com/swaywm/sway/issues/6218
* | Added scroll_factor input variable to ipc outputLibravatar Erik Reider2021-05-05
| |
* | build: remove sd-bus status itemLibravatar Simon Ser2021-05-04
| | | | | | | | sd-bus == tray, no need to print the same thing twice.