]> git.mdlowis.com Git - proto/labwc.git/log
proto/labwc.git
2 years agosrc/debug.c: detect more scene trees
Consolatis [Fri, 9 Feb 2024 04:12:00 +0000 (05:12 +0100)]
src/debug.c: detect more scene trees

Also
- resolve workspaces names and view app_id
- truncate everything

2 years agoedges: do not apply resistance to invisible edges
Consolatis [Thu, 8 Feb 2024 13:23:06 +0000 (14:23 +0100)]
edges: do not apply resistance to invisible edges

2 years agoCI: update Void-musl base image
Andrew J. Hesford [Sun, 11 Feb 2024 00:22:56 +0000 (19:22 -0500)]
CI: update Void-musl base image

2 years agoCI: add release build step
Consolatis [Sat, 10 Feb 2024 16:18:18 +0000 (17:18 +0100)]
CI: add release build step

2 years agosrc/ssd: ensure we crash properly when compiled without asserts
Consolatis [Sat, 10 Feb 2024 17:16:10 +0000 (18:16 +0100)]
src/ssd: ensure we crash properly when compiled without asserts

2 years agoPrevent 'unused variable' warnings when compiled without asserts
Consolatis [Sat, 10 Feb 2024 17:02:30 +0000 (18:02 +0100)]
Prevent 'unused variable' warnings when compiled without asserts

2 years agosrc/seat.c: provide NULL fallback for output name
Consolatis [Sat, 10 Feb 2024 16:25:27 +0000 (17:25 +0100)]
src/seat.c: provide NULL fallback for output name

This fixes a warning when doing a release build.

2 years agoCI: try to use system wlroots
Consolatis [Sat, 10 Feb 2024 17:41:58 +0000 (18:41 +0100)]
CI: try to use system wlroots

2 years agoview: cancel interactive resize when shading
Andrew J. Hesford [Thu, 8 Feb 2024 15:13:33 +0000 (10:13 -0500)]
view: cancel interactive resize when shading

2 years agoTranslation updates from weblate
Weblate [Tue, 30 Jan 2024 08:23:13 +0000 (09:23 +0100)]
Translation updates from weblate

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jan Rolski <wbcwknvstb@proton.me>
Co-authored-by: Priit Jõerüüt <lxqtwlate@joeruut.com>
Co-authored-by: Standreas <standreas@riseup.net>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin <bittin@reimu.nl>
Co-authored-by: daniel <punished.haddock@proton.me>
Co-authored-by: kmephistoh <kanhaosmile@gmail.com>
Co-authored-by: pixis1 <vaninpixel89@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/et/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/it/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/nl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/pl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/pt/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ru/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/sv/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/uk/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/zh_CN/
Translation: Labwc/labwc

2 years agoMerge pull request #1491 from Consolatis/feature/fix_invisible_resize_area
Johan Malm [Wed, 7 Feb 2024 22:13:57 +0000 (22:13 +0000)]
Merge pull request #1491 from Consolatis/feature/fix_invisible_resize_area

src/ssd: allow invisible resize area across outputs

2 years agooutput: allow changing adaptive sync state
Ph42oN [Wed, 7 Feb 2024 21:17:17 +0000 (23:17 +0200)]
output: allow changing adaptive sync state

Fixes: #1412
2 years agoMerge pull request #1508 from ahesford/follow_the_white_rabbit
Andrew J. Hesford [Wed, 7 Feb 2024 20:44:42 +0000 (15:44 -0500)]
Merge pull request #1508 from ahesford/follow_the_white_rabbit

Refinements to edge behavior

2 years agoresistance: only resist "entry" into another window space
Andrew J. Hesford [Tue, 6 Feb 2024 16:26:42 +0000 (11:26 -0500)]
resistance: only resist "entry" into another window space

2 years agosrc/ssd: allow invisible resize area across outputs
Consolatis [Wed, 31 Jan 2024 21:09:15 +0000 (22:09 +0100)]
src/ssd: allow invisible resize area across outputs

This uses the new `view->outputs` bitset to calculate the intersection
with *all* outputs the view is currently visible on.

This ensures that the invisible resize handle works across outputs
while still making sure that it won't leak into neighboring ones just
because it is positioned closely to an output edge (either manually,
maximized or snapped via SnapToEdge or SnapToRegion).

Co-Authored-By: @johanmalm
Fixes: #1486
Reported-By: @lurch
2 years agosrc/view.c: store outputs the view is visible on
Consolatis [Wed, 31 Jan 2024 21:07:13 +0000 (22:07 +0100)]
src/view.c: store outputs the view is visible on

2 years agosrc/theme.c: minor code improvements
Consolatis [Mon, 5 Feb 2024 14:16:16 +0000 (15:16 +0100)]
src/theme.c: minor code improvements

2 years agosrc/theme.c: use rounded hover overlays
Consolatis [Sun, 4 Feb 2024 22:08:05 +0000 (23:08 +0100)]
src/theme.c: use rounded hover overlays

Fixes: #1504
2 years agoedges: weaken traversal requirement for applying resistance
Andrew J. Hesford [Tue, 6 Feb 2024 15:41:15 +0000 (10:41 -0500)]
edges: weaken traversal requirement for applying resistance

2 years agoresistance: prevent "snapping" when windows change direction near edges
Andrew J. Hesford [Tue, 6 Feb 2024 15:00:48 +0000 (10:00 -0500)]
resistance: prevent "snapping" when windows change direction near edges

2 years agoREADME.md: fix spelling
Consolatis [Tue, 6 Feb 2024 01:09:04 +0000 (02:09 +0100)]
README.md: fix spelling

Reported-by: tyzef
2 years agoedges: limit edge attraction and resistance...
Andrew J. Hesford [Fri, 2 Feb 2024 19:43:52 +0000 (14:43 -0500)]
edges: limit edge attraction and resistance...

...to edges actually encountered by motion during interactive moves and
resizes.

In addition, ignore edge resistance and attraction for minimized views.

2 years agomeson.build: install badges for labwc and migrate to data/
Rick Calixte [Mon, 22 Jan 2024 19:44:58 +0000 (14:44 -0500)]
meson.build: install badges for labwc and migrate to data/

A .desktop file was previously added for the labwc session, this adds a
badge for it where it is supported. The .desktop files and the badges
are also moved to `data/`.

Ref: #36, 9fa783e, labwc/labwc-artwork#7

2 years agoCONTRIBUTING.md: add Debian maintainer
Consolatis [Sat, 3 Feb 2024 21:51:09 +0000 (22:51 +0100)]
CONTRIBUTING.md: add Debian maintainer

2 years agosrc/desktop.c: reduce OSD log spam on hover
Consolatis [Fri, 2 Feb 2024 20:56:58 +0000 (21:56 +0100)]
src/desktop.c: reduce OSD log spam on hover

2 years agoNEWS.md: s/under-cursor/cursor/
Johan Malm [Fri, 2 Feb 2024 19:28:26 +0000 (19:28 +0000)]
NEWS.md: s/under-cursor/cursor/

2 years agoview: respect rc.gap when moving to cursor
Andrew J. Hesford [Fri, 2 Feb 2024 17:03:20 +0000 (12:03 -0500)]
view: respect rc.gap when moving to cursor

Fixes: #1494
2 years agoNEWS.md: note changes in snapping behavior
Andrew J. Hesford [Tue, 30 Jan 2024 21:15:14 +0000 (16:15 -0500)]
NEWS.md: note changes in snapping behavior

2 years agoedges: only snap to neighbors on outputs containing the changing view
Andrew J. Hesford [Thu, 1 Feb 2024 14:44:44 +0000 (09:44 -0500)]
edges: only snap to neighbors on outputs containing the changing view

2 years agoedges: simplify output edge validation
Andrew J. Hesford [Thu, 1 Feb 2024 14:41:54 +0000 (09:41 -0500)]
edges: simplify output edge validation

2 years agoview: better honor usable areas when changing outputs...
Andrew J. Hesford [Tue, 30 Jan 2024 19:41:33 +0000 (14:41 -0500)]
view: better honor usable areas when changing outputs...

...in view_move_to_edge. If a view is fully within the usable area of
its original output, it should be fully within the usable area (if
possible) on its new output.

2 years agoMerge pull request #1482 from ahesford/whats_in_the_box
Andrew J. Hesford [Tue, 30 Jan 2024 20:19:17 +0000 (15:19 -0500)]
Merge pull request #1482 from ahesford/whats_in_the_box

Comprehensive snapping/resistance rewrite

2 years agoedges, resistance, snap: unified resistance and snapping engine
Andrew J. Hesford [Tue, 23 Jan 2024 18:44:40 +0000 (13:44 -0500)]
edges, resistance, snap: unified resistance and snapping engine

2 years agoplacement: consider gaps when placing new windows
Andrew J. Hesford [Tue, 23 Jan 2024 17:19:42 +0000 (12:19 -0500)]
placement: consider gaps when placing new windows

2 years agoMerge pull request #1463 from ahesford/boris-and-doris
Johan Malm [Tue, 30 Jan 2024 18:02:28 +0000 (18:02 +0000)]
Merge pull request #1463 from ahesford/boris-and-doris

view, xdg: notify clients when tiling windows

2 years agoxdg: add snapping.notifyClient option to control tiling events
Andrew J. Hesford [Tue, 23 Jan 2024 03:11:53 +0000 (22:11 -0500)]
xdg: add snapping.notifyClient option to control tiling events

2 years agointeractive: reset tiled state when dragging out of snapped position
Andrew J. Hesford [Tue, 23 Jan 2024 00:04:16 +0000 (19:04 -0500)]
interactive: reset tiled state when dragging out of snapped position

This ensures that client-side decorations (and maybe other client
behaviors) behave intuitively during interative moves, but means that

    drag to snapped position -> drag to maximize -> un-maximize

will put the window back to its natural geometry (saved before the first
snap) rather than back to the snapped position. This is a change in
behavior, but a) simplifies the logic a bit, because the tiled state is
always in sync with the window geometry and b) in some sense is "more
correct", because the window has been "visually" un-tiled the minute the
window starts dragging.

Note that maximizing using an action (including the button) a window
that has been snapped and then un-maximizing the window will put the
window back to the snapped position, as it always has.

2 years agoview, xdg: notify clients when tiling windows
Andrew J. Hesford [Mon, 22 Jan 2024 20:38:14 +0000 (15:38 -0500)]
view, xdg: notify clients when tiling windows

2 years agoMerge pull request #1487 from ahesford/dont_think_about_elephants
Johan Malm [Mon, 29 Jan 2024 21:51:23 +0000 (21:51 +0000)]
Merge pull request #1487 from ahesford/dont_think_about_elephants

xdg: make sure wlroots knows client size before activation

2 years agoxdg: make sure wlroots always knows the correct client size
Andrew J. Hesford [Mon, 29 Jan 2024 20:07:27 +0000 (15:07 -0500)]
xdg: make sure wlroots always knows the correct client size

2 years agoNEWS.md: fix indentation
redtide [Fri, 26 Jan 2024 16:17:16 +0000 (17:17 +0100)]
NEWS.md: fix indentation

2 years agoNEWS.md: wrap xml in markdown code blocks
Jens Peters [Fri, 26 Jan 2024 15:29:02 +0000 (16:29 +0100)]
NEWS.md: wrap xml in markdown code blocks

2 years agoxwayland: support querying window types
Consolatis [Wed, 24 Jan 2024 17:06:57 +0000 (18:06 +0100)]
xwayland: support querying window types

2 years agoview: ensure midpoint is visible on layout change
Andrew J. Hesford [Thu, 25 Jan 2024 15:45:59 +0000 (10:45 -0500)]
view: ensure midpoint is visible on layout change

Fixes: #1476.
2 years agoenvironment: add Thunderbird to MOZ_ENABLE_WAYLAND description
Johan Malm [Wed, 24 Jan 2024 21:39:46 +0000 (21:39 +0000)]
environment: add Thunderbird to MOZ_ENABLE_WAYLAND description

2 years agoNEWS.md: update for 0.7.1
Johan Malm [Thu, 28 Dec 2023 22:22:54 +0000 (22:22 +0000)]
NEWS.md: update for 0.7.1

2 years agoxwayland: prevent crash due to unexpected surface dissociate events
John Lindgren [Tue, 23 Jan 2024 23:22:56 +0000 (18:22 -0500)]
xwayland: prevent crash due to unexpected surface dissociate events

Fixes #1360
Fixes #1466

2 years agosrc/output.c: expose output configuration test to clients
Consolatis [Mon, 22 Jan 2024 14:22:26 +0000 (15:22 +0100)]
src/output.c: expose output configuration test to clients

2 years agosrc/output.c: properly test new output configurations
Consolatis [Mon, 22 Jan 2024 14:21:18 +0000 (15:21 +0100)]
src/output.c: properly test new output configurations

Fixes #1458

2 years agointeractive: unify interactive_{cancel,finish} where possible
Andrew J. Hesford [Tue, 23 Jan 2024 13:54:02 +0000 (08:54 -0500)]
interactive: unify interactive_{cancel,finish} where possible

This also fixes a bug wherein dragging a window and pressing a hot-key
to maximize or fullscreen a window could leave a snap-region highlight
visible after the interactive move was canceled.

2 years agoresistance: properly handled shaded windows
Andrew J. Hesford [Tue, 23 Jan 2024 03:49:03 +0000 (22:49 -0500)]
resistance: properly handled shaded windows

2 years agoview: do not resize fullscreen windows
Jens Peters [Mon, 22 Jan 2024 22:52:33 +0000 (23:52 +0100)]
view: do not resize fullscreen windows

2 years agoview: fix early return condition
Jens Peters [Mon, 22 Jan 2024 22:14:25 +0000 (23:14 +0100)]
view: fix early return condition

2 years agodocs: describe MoveToOutput/FitToOutput action
Jens Peters [Mon, 22 Jan 2024 21:56:47 +0000 (22:56 +0100)]
docs: describe MoveToOutput/FitToOutput action

2 years agoaction: add FitToOutput
Jens Peters [Mon, 22 Jan 2024 21:56:18 +0000 (22:56 +0100)]
action: add FitToOutput

2 years agoaction: add MoveToOutput
Jens Peters [Sun, 21 Jan 2024 22:45:47 +0000 (23:45 +0100)]
action: add MoveToOutput

2 years agoview: add move_to_output() function
Jens Peters [Sun, 21 Jan 2024 22:44:27 +0000 (23:44 +0100)]
view: add move_to_output() function

2 years agoview: expose view_get_adjacent_output
Jens Peters [Sun, 21 Jan 2024 22:40:25 +0000 (23:40 +0100)]
view: expose view_get_adjacent_output

2 years agoview: allow overriding of cursor placement policy
Jens Peters [Sun, 21 Jan 2024 22:25:01 +0000 (23:25 +0100)]
view: allow overriding of cursor placement policy

2 years agoview: fix typo
Jens Peters [Sun, 21 Jan 2024 16:15:12 +0000 (17:15 +0100)]
view: fix typo

2 years agodocs: extend touch section
Jens Peters [Fri, 19 Jan 2024 09:37:33 +0000 (10:37 +0100)]
docs: extend touch section

2 years agoseat: re-map pointer to output on reconfigure
Jens Peters [Fri, 19 Jan 2024 09:12:44 +0000 (10:12 +0100)]
seat: re-map pointer to output on reconfigure

Makes testing easier, also consistent with other
devices types on reconfigure.

2 years agoseat: get output name from touch config for current device
Jens Peters [Fri, 19 Jan 2024 09:10:02 +0000 (10:10 +0100)]
seat: get output name from touch config for current device

The output name attached to the touch device has
still priority.

2 years agoconfig: add finding touch configurations
Jens Peters [Fri, 19 Jan 2024 09:07:52 +0000 (10:07 +0100)]
config: add finding touch configurations

2 years agoconfig: parse multiple touch configurations
Jens Peters [Fri, 19 Jan 2024 09:06:53 +0000 (10:06 +0100)]
config: parse multiple touch configurations

Also temporary disable touch output mapping.
Will be restored later.

2 years agoconfig: introduce touch config structure
Jens Peters [Fri, 19 Jan 2024 08:28:55 +0000 (09:28 +0100)]
config: introduce touch config structure

2 years agoinput: move function to config
Jens Peters [Wed, 17 Jan 2024 18:01:06 +0000 (19:01 +0100)]
input: move function to config

This function is only about rc, so fits better
in config.

2 years agoRemoved obsolete comment
Standreas [Mon, 22 Jan 2024 10:02:41 +0000 (11:02 +0100)]
Removed obsolete comment

"unshade" exists now.

2 years agoresistance: support negative strengths to indicate attractive snapping
Andrew J. Hesford [Sun, 21 Jan 2024 17:56:37 +0000 (12:56 -0500)]
resistance: support negative strengths to indicate attractive snapping

2 years agoresistance: add window-edge resistance for interactive moves/resizes
Andrew J. Hesford [Sun, 21 Jan 2024 02:59:46 +0000 (21:59 -0500)]
resistance: add window-edge resistance for interactive moves/resizes

2 years agoview: fix regression whereby cursor is not updated
Johan Malm [Fri, 19 Jan 2024 20:27:23 +0000 (20:27 +0000)]
view: fix regression whereby cursor is not updated

...on view destruction because focus_change_notify() in seat.c changes
server->active_view so the logic introduced by 6c6e406 (which checks if
view =! active_view) is no longer right.

The glitches described in the commit below have not come back.
https://github.com/labwc/labwc/commit/6c6e406507bfb0e9a809b74029b5b05b5a095768

Fixes #1393

2 years agostring-helpers.c: add string_empty()
Johan Malm [Fri, 19 Jan 2024 19:06:07 +0000 (19:06 +0000)]
string-helpers.c: add string_empty()

2 years agokeyboard: set keyboard layout on reconfigure
Simon Long [Tue, 16 Jan 2024 12:43:18 +0000 (12:43 +0000)]
keyboard: set keyboard layout on reconfigure

If keyboard-layout-per-toplevel-window is used, reset the group (index)
for each window on --reconfigure whenever the keymap has changed.

Refactor to use a common configure function for reconfigure and
keyboard-group creation.

Co-authored-by: @johanmalm
Fixes #1407

2 years agoHonour -c <file> on --reconfigure
Johan Malm [Thu, 18 Jan 2024 19:45:49 +0000 (19:45 +0000)]
Honour -c <file> on --reconfigure

2 years agoconfig: support merging multiple config files
Johan Malm [Tue, 9 Jan 2024 22:00:45 +0000 (22:00 +0000)]
config: support merging multiple config files

Add the -m|--merge-config command line option to iterate backwards over
XDG Base Dir paths and read config/theme files multiple times.

For example if both ~/.config/labwc/rc.xml and /etc/xdg/labwc/rc.xml
exist, the latter will be read first and then the former (if
--merge-config is enabled).

When $XDG_CONFIG_HOME is defined, make it replace (not augment)
$HOME/.config. Similarly, make $XDG_CONFIG_DIRS replace /etc/xdg when
defined.

XDG Base Dir Spec does not specify whether or not an application (or a
compositor!) should (a) define that only the file under the most important
base directory should be used, or (b) define rules for merging the
information from the different files.

ref: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

In the case of labwc there is a use-case for both positions, just to be
clear, the default behaviour, described by position (a) above, does NOT
change.

This change affects the following config/theme files:
  - rc.xml
  - menu.xml
  - autostart
  - environment
  - themerc
  - themerc-override
  - Theme buttons, for example max.xbm

Instead of caching global config/theme directories, create lists of paths
(e.g.  '/home/foo/.config/labwc/rc.xml', '/etc/xdg/labwc/rc.xml', etc).
This creates more common parsing logic and just reversing the direction
of iteration and breaks early if config-merge is not wanted.

Enable better fallback for themes. For example if a particular theme does
not exist in $HOME/.local/share/themes, it will be searched for in
~/.themes/ and so on. This also applies to theme buttons which now
fallback on an individual basis.

Avoid using stat() in most situations and just go straight to fopen().

Fixes #1406

2 years agobutton: save a few cycles by returning early
Johan Malm [Wed, 17 Jan 2024 21:50:53 +0000 (21:50 +0000)]
button: save a few cycles by returning early

...and in preparation for the merge-config patch, avoid building
directory lists for empty filenames.

2 years agoview: assign output on surface creation instead of mapping...
Andrew J. Hesford [Wed, 17 Jan 2024 18:12:35 +0000 (13:12 -0500)]
view: assign output on surface creation instead of mapping...

...and notify the client of the preferred output scale when doing so.
This should allow clients to better determine an optimal size if they
are initially configured (unmapped) with zero size.

In particular, this fixes an issue with foot:

    https://codeberg.org/dnkl/foot/issues/1579

2 years agoTranslation updates from weblate
Weblate [Sun, 7 Jan 2024 14:23:06 +0000 (15:23 +0100)]
Translation updates from weblate

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Jouni Järvinen <jounijarvis@gmail.com>
Co-authored-by: Masamichi Ito <ito32bit+github@gmail.com>
Co-authored-by: Moo <hazap@hotmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/de/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ja/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/lt/
Translation: Labwc/labwc

2 years agokeyboard: cancel key repeat on vt change
Johan Malm [Sun, 14 Jan 2024 19:52:43 +0000 (19:52 +0000)]
keyboard: cancel key repeat on vt change

...(calling `wlr_session_change_vt()`) because when the session is
switched, the access to the keyboard is lost and therefore the RELEASE
event will not be passed to the compositor.

Fixes bug whereby compositor crashes on VT change on FreeBSD.

Fixes #1424

2 years agofeat: add Shade/Unshade/ToggleShade actions
Consolatis [Tue, 8 Aug 2023 01:39:35 +0000 (03:39 +0200)]
feat: add Shade/Unshade/ToggleShade actions

This builds on the work of @Consolatis in #1018.

Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
2 years agodocs: add touch section
Jens Peters [Sat, 13 Jan 2024 21:56:00 +0000 (22:56 +0100)]
docs: add touch section

2 years agoseat: re-map pointer to output on output change
Jens Peters [Sat, 13 Jan 2024 21:54:05 +0000 (22:54 +0100)]
seat: re-map pointer to output on output change

2 years agoseat: configure libinput for touch on reconfigure
Jens Peters [Sat, 13 Jan 2024 09:05:05 +0000 (10:05 +0100)]
seat: configure libinput for touch on reconfigure

2 years agoseat: remove not needed device type test
Jens Peters [Sat, 13 Jan 2024 09:03:25 +0000 (10:03 +0100)]
seat: remove not needed device type test

The device type is already validated in the calling
function.

2 years agoseat: re-map touch to output on output change
Jens Peters [Fri, 12 Jan 2024 23:25:45 +0000 (00:25 +0100)]
seat: re-map touch to output on output change

2 years agoseat: re-map touch to output on reconfigure
Jens Peters [Fri, 12 Jan 2024 23:25:19 +0000 (00:25 +0100)]
seat: re-map touch to output on reconfigure

2 years agoseat: map touch to configured output name
Jens Peters [Fri, 12 Jan 2024 23:25:08 +0000 (00:25 +0100)]
seat: map touch to configured output name

The output name linked to the touch device
has preference when set. This happens when
the compositor runs in nested mode.

2 years agoconfig: add touch output mapping configuration
Jens Peters [Fri, 12 Jan 2024 23:19:44 +0000 (00:19 +0100)]
config: add touch output mapping configuration

2 years agoFixed some typos, whitespace, periods, 80-column lines
Tomi Ollila [Sat, 13 Jan 2024 17:51:20 +0000 (19:51 +0200)]
Fixed some typos, whitespace, periods, 80-column lines

- typos: LINGUAS manually, rest with help of aspell(1)
- whitespace: some trailing spaces/tabs, one utf-8 NBSP (#xC2 #xA0)
- made most text in docs/ fit in max 80-column wide lines
- consistent trailing periods in sentences in labwc-actions.5.scd and
  labwc-config.5.scd; labwc-theme.5.scd had different consistency,
  changed it follow these other files with sentence-ending periods
- and ", respectively" (comma often used to separate)

2 years agodocs: fix element ending
Jens Peters [Fri, 12 Jan 2024 22:58:24 +0000 (23:58 +0100)]
docs: fix element ending

2 years agoview: fix crash when a minimized fullscreen window closes
bi4k8 [Thu, 11 Jan 2024 14:56:04 +0000 (14:56 +0000)]
view: fix crash when a minimized fullscreen window closes

Do not call view methods after invalidating an invariant of the view
(view->scene_tree != NULL)

2 years agomenu: run actions on button release
Johan Malm [Thu, 28 Dec 2023 22:44:59 +0000 (22:44 +0000)]
menu: run actions on button release

...and call actions after closing menus so that virtual keyboard input
caused by actions are sent to the surface with keyboard-focus rather
than being consumed by the open menu.

Fixes: #1366
2 years agodocs: extend tablet section
Jens Peters [Tue, 9 Jan 2024 05:58:42 +0000 (06:58 +0100)]
docs: extend tablet section

Also change order to be in line with the xml elements.

2 years agoseat: re-map tablet to output on output change
Jens Peters [Tue, 9 Jan 2024 05:58:35 +0000 (06:58 +0100)]
seat: re-map tablet to output on output change

2 years agoseat: re-map tablet to output on reconfigure
Jens Peters [Mon, 8 Jan 2024 17:45:49 +0000 (18:45 +0100)]
seat: re-map tablet to output on reconfigure

2 years agoseat: map tablet to output on init
Jens Peters [Sun, 7 Jan 2024 21:24:16 +0000 (22:24 +0100)]
seat: map tablet to output on init

2 years agoseat: extract function
Jens Peters [Sun, 7 Jan 2024 21:22:06 +0000 (22:22 +0100)]
seat: extract function

2 years agoseat: change order
Jens Peters [Sun, 7 Jan 2024 21:20:38 +0000 (22:20 +0100)]
seat: change order

More in line with other functions.

2 years agoconfig: add tablet output mapping configuration
Jens Peters [Sun, 7 Jan 2024 21:19:05 +0000 (22:19 +0100)]
config: add tablet output mapping configuration

Also add missing default for 'tablet.rotation'.

2 years agoconfig: change order
Jens Peters [Sun, 7 Jan 2024 21:18:06 +0000 (22:18 +0100)]
config: change order

More in line with the xml structure.