~ruther/dwl

fec06999 — Guido Cella 2 months ago
make client_set_size() return void

The return value is unused since the previous commit.
e7f185ed — Guido Cella 2 months ago
remove c->resize

Unused since 70c33c0.
f9c644f0 — Andrea Chiavazza 2 months ago
use modifier-independent key symbols in keybindings

Co-authored-by: Guido Cella <guido@guidocella.xyz>
dc9a8601 — Leonardo Hernández Hernández 2 months ago
use the new output swapchain manager in outputmgrapplyortest()
d1ebf3c9 — Guido Cella 2 months ago
fix firefox opening with rounded corners

Fixes https://codeberg.org/dwl/dwl/issues/1169

The c->isfloating check is needed to have the correct floating window
size with e.g. alacritty -o window.dimensions.columns=15
window.dimensions.lines=10.
replicate dwm behavior for snap resize
5fd19fea — Guido Cella 2 months ago
support monitors above and below in focusmon and tagmon

Fixes https://codeberg.org/dwl/dwl/issues/1105
b1c10151 — Guido Cella 2 months ago
remove zero flickering lie

This isn't true since dwl switched to the scene API in 2021 (1b38801).

The issue is tracked at https://codeberg.org/dwl/dwl/issues/552.
8ad2c920 — Guido Cella 2 months ago
use the right cursor after move and resize

Fixes https://codeberg.org/dwl/dwl/issues/1162

Co-authored-by: DreamMaoMao <2523610504@qq.com>
e8bf70d6 — Peter Hofmann 2 months ago
implement Axis mouse bindings

Co-authored-by: Guido Cella <guido@guidocella.xyz>
99cdc9a8 — Guido Cella 2 months ago
set seat capabilities for virtual keyboards and pointers

wlr_seat_set_capabilities was never called without a real input device.

Fixes https://codeberg.org/dwl/dwl/issues/1155.

Co-authored-by: brinkpw
7ba33506 — Guido Cella 2 months ago
don't crash when clicking an empty area

If l is not initialized, accessing
l->layer_surface->current.keyboard_interactive causes a segmentation
fault. This was hard to see because c above was never initialized but
never caused a crash, and dwl also didn't crash building with ASan.

Also initialize c to be safe.

Fixes 4c54bd8.
Fixes https://codeberg.org/dwl/dwl/issues/1225.
fb4102b5 — Guido Cella 2 months ago
support screenshare of single windows

Supersedes https://codeberg.org/dwl/dwl/pulls/1157.

Co-authored-by: Zuki Air <zukirust@gmail.com>
721f70ea — Guido Cella 2 months ago
implement ext-foreign-toplevel-list

This is used by lswt which lists toplevel ids and titles.
keyd-application-mapper will also support it hopefully.

This will also be needed to support screenshare of single windows
(https://codeberg.org/dwl/dwl/pulls/1157).

Co-authored-by: Zuki Air <zukirust@gmail.com>
0a6dc6d5 — Guido Cella 2 months ago
add support for layer-shell on-demand keyboard interactivity

Supersedes https://codeberg.org/dwl/dwl/pulls/674

Co-authored-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Co-authored-by: MayOrMayNotBeACat <maybeacat804@gmail.com>
4c54bd81 — Guido Cella 2 months ago
implement xytonode() with toplevel_from_wlr_surface()

xytonode() does not return the layer surface under the cursor because
pnode->data is always NULL. It was not noticed because it is not passed
the LayerSurface argument anywhere. But it is noticeable after
implementing layer shell on-demand keyboard interactivity because layer
shell surfaces are never focused by sloppyfocus.

Rather than figuring out how to fix it, just replace its implementation
with toplevel_from_wlr_surface() which works and also reduces the SLOC.
2f3fe067 — Guido Cella 2 months ago
add IME support

Based on mangowm, which is based on labwc, which is based on sway, so
this should be covered by LICENSE.sway.

Fixes https://codeberg.org/dwl/dwl/issues/6
Fixes https://codeberg.org/dwl/dwl/issues/710
Fixes https://codeberg.org/dwl/dwl/issues/1176
Fixes https://codeberg.org/dwl/dwl/issues/1185

Co-authored-by: DreamMaoMao <2523610504@qq.com>
f6800e95 — Andrea Chiavazza 1 year, 6 months ago
fix some key binding events being passed to clients
7fb20244 — Siva Mahadevan 9 months ago
move util.c to util.h

This allows single-source compilation and whole-program optimization using something like:

make CFLAGS='-flto -ffunction-sections -fdata-sections -Wl,--gc-sections'

Furthermore, move more compositor-agnostic utility functions/macros to util.h,
similar to the original dwm sources.
21be76ac — A Frederick Christensen 2 months ago
Formally not lead developers in README

User @guidocella joins dwl as a lead developer
Next