]> git.mdlowis.com Git - proto/labwc.git/log
proto/labwc.git
2 years agodesktop: refactor desktop_cycle_view()
Johan Malm [Thu, 25 Jan 2024 19:52:54 +0000 (19:52 +0000)]
desktop: refactor desktop_cycle_view()

...in preparation for using common window-rule criteria with osd.c

No functional change intended.

Related-to #1454

2 years agoview: remove view_is_related(), no longer used
John Lindgren [Wed, 14 Feb 2024 08:13:12 +0000 (03:13 -0500)]
view: remove view_is_related(), no longer used

2 years agoseat: don't deactivate view for any non-view surface
John Lindgren [Wed, 14 Feb 2024 08:11:32 +0000 (03:11 -0500)]
seat: don't deactivate view for any non-view surface

Now we now longer gray-out the active window when opening a focusable
popup menu (e.g. the applications menu from an XWayland panel). This
matches Openbox behavior.

2 years agoRevert "desktop: allow re-focus between "globally active" views of the same PID"
John Lindgren [Wed, 14 Feb 2024 03:35:56 +0000 (22:35 -0500)]
Revert "desktop: allow re-focus between "globally active" views of the same PID"

This is undesired when a focusable popup (e.g. applications menu) of an
unfocusable view (e.g. XWayland panel) is closed.

This reverts commit f6e3527767fffe81fa05073ae73893bb89a45d4f.

2 years agoxwayland: remove "try to focus on parent surface" logic
John Lindgren [Wed, 14 Feb 2024 03:32:14 +0000 (22:32 -0500)]
xwayland: remove "try to focus on parent surface" logic

This was apparently to fix an Intellij focus issue, but I don't see any
issues with Intellij currently, and the logic is wrong when the parent
XWayland surface doesn't want focus (e.g. an XWayland panel with a
focusable applications menu).

2 years agoxwayland: treat Globally Active windows according to type
John Lindgren [Thu, 15 Feb 2024 02:11:03 +0000 (21:11 -0500)]
xwayland: treat Globally Active windows according to type

Tested with IntelliJ IDEA and JDownloader 2, which were problematic in
the past.

Fixes: #1139 #1341
2 years agoHandle touch on headerbar (#1550)
Simon Long [Tue, 5 Mar 2024 20:41:17 +0000 (20:41 +0000)]
Handle touch on headerbar (#1550)

...using cursor emulate events.

2 years agoIME: support input method
tokyo4j [Fri, 9 Feb 2024 07:52:37 +0000 (16:52 +0900)]
IME: support input method

2 years agosrc/server.c: filter out xwayland shell for usual clients
Consolatis [Sun, 25 Feb 2024 23:54:57 +0000 (00:54 +0100)]
src/server.c: filter out xwayland shell for usual clients

2 years agosrc/output.c: restore flicker free resize when running nested
Consolatis [Tue, 27 Feb 2024 22:25:45 +0000 (23:25 +0100)]
src/output.c: restore flicker free resize when running nested

PR #1301 did partly revert the first variant because
`lab_wlr_scene_output_commit()` (which uses the `output->pending`
state in contrast to `wlr_scene_output_commit()`) was deemd to
cause 'frozen' frames during video playback (#1273).

We are now back at using `lab_wlr_scene_output_commit()` for
unrelated reasons and the cause of the original issue #1273 was
likely that `wlr_scene_output_send_frame_done()` was only sent
on a successful commit. This was changed to always be sent.

So lets restore the flicker free nested resize as well.

2 years agoAdd weblate information (#1581)
Standreas [Mon, 4 Mar 2024 21:20:08 +0000 (22:20 +0100)]
Add weblate information (#1581)

...and some sub-headings

2 years agokey-state: use struct assignment
John Lindgren [Sat, 11 Nov 2023 04:44:41 +0000 (23:44 -0500)]
key-state: use struct assignment

2 years agodocs/labwc.1: restructure, document session management
Andrew J. Hesford [Mon, 4 Mar 2024 00:33:10 +0000 (19:33 -0500)]
docs/labwc.1: restructure, document session management

2 years agosession: only update activation environment...
Andrew J. Hesford [Sun, 3 Mar 2024 20:04:24 +0000 (15:04 -0500)]
session: only update activation environment...

...when running DRM backend or by explicit request

2 years agosession.c: updated dbus activation environment with more env vars
David F [Sun, 3 Mar 2024 17:47:58 +0000 (18:47 +0100)]
session.c: updated dbus activation environment with more env vars

Fixes: #694
2 years agosession: run shutdown script, clean up activation env before exit
Andrew J. Hesford [Sun, 18 Feb 2024 17:23:14 +0000 (12:23 -0500)]
session: run shutdown script, clean up activation env before exit

2 years agoaction: reduce MoveToOutput logging
Johan Malm [Sat, 2 Mar 2024 19:40:33 +0000 (19:40 +0000)]
action: reduce MoveToOutput logging

2 years agoview: add MoveToOutput `wrap` attribute
Johan Malm [Sat, 2 Mar 2024 15:42:05 +0000 (15:42 +0000)]
view: add MoveToOutput `wrap` attribute

Support `wrap` in view_get_adjacent_output(). This means that when seeking
an adjacent output in a particular direction from an output that is
already furthest in that direction within the layout, rather than
returning NULL, wrap around from the leftmost to the rightmost, or topmost
to the bottommost and vice versa.

Example usage:

    <action name="MoveToOutput" direction="right" wrap="yes" />

Wrap is disabled by default to keep the user interface consistent.

2 years agoview: fix view_get_adjacent_output() bug
Johan Malm [Sat, 2 Mar 2024 15:34:52 +0000 (15:34 +0000)]
view: fix view_get_adjacent_output() bug

...when using more than two outputs.

Use the centre of the view's output as the reference coordinate when
seeking adjacent outputs.

Fixes: #1582
2 years agofix: typo in labwc-config.5.scd
Birger Schacht [Sat, 2 Mar 2024 07:41:13 +0000 (08:41 +0100)]
fix: typo in labwc-config.5.scd

specifc -> specific

2 years agoCONTRIBUTING.md: correct the instructions for adding a locale code
01micko [Sat, 2 Mar 2024 01:39:36 +0000 (11:39 +1000)]
CONTRIBUTING.md: correct the instructions for adding a locale code

2 years agoAdd cs language
zenobit [Sat, 2 Mar 2024 00:01:22 +0000 (01:01 +0100)]
Add cs language

2 years agobuild: bump version to 0.7.1
Johan Malm [Fri, 1 Mar 2024 21:16:21 +0000 (21:16 +0000)]
build: bump version to 0.7.1

2 years agoNEWS.md: update for 0.7.1
Johan Malm [Fri, 2 Feb 2024 20:55:16 +0000 (20:55 +0000)]
NEWS.md: update for 0.7.1

2 years agoTranslation updates from weblate
Weblate [Thu, 29 Feb 2024 14:23:25 +0000 (15:23 +0100)]
Translation updates from weblate

Co-authored-by: Alice Ventus <zolkin.ag@phystech.edu>
Co-authored-by: Jouni Järvinen <jounijarvis@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/fi/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/lt/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ru/
Translation: Labwc/labwc

2 years agodocs/rc.xml: remove gap from the example config
Consolatis [Wed, 28 Feb 2024 20:37:04 +0000 (21:37 +0100)]
docs/rc.xml: remove gap from the example config

Some distro packages install the example config at /etc/xdg/labwc/rc.xml
and thus users of those packages were having a gap 10 setting by default.

Lets remove the gap from the example config to match our intended default.

2 years agoCONTRIBUTING.md: Void maintainer nick change
Consolatis [Wed, 28 Feb 2024 18:28:51 +0000 (19:28 +0100)]
CONTRIBUTING.md: Void maintainer nick change

2 years agodocs: add sendEventsMode to libinput snippet
Jens Peters [Sun, 25 Feb 2024 19:31:16 +0000 (20:31 +0100)]
docs: add sendEventsMode to libinput snippet

2 years agosrc/xdg-popup.c: delay popup unconstrain until after first commit
Consolatis [Sat, 24 Feb 2024 22:16:55 +0000 (23:16 +0100)]
src/xdg-popup.c: delay popup unconstrain until after first commit

Fixes: #1372
2 years agosrc/layers.c: delay popup unconstrain until after first commit
Consolatis [Sat, 24 Feb 2024 22:05:02 +0000 (23:05 +0100)]
src/layers.c: delay popup unconstrain until after first commit

Fixes: #1372
2 years agoTranslation updates from weblate
Weblate [Sat, 24 Feb 2024 22:23:23 +0000 (23:23 +0100)]
Translation updates from weblate

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/tr/
Translation: Labwc/labwc

2 years agoconfig: support libinput sendEventsMode
Sachin Bhat [Sun, 25 Jun 2023 23:36:54 +0000 (07:36 +0800)]
config: support libinput sendEventsMode

This allows to enable / disable libinput devices.

Co-Authored-By: @Consolatis
2 years agoseat: fix configure condition for click method
Jens Peters [Sat, 24 Feb 2024 18:12:56 +0000 (19:12 +0100)]
seat: fix configure condition for click method

Exclude none (zero) from the bitmask test , otherwise
the bitmask test is always true when click method is
configured to 'none' and as a result the configuration
will be skipped.

2 years agosrc/output.c: log when disabling adaptive_sync on a nested labwc
Consolatis [Thu, 22 Feb 2024 20:24:05 +0000 (21:24 +0100)]
src/output.c: log when disabling adaptive_sync on a nested labwc

2 years agosrc/output.c: notify clients about config errors
Consolatis [Thu, 22 Feb 2024 20:22:28 +0000 (21:22 +0100)]
src/output.c: notify clients about config errors

Preliminary fix for #1525.

Based on the protocol we should also revert all
previously correctly committed outputs. #1528
is doing just that but may cause regressions so
we need a short term solution and then deal with
potential issues in #1528 after the release.

2 years agoREADME.md: Add screenshot description
Johan Malm [Mon, 19 Feb 2024 22:01:27 +0000 (22:01 +0000)]
README.md: Add screenshot description

...and use the png files on the labwc website rather than imgur.

Fixes: #1363
2 years agoTranslation updates from weblate
Weblate [Wed, 21 Feb 2024 14:23:23 +0000 (15:23 +0100)]
Translation updates from weblate

Co-authored-by: A S Alam <amanpreet.alam@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: winerysearch <david.fitala@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/hu/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/pa/
Translation: Labwc/labwc

2 years agoAdd click method libinput option (#1416)
Marvin Dostal [Wed, 21 Feb 2024 17:19:48 +0000 (18:19 +0100)]
Add click method libinput option (#1416)

<libinput>
  <device>
    <clickMethod>none|buttonAreas|clickfinger</clickMethod>
  </device>
</libinput>

2 years agoedges: better ignore edges of windows not on same output as moving view
Andrew J. Hesford [Thu, 1 Feb 2024 21:56:54 +0000 (16:56 -0500)]
edges: better ignore edges of windows not on same output as moving view

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