summaryrefslogtreecommitdiff
path: root/client.h
AgeCommit message (Collapse)Author
2022-08-23set 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-12handle client_from_wlr_surface() receiving a subsurfaceLeonardo Hernández Hernández
2022-07-19always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández
fixes #272
2022-07-15remove a useless checkLeonardo Hernández Hernández
if `s->role_data == NULL`, wlr_*_surface_from_wlr_surface() will return NULL and we are checking it
2022-06-24respect size hintsLeonardo Hernández Hernández
2022-06-21unconstrain layer shell popupsLeonardo Hernández Hernández
also unconstrain popups from monitor's usable area
2022-06-16move ugglyness to client.hLeonardo Hernández Hernández
2022-06-06improve client_from_wlr_surface()Leonardo Hernández Hernández
2022-05-23add a new function to get a client from a wlr_surfaceLeonardo Hernández Hernández
2022-05-15Check if XWayland client size_hints are NULLBen Jargowsky
2022-05-14fix segfault when dragging chromium tabsLeonardo Hernández Hernández
2022-04-10add missing return in client_is_floating_type()Leonardo Hernández Hernández
This causes all Xwayland clients to be treated as floating
2022-03-21improve floating detectionLeonardo Hernández Hernández
mostly copied from sway
2022-03-18Merge branch 'main' into scenegraphLeonardo Hernández Hernández
2022-03-18do not allow set client size less than its min sizeLeonardo Hernández Hernández
2022-03-16constraint popups to its parent clientLeonardo Hernández Hernández
Closes: #146 Closes: #155
2022-03-13Merge branch 'fix-segfault-in-fullscreennotify'Leonardo Hernández Hernández
2022-03-13don't use fullscreen event in fullscreennotify()Leonardo Hernández Hernández
2022-01-08fix client_set_tiled, which was ignoring its "edges" argumentArmaël Guéneau
2021-09-05simplify client_for_each_surfaceDevin J. Pohly
All the XDG surface iterator does is iterate the main wlr_surface, then iterate the popups. If we inline that function, we can merge part of it with the X11 case.
2021-05-23factor xwayland hackiness out into client.hDevin J. Pohly
2020-12-25consolidate some of the ugliness into a separate fileDevin J. Pohly
Similar to Linux kernel approach, encapsulate some of the uglier conditional compilation into inline functions in header files. The goal is to make dwl.c more attractive to people who embrace the suckless philosophy - simple, short, hackable, and easy to understand. We want dwm users to feel comfortable here, not scare them off. Plus, if we do this right, the main dwl.c code should require only minimal changes once XWayland is no longer a necessary evil. According to `cloc`, this also brings dwl.c down below 2000 lines of non-blank, non-comment code.