summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-01allocate with LISTEN_STATICkorei999
Fixes: https://codeberg.org/dwl/dwl/issues/723 Supersedes: https://codeberg.org/dwl/dwl/pulls/724
2025-01-19rename some listenersLeonardo Hernández Hernández
To keep consistency with the rest of listeners
2025-01-19destroy keyboard group after unlinking listenersLeonardo Hernández Hernández
Last commit addressing the issue mentioned in 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19unlink global listeners on destroyLeonardo Hernández Hernández
Continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19Partially revert "Line saver: LISTEN_STATIC macro"Leonardo Hernández Hernández
This reverts commit 33bcd2e4ca892bb0b558660c99ed63a3dfdd9011. We keep LISTEN_STATIC for three instances where we use it. We use simple listeners for the rest of signals. This is the continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-17unlink some destroy listenersLeonardo Hernández Hernández
Recently wlroots was updated to assert that signals do not have listeners attached on destroy. This is just a preliminar work to fix dwl. At the moment dwl will trigger the assertions at exit. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4918
2025-01-14do not call waitid(2) in the signal handler when Xwayland is enabledLeonardo Hernández Hernández
waitid(2) is not a async-signal-safe function acording to signal-safety(7) We can stop doing this because wlroots!4926 allows compositors to install signal handlers for SIGCHLD. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4926
2025-01-14use wlr_xwayland_surface_has_window_type() (wlroots!4553)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
2024-12-10manually call updatemons in powermgrsetmode()Leonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/713
2024-11-15remove binary before copying to destinationLeonardo Hernández Hernández
Since Linux 6.11 is possible overwrite a running executable, possibly making it crash. Thanks to: movq42rax Fixes: https://codeberg.org/dwl/dwl/issues/709 References: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2a010c412853 References: https://lore.kernel.org/stable/CACKH++YAtEMYu2nTLUyfmxZoGO37fqogKMDkBpddmNaz5HE6ng@mail.gmail.com/T/#u
2024-10-27specify version for presentation-time (wlroots!4858)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858
2024-10-27check if the backend supports explicit sync before creating the object ↵Leonardo Hernández Hernández
(wlroots!4848) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
2024-09-21tell xwayland clients they're maximizedLeonardo Hernández Hernández
like we do to xdg clients when tiled state is not supported.
2024-09-12fix a use after freeGuido Cella
This line makes dwl crash after closing mpv with the switchtotag patch.
2024-09-08reorder config.mk variablesGuido Cella
By placing the default WLR_INCS and WLR_LIBS before the ones for an alternative wlroots, they don't need to be commented to enable the alternative ones.
2024-08-30fix style for client_set_scale()Leonardo Hernández Hernández
2024-08-27remove unused link member from KeyboardGroupchoc
unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce ΔSLOC: -1
2024-08-27disable scene node unless it is unmanagedLeonardo Hernández Hernández
2024-08-27send a configure to unmanaged clients when mappingLeonardo Hernández Hernández
2024-08-27configure xdg_toplevels after configuring it's decorationLeonardo Hernández Hernández
2024-08-27remove a space before parenthesis in function callsLeonardo Hernández Hernández
2024-08-27destroy popups when we can't get it's parent or they don't have monitorLeonardo Hernández Hernández
2024-08-27remove a redundant checkLeonardo Hernández Hernández
resize() now does the same check
2024-08-27avoid using a else blockLeonardo Hernández Hernández
2024-08-27introduce client_set_scale()Leonardo Hernández Hernández
2024-08-27remove unnecessary LayerShell.geomLeonardo Hernández Hernández
We only used geom.x and geom.y. We can access those variables directly from the scene node.
2024-08-27update comment about first fields of Client and LayerSurface orderLeonardo Hernández Hernández
2024-08-27fix style in configurex11()Leonardo Hernández Hernández
2024-08-26fix crash when a client is created while all outputs are disabledLeonardo Hernández Hernández
2024-08-18state that the Discord server is community-maintainedLeonardo Hernández Hernández
Previously I regularly checked the server but it has been quite a long time since I was able to do it.
2024-08-18Update CHANGELOG.mdA Frederick Christensen
2024-08-14chase xdg_surface geometry changes (wlroots!4788)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4788
2024-08-14use wlr_scene_set_gamma_control_manager_v1() (wlroots!4192)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4192
2024-08-14guarantee client_get_{title,appid} never return NULLLeonardo Hernández Hernández
ΔSLOC: -6
2024-08-14allow the use of non-system wlroots libraryLeonardo Hernández Hernández
References: https://codeberg.org/dwl/dwl/issues/646#issuecomment-2032644
2024-08-10fix potential crash in configurex11()Leonardo Hernández Hernández
We can't call resize() on unmanaged clients because they don't have borders and resize() requires them. Fixes: 94f4ead7dad89433e6087dc19950738c64bbed05
2024-08-08account border width in configurex11()Leonardo Hernández Hernández
Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2
2024-08-08actually move unmanaged clients in configurex11()Leonardo Hernández Hernández
only calling wlr_xwayland_surface_configure() may be not enough because we also need to move the scene node in order to make effective the configure
2024-08-08improve checking in configurex11()Leonardo Hernández Hernández
this avoids a client resizing itself when the user is interactively resizing the client
2024-08-08drop a useless check in configurex11()Leonardo Hernández Hernández
2024-08-07do not restack xwayland surfaces (wlroots!4756)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4756
2024-08-06add support for linux-drm-syncobj-v1 (wlroots!4715)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4262 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4715
2024-08-06fix crash when a virtual pointer is destroyedLeonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/680
2024-08-01`-pedantic` -> `-Wpedantic`Leonardo Hernández Hernández
Bug: https://codeberg.org/dwl/dwl/issues/584
2024-07-27fix maximize callback not getting deregisterdSivecano
2024-07-27fix crash when re-mapping a clientLeonardo Hernández Hernández
Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747
2024-07-27replace spaces with tabsLeonardo Hernández Hernández
Fixes: 71f11e6cf63289d51f152469a0da81a85fe2608c
2024-07-24add myself to .mailmapLeonardo Hernández Hernández
2024-07-24send scale on initial commit to layer surfacesLeonardo Hernández Hernández
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
2024-07-23dwl(1): use correct special characters for - and 'Lennart Jablonka
The hyphen-minus <-> and apostrophe-quote <'> are interpreted by troff as hyphen and right single quotation mark. See groff_char(7). Fixes: 0db6f3c5b5f9 ("add dwl(1)")