~ruther/dwl

afbafd53 — Guido Cella a month ago
don't crash when initializing more monitors than supported

Fixes https://codeberg.org/dwl/dwl/issues/726
4ff9db2c — Guido Cella a month ago
Revert "remove zero flickering lie"

This reverts commit b1c101515a579b91bd36a3e98c4642255bbb599d.

Fixed by d3fa329.
d3fa3299 — Guido Cella a month ago
fix flicker when arranging tiled windows

Fixes https://codeberg.org/dwl/dwl/issues/552
Fixes https://codeberg.org/dwl/dwl/issues/705

Also, floating children of fullscreen windows in floating layout now go
in LyrFS instead of LyrTile.
f08d8b39 — Guido Cella a month ago
fix segfault when XWayland fails to initialize

Fixes https://codeberg.org/dwl/dwl/issues/1202
90e7c722 — Guido Cella a month ago
remove client_is_rendered_on_mon() and client_is_stopped()

Unused since 70c33c0.
e2038450 — Guido Cella 2 months ago
fix popup positioning

Related: https://codeberg.org/dwl/dwl/pulls/1244

Co-authored-by: DanD <dandgg.ftw@gmail.com>
4fd683cc — save196 2 months ago
fix X11 clients shifting by the border width on map

c->geom includes the border, but client_get_geometry() returns the
content position. Subtract the border, clamped to the layout edges.
d29259c2 — Guido Cella 2 months ago
refactor focusclient()
fccce974 — Guido Cella 2 months ago
remove obsolete comment

No longer accurate since a514a92.
d9ddaba7 — Guido Cella 2 months ago
also make clients tiled on map

While making them tiled on the first commit was needed to fix Firefox
starting with rounded corners, if you don't set them tiled again on map
resizing mpv after starting it with a rule that makes it floating
behaves wrong.

Fixes d1ebf3c.
Fixes https://codeberg.org/dwl/dwl/issues/1247.
f1675a48 — Guido Cella 2 months ago
Revert "client: do not drop configure events based on current committed size"

This reverts commit 242ffd7a7521a74fc9edf68bcc7e6a3cd75ec860.

Removing this conditon can cause a xdg_toplevel.configure ↔
wl_surface.commit loop that uses 100% CPU.

Fixes https://codeberg.org/dwl/dwl/issues/1245
Fixes https://codeberg.org/dwl/dwl/issues/1246
a75ca796 — Guido Cella 2 months ago
add missing void

Needed to compile on OpenBSD.
87029e21 — Guido Cella 2 months ago
remove exclusive_focus variable

This is not needed because focusclient() already calls
toplevel_from_wlr_surface(seat->keyboard_state.focused_surface) and can
check if that should have exclusive focus.

When it was added there was no function to get the focused layer shell
surface in this way.
a514a928 — aloires 2 months ago
focusclient: set input method focus for layer surfaces

Focusing a layer surface only set the keyboard focus, not the text-input
focus, so layer-shell clients (launchers, menus, ...) never received a
text-input enter event and IME input didn't work. Pass the layer surface
to focusclient() and set the input method focus there, like we already do
for regular clients.
242ffd7a — André Desgualdo Pereira 2 months ago
client: do not drop configure events based on current committed size
f22c223c — save196 2 months ago
don't run keybindings on keyrepeat while locked
b83881f8 — save196 2 months ago
don't send pointer events to clients while locked
fa400c5d — save196 2 months ago
don't run axis bindings when locked
40b0ae76 — save196 2 months ago
bind axis to nothing by default
2a567195 — save196 2 months ago
don't use the xdg window geometry offset as a position

It is the offset of the visible bounds inside the surface, which is not
zero for clients that pad their surface or place subsurfaces outside it,
so floating windows were mapped offset by their client side decorations.
Next