aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge commit '97111f3e606c7c11dd418c275c3e7c2d69b68a06' into HEADHEADmasterLibravatar Jenkins CI5 days
|\
| * Override outputs with the workspace commandpatch-for/masterLibravatar Kristóf Marussy2021-01-20
| |
* | use node_is_viewLibravatar siikamiika6 days
| |
* | Improve built-in touchscreen detectionLibravatar Jari Ronkainen7 days
| | | | | | | | | | | | | | | | | | Adds detection code to handle pci-*-platform-* strings in ID_PATH References: https://github.com/swaywm/sway/issues/6590 Signed-off-by: Jari Ronkainen <ronchaine@gmail.com>
* | swaybar: fix cairo_font_options leakLibravatar Nathan Schulte8 days
| |
* | Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8cLibravatar Tassilo Horn8 days
| |
* | readme: drop recommendation about packagingLibravatar Simon Ser8 days
| | | | | | | | | | | | - The contact info is out-of-date - Sway is packaged in many distributions now - I don't think we necessarily need to mention this in the README
* | idle_inhibit: Fix tree view after changes in commit 152a559eLibravatar Bartel Sielski12 days
| | | | | | | | | | | | | | | | Commit 152a559e replaced the view pointer in the inhibitor struct with a pointer to the wlr_inhibitor for application inhibitors. But this was not changed in the sway_idle_inhibit_v1_application_inhibitor_for_view function. This caused a bug in the sway tree view where the application inhibitor is always "none".
* | sway-input.5.scd: Fix spelling errorsLibravatar Elyes HAOUAS14 days
| | | | | | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* | commands: Remove unused code after 1d3681f52135Libravatar Evgeniy Khramtsov2021-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Clang 13 reports: ../sway/commands.c:470:23: error: variable 'context' set but not used [-Werror,-Wunused-but-set-variable] enum command_context context = 0; ^ Last use of was removed in commit 1d3681f52135. Downstream PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258813
* | Chase wlr_xdg_surface breaking changesLibravatar Simon Ser2021-10-01
| | | | | | | | | | | | See [1]. [1]: https://github.com/swaywm/wlroots/pull/3106
* | Add support for DRM panel orientationLibravatar Simon Ser2021-09-28
| | | | | | | | References: https://github.com/swaywm/wlroots/pull/3205
* | readme: add missing spaceLibravatar Simon Ser2021-09-28
| |
* | layer-shell: fix commit handlerLibravatar Kirill Primak2021-09-25
| | | | | | | | | | | | | | This commit makes sure the extents are kept up-to-date, fixes not damaging the surface if its layer shell-specific state didn't change, and adds a check if the layer shell-specific state didn't change but the surface got mapped/unmapped, which could affect keyboard focus.
* | layer-shell: check `committed` bitmaskLibravatar Kirill Primak2021-09-24
| | | | | | | | This avoids infinite configure-ack_configure-commit loop.
* | layer-shell: chase wlr layer surface refactorLibravatar Kirill Primak2021-09-23
| |
* | xdg-shell: remove unused request_maximize listenerLibravatar Kirill Primak2021-09-21
| |
* | Revert "xdg_shell: schedule configure on maximize requests"Libravatar Kirill Primak2021-09-21
| | | | | | | | | | This reverts commit 4dd46f06acc520449b980a5ea52be544cc5bfb6d, as the logic is now handled by wlroots.
* | xdg-shell: chase wlr xdg toplevel refactorLibravatar Kirill Primak2021-09-21
| |
* | Add -Dnoscanout debug optionLibravatar Simon Ser2021-09-20
| | | | | | | | | | | | This can help debugging direct scan-out issues, such as [1]. [1]: https://github.com/swaywm/wlroots/issues/3185
* | swaybar: properly draw blocks with transparent black borderLibravatar Nathan Schulte2021-09-20
| | | | | | | | | | | | while the draw itself is a no-op, alignment must still be accounted this requires more signalling about the blocks (border_set; was the border set?)
* | Drop hardcoded font metric valuesLibravatar Hugo Osvaldo Barrera2021-09-20
| |
* | Avoid unecessary font metric calculationsLibravatar Hugo Osvaldo Barrera2021-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to 62d90a8e, titlebar's font height (and other related values) would change any time any titlebar's content changed, so these values were recalculated each time any titlebar's content changed (or a new titlebar was created). However, since the above was merge, these values no longer change so often and we only need to recalculate them when the configured font changes (and stop calling `config_update_font_height` each time titlebars are rendered). This commit removes all the unecessary calls to this function and avoids all those unecessary calculations. Whenever the font strays from the default value, the `font` command is called, and it calls `config_update_font_height`, which is enough to keep the value always up to date. I've also added a default value to the `font_baseline` config, since otherwise that's zero for setups that don't explicitly specify a font.
* | sway-ipc.7.scd: fix typoLibravatar aajonusonline2021-09-19
| |
* | README: Added Greek translationLibravatar Christian Llupo2021-09-19
| |
* | swaybar: properly draw urgent block right borderLibravatar Nathan Schulte2021-09-15
| | | | | | | | | | introduced via #3287 -- https://github.com/swaywm/sway/pull/3287/files#diff-a1e918ce0bc71f4f7934767541319e724a51a34a5418ecdc286065e50921eda4L239 uncovered via #3394 -- https://github.com/swaywm/sway/pull/3394/files#diff-a1e918ce0bc71f4f7934767541319e724a51a34a5418ecdc286065e50921eda4R258
* | build: remove scdoc stdin/stdout hackLibravatar Simon Ser2021-09-15
| | | | | | | | | | | | | | | | Since [1], Meson allows feeding the input file as stdin and capturing stout to the output file. We don't need the sh hack anymore. [1]: https://github.com/mesonbuild/meson/pull/8923
* | readme: Align Danish translation with main READMELibravatar Kenny Levinsen2021-09-13
| |
* | readme: mention seatdLibravatar Simon Ser2021-09-13
| | | | | | | | When seatd is used, it isn't necessary to suid the sway binary.
* | swaynag: fix pointer button events on scaled outputsLibravatar xdavidwu2021-09-13
| | | | | | | | | | | | | | sway#6504 simplified rendering code by setting scaling at cairo, but that also changed button position records into ones without scale multiplication, breaking button events. This fixes it by not multiplying scale on events handling as well.
* | Rename pango_printf to render_textLibravatar Simon Ser2021-09-13
| | | | | | | | | | This avoids using the pango_ prefix, reserved for functions coming from the Pango library.
* | readme: link to gamja for IRCLibravatar Simon Ser2021-09-13
| | | | | | | | | | | | gamja offers a better experience than Kiwi. Obviously I'm 100% biased. Completely fine to not make the switch if someone feels differently.
* | readme: switch to Libera Chat for irLibravatar Simon Ser2021-09-13
| |
* | Simplify swaybar/swaynag scaling codeLibravatar Caduser20202021-09-12
| | | | | | | | | | Use `cairo_scale` to set the scale factor, removing redundant multiplications by `output->scale`.
* | introduce wlr_drm_lease_v1Libravatar Simon Zeni2021-09-09
| | | | | | | | | | | | | | | | This prevents sway from extending the desktop to i.e. VR headsets, and makes them available for DRM leasing. Non-desktop wlr_outputs will be offered through the wlr_drm_lease_v1_manager interface for client to lease.
* | view: fix child position calcLibravatar Kirill Primak2021-09-08
| | | | | | | | | | Previously, the position was calculated incorrectly for nested subsurfaces.
* | build: subproject support for wayland-protocolsLibravatar lbonn2021-09-08
| | | | | | | | | | | | As in wlroots: [1] [1]: https://github.com/swaywm/wlroots/pull/2953
* | render: fix -Ddamage=rerenderLibravatar Kirill Primak2021-09-07
| |
* | surface: chase wlr subsurface list/link changeLibravatar Kirill Primak2021-09-06
| |
* | view: fix saved buffer orderLibravatar Kirill Primak2021-09-05
| |
* | Fix overly-wide mark texturesLibravatar Daniel De Graaf2021-09-04
| | | | | | | | | | The width of the texture needs to be calculated using the string that is actually displayed in the texture.
* | commands: update split none command for a047b5ee4Libravatar Ronan Pigott2021-09-04
| |
* | command: implement split noneLibravatar Ronan Pigott2021-09-03
| |
* | seatop_down: End if surface is destroyed or other seatop startsLibravatar Simon Plakolb2021-09-02
| | | | | | | | | | | | If the surface the pointer started to interact with is destroyed we also want the seatop_down to end. In case a drag is initiated we receive a call to handle_end.
* | input: Use seatop_down on layer surface clickLibravatar Simon Plakolb2021-09-02
| | | | | | | | | | | | | | This solves an issue where layer-shell items would not receive a button release event when the pointer left them while being pressed. The default seatop changes focus immediately while seatop_down defers any focus changes until the pointer is released or seatop_down is destroyed.
* | Add `output modeline` commandLibravatar David Rosca2021-08-31
| | | | | | | | Only works with DRM backend.
* | desktop/xwayland: restack surface upon activationLibravatar Tudor Brindus2021-08-28
| | | | | | | | This commit updates Sway for swaywm/wlroots#2915.
* | config.in: use portable hour specifierLibravatar Nihal Jere2021-08-27
| | | | | | | | | | `%l` is GNU specific. `%I` does the same thing but padded by zeros, and is POSIX compliant.
* | Deduplicate code for rendering titlebar textsLibravatar Hugo Osvaldo Barrera2021-08-27
| | | | | | | | | | | | | | | | | | The title itself and marks were being rendered by two very-similar yet different functions, and any changes made to one had to be reflected on the other. This mostly prevents such oversights from happening, and keeps makes sure we keep both consistent.
* | Use fixed titlebar heightsLibravatar Hugo Osvaldo Barrera2021-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fixed titlebar heights. The default height is calculated based on font metrics for the configured font and current locale. Some testing with titles with emoji and CJK characters (which are substantially higher in my setup) shows that the titlebars retain their initial value, text does shift up or down, and all titlebars always remain aligned. Also drop some also now-unecessary title_height calculations. Makes also needed to be updated, since they should be positioned with the same rules.