summaryrefslogtreecommitdiffstats
path: root/client.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-10add missing return in client_is_floating_type()v0.3.1Leonardo Hernández Hernández1-0/+2
This causes all Xwayland clients to be treated as floating
2022-03-21improve floating detectionLeonardo Hernández Hernández1-7/+28
mostly copied from sway
2022-03-18do not allow set client size less than its min sizeLeonardo Hernández Hernández1-0/+20
2022-03-16constraint popups to its parent clientLeonardo Hernández Hernández1-0/+21
Closes: #146 Closes: #155
2022-03-13don't use fullscreen event in fullscreennotify()Leonardo Hernández Hernández1-0/+10
2022-01-08fix client_set_tiled, which was ignoring its "edges" argumentArmaël Guéneau1-2/+1
2021-09-05simplify client_for_each_surfaceDevin J. Pohly1-16/+14
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. Pohly1-0/+11
2020-12-25consolidate some of the ugliness into a separate fileDevin J. Pohly1-0/+163
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.