John Lindgren

Results 12 issues of John Lindgren

This adds some filtering to the "current_now" or "power_now" readings, which keeps the remaining time estimate from jumping around quite so much. MAX_SAMPLES = 60 gives 5 minutes of filtering...

I'm not sure if this is an Xwayland, `wlroots`, or `labwc` issue -- possibly all three. ### Versions wayland 1.20.0 xorg-xwayland 22.1.0 wlroots git [511f137f](https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/511f137f8fb245e4877d83a0846294091373eba1) (2022-02-07) labwc git edc73550 (wlroots-git...

Set the initial geometry of maximized/fullscreen views before actually mapping them, so that they can do their initial layout and drawing with the correct geometry. This avoids visual glitches and...

depends-on-wlroots-change

For testing/discussion. Depends on a wlroots change ~~that I haven't submitted yet~~ submitted here: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4384 Offer focus by sending WM_TAKE_FOCUS to a client window supporting it. The client may accept...

depends-on-wlroots-change

Now that we have _NET_WM_WINDOW_TYPE support, we can use it to fix focus issues with Globally Active windows more properly, as we've discussed before (https://github.com/labwc/labwc/issues/1139#issuecomment-1763191003), and remove various hacks/workarounds that...

Switching to an GTK3 application (tested with xfce4-terminal) via Alt-Tab results in the menu shortcut underlines (e.g. the "F" in the File menu) appearing after a short delay, as if...

Related to issue #1130 and discussion on #1137. Since 7e72bf975fb65c8290b398d21b2ad9d87a22880f, XWayland views that set `WM_HINTS.input=false` are skipped in the Alt-Tab pager. This behavior matches Openbox; however, it is inconvenient when...

enhancement

Hi @postspectacular, I noticed there haven't been any commits in master for a while, and a couple of PRs have been sitting for a bit too. Are you still interested...

- Add early NULL check to ta_free() - Add overflow checks in alloc_block() and ta_calloc() - Clear full block size to 0's in ta_calloc() - Optionally set errno to ENOMEM...

Calling `ta_alloc(0)` and then another `ta_alloc()` (of any size) appears to be returning the same address twice. Having two memory blocks sharing the same address is bad since there is...