Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-05 | place child clients above fullscreen clients | Guido Cella | |
When a child window of a fullscreen client is mapped, the fullscreen is disabled, and if the previously fullscreen client is floating the child window is rendered below it and cannot be seen, causing confusion, though it is still focused and interactable. Fix this by putting children of fullscreen clients in LyrFS instead of LyrFloat, and by returning before the unset_fullscreen code is called when they are mapped. focusstack() now lets you switch focus from a fullscreen client to its child windows, otherwise if you switch focus from the child window to the fullscreen client you could not focus the child window again and the fullscreen client would stay unresponsive. Child clients are not reparented to LyrFloat after leaving fullscreen, so you could spawn a child window, focus back the fullscreen client, unfullscreen it, and the child window would still be drawn above other floating clients. Avoid dealing with this edge case to keep the line count low. These cases can be tested by pressing Ctrl+o in applications with an open file dialog. | |||
2024-02-05 | make XWayland clients inherit tags and monitors | Guido Cella | |
Revert 3213088 because the linked bug can no longer be reproduced with wlroots 0.17, and update client_get_parent() so it doesn't segfault with XWayland surfaces. This also allows reusing the p variable in the next commit. | |||
2024-01-15 | turn on -Wsign-compare | Leonardo Hernández Hernández | |
2023-12-12 | check toplevel resources | Leonardo Hernández Hernández | |
it's just a aesthetic change | |||
2023-12-10 | merge X11Managed and X11Unmanaged into X11 | Leonardo Hernández Hernández | |
now that client_is_unmanaged() checks the wlr struct we don't need to keep track of it ourselves | |||
2023-12-10 | check if a client is unmanaged checking the o-r flag | Leonardo Hernández Hernández | |
it may change at any moment and I don't really want to add a listener for it | |||
2023-11-21 | Do not send repeated xdg_toplevel.configure_bounds | Leonardo Hernández Hernández | |
Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85 | |||
2023-11-17 | check toplevel resource instead of client's xdg_shell to set bounds | Leonardo Hernández Hernández | |
2023-11-17 | use the new wlroots function to get a toplevel from a wlr_surface | Leonardo Hernández Hernández | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4419 | |||
2023-11-17 | explicitly return -1 in the first check in toplevel_from_wlr_surface | Leonardo Hernández Hernández | |
2023-11-17 | do not use #ifdef -> #else -> #endif in client_is_x11 | Leonardo Hernández Hernández | |
all other funcions use #ifdef -> #endif | |||
2023-11-17 | delete unused functions | Leonardo Hernández Hernández | |
2023-11-17 | style fixes in client_is_float_type | Leonardo Hernández Hernández | |
2023-11-17 | correctly check if the scene node is enabled in client_is_rendered_on_mon | Leonardo Hernández Hernández | |
2023-11-17 | do not use magical numbers to check edges | Leonardo Hernández Hernández | |
the interface is declared stable, which means we could just use 0 anyway | |||
2023-11-17 | simplify client_get_clip | Leonardo Hernández Hernández | |
the clips for xwayland and xdg clients are pretty similar, after all we only need to adjust x and y for xdg clients | |||
2023-11-14 | use wlr_scene_subsurface_tree_set_clip | Leonardo Hernández Hernández | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131 Closes: https://github.com/djpohly/dwl/issues/411 | |||
2023-11-14 | Revert "respect size hints" | Leonardo Hernández Hernández | |
This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565. | |||
2023-11-01 | send maximized if tiled isn't supported (XDG shell) | Leonardo Hernández Hernández | |
wlroots doesn't do it automatically anymore References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4409 | |||
2023-10-09 | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | |
2023-10-09 | simplify setting the border color of clients | Leonardo Hernández Hernández | |
2023-08-21 | chase wlroots!4288 | Leonardo Hernández Hernández | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4288 | |||
2023-07-31 | set withdrawn state for xwayland invisible clients | Leonardo Hernández Hernández | |
2023-07-31 | add support for xdg-shell v6 | Leonardo Hernández Hernández | |
2023-06-02 | chase wlroots map logic unification | Leonardo Hernández Hernández | |
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> | |||
2023-02-02 | chase wlroots!3391 | Leonardo Hernández Hernández | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3991 | |||
2023-02-01 | follow upstream xwayland_surface changes | Job79 | |
wlroots removed the `wlr_surface_is_xwayland_surface` function, and renamed `wlr_xwayland_surface_from_wlr_surface` to `wlr_xwayland_surface_try_from_wlr_surface`. related commit: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/fbf5982e3838ee28b5345e98832f6956c402b225 | |||
2022-12-24 | do not try to resize if size wouldn't change | Leonardo Hernández Hernández | |
2022-12-24 | do not skip frames if a client is stopped and have a pending resize | Leonardo Hernández Hernández | |
2022-12-24 | Revert "Revert "fix flickering when resizing/spawning windows"" | Leonardo Hernández Hernández | |
This reverts commit 4a32293548667e68cd9a103e22368b8db1754deb. | |||
2022-12-15 | Check width and height are not negative in client_set_bounds() | Ben Jargowsky | |
2022-12-06 | Revert "fix flickering when resizing/spawning windows" | Leonardo Hernández Hernández | |
This reverts commit 017bb7d7521f68d37bfe656c10f45edbcc92dd61. Bug: https://github.com/djpohly/dwl/issues/349 | |||
2022-12-05 | improve type safety of toplevel_from_wlr_surface() | Leonardo Hernández Hernández | |
2022-12-05 | merge toplevel_from_{wlr_layer_surface,popup} into client_from_wlr_surface | Leonardo Hernández Hernández | |
now it is a big function called toplevel_from_wlr_surface | |||
2022-12-05 | sort client_get_parent() | Leonardo Hernández Hernández | |
2022-12-03 | fix flickering when resizing/spawning windows | Palanix | |
Fixes: https://github.com/djpohly/dwl/issues/306 | |||
2022-12-01 | fix xwayland clients being floating by default | Leonardo Hernández Hernández | |
Fix 3213088aa23e1f6cad1a5ba506dfb7318e1011c9 References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730 | |||
2022-11-10 | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | |
2022-11-09 | check null in toplevel_from_popup | shua | |
managed to SEGFAULT the server by trying to create a popup without setting a parent first. Not sure if this is dwl or wlroots issue, so also opened a ticket upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3811 | |||
2022-10-29 | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | |
2022-10-15 | allow unmanaged clients (like dzen or dmenu) to have keyboard focus | Leonardo Hernández Hernández | |
2022-10-08 | correctly handle cursor motion when button is held (for layer surfaces) | Leonardo Hernández Hernández | |
2022-10-01 | Merge remote-tracking branch 'djpohly/main' into wlroots-next | Leonardo Hernández Hernández | |
2022-09-20 | remove unused variables | Leonardo Hernández Hernández | |
2022-08-27 | new function to notify keyboard enter | Leonardo Hernández Hernández | |
2022-08-27 | sort client.h functions | Leonardo Hernández Hernández | |
2022-08-26 | Merge remote-tracking branch 'djpohly/main' into wlroots-next | Leonardo Hernández Hernández | |
2022-08-23 | set monitor for clients that don't have one in updatemons() | Leonardo Hernández Hernández | |
only if selmon is enabled and the clients are mapped | |||
2022-08-12 | handle client_from_wlr_surface() receiving a subsurface | Leonardo Hernández Hernández | |
2022-07-19 | always set the same monitor and tags for child clients of a client | Leonardo Hernández Hernández | |
fixes #272 |