summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2022-06-24inline unmaplayersurface() into unmaplayersurfacenotify()Leonardo Hernández Hernández
unmap signal is guaranted to be emitted before destroy signal so is useless checking if it is mapped at destroy
2022-06-24avoid layer surface popups appearing below x{dg,wayland} clientsLeonardo Hernández Hernández
2022-06-24unconstrain layer shell popups from monitor sizeLeonardo Hernández Hernández
unconstrain other popups from monitor usable area
2022-06-21chase wlroots input_device changesLeonardo Hernández Hernández
2022-06-21use LayerSurface.mon when possibleLeonardo Hernández Hernández
2022-06-21unconstrain layer shell popupsLeonardo Hernández Hernández
also unconstrain popups from monitor's usable area
2022-06-20don't set `c->isfullscreen` to zeroLeonardo Hernández Hernández
calloc initializes all fields to zero
2022-06-16move ugglyness to client.hLeonardo Hernández Hernández
2022-06-16remove unneeded check in focusclient()Leonardo Hernández Hernández
2022-06-14kill child process in cleanup()Leonardo Hernández Hernández
2022-06-10add click method configuration optionMarco Siedentopf
Add the libinput configuration option to choose between Software Button Areas and Clickfinger
2022-06-09set client bounds at resizeLeonardo Hernández Hernández
2022-06-09use xdg-shell v4Leonardo Hernández Hernández
2022-06-07use xdg-shell v3Leonardo Hernández Hernández
2022-06-07chase wlroots scene-tree changesLeonardo Hernández Hernández
2022-06-05fix compiler error with gcc complaining about parenthesesLeonardo Hernández Hernández
dwl.c: In function ‘unmaplayersurface’: dwl.c:2253:9: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] 2253 | layersurface->layer_surface->mapped = layersurface->mapped = 0; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [<builtin>: dwl.o] Error 1 clang not affected
2022-06-05disable scene node at unmaplayersurface()Leonardo Hernández Hernández
2022-05-27call client_set-size() if client has a resizeLeonardo Hernández Hernández
2022-05-25check client_surface() returning NULLLeonardo Hernández Hernández
now client_surface()->data is a pointer to the wlr_scene_tree of clients which allows us to not call wlr_scene_node_lower_to_bottom() for every clients
2022-05-25correct libinput function name for drag_lockLeonardo Hernández Hernández
2022-05-25destroy layersurface's scene node in destroylayersurfacenotify()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-23Add configuration options for touchpadsBen Jargowsky
2022-05-21chase wlroots scene-surface refactorLeonardo Hernández Hernández
2022-05-17Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
chase wlroots X11 hints update
2022-05-17implement urgency hints for xwayland clientsLeonardo Hernández Hernández
2022-05-15specify version in wlr_xdg_shell_create()Leonardo Hernández Hernández
2022-05-14fix segfault when dragging chromium tabsLeonardo Hernández Hernández
2022-05-13Run focusclient when switching to monocle layoutBen Jargowsky
2022-05-10Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
2022-05-10remove trailing whitespacesLeonardo Hernández Hernández
2022-05-10add `-v` flag to the manpageLeonardo Hernández Hernández
Thanks @Humm42
2022-05-09add flag to print version and exitLeonardo Hernández Hernández
2022-05-09Handle 'wlr_seat_get_keyboard' possibly returning null.Ben Jargowsky
2022-04-29restack xwayland surface on focusclient()Leonardo Hernández Hernández
2022-04-25Run printstatus() when a monitor is removedBen Jargowsky
2022-04-16schedule a configure on maximize requestLeonardo Hernández Hernández
see maximizenotify() for more info
2022-04-15use pointer math in xytonode()Leonardo Hernández Hernández
2022-04-12replace deleted EBARF() with die()Leonardo Hernández Hernández
2022-04-08Merge remote-tracking branch 'djpohly/main' into HEADLeonardo Hernández Hernández
2022-04-05abcLeonardo Hernández Hernández
2022-04-05typedefs: abcLeonardo Hernández Hernández
2022-04-05includes: abcLeonardo Hernández Hernández
2022-04-03Remove vestigial monitor configuration infoDevin J. Pohly
The x/y fields in monitor rules are unused and were meant to be deleted. Also removes the outdated comment in config.h.
2022-03-31die on pipe failureLeonardo Hernández Hernández
2022-03-31Layer shell: Prevent infinte configure/commit loopRaphael Robatsch
Check the wlr_layer_surface_v1_state.committed bitmask to see if we need to rearrange. This is also what sway does. Without this check, every commit request (even if only the attached buffer changed) will lead to another configure event, which will lead to another commit, etc. This loop results in swaybg consuming 100% CPU. Co-authored-by: Owen Rafferty <owen@owenrafferty.com>
2022-03-29move sigchld() into XWayland sectionDevin J. Pohly
2022-03-29make sure to leave XWayland process waitableDevin J. Pohly
On SIGCHLD, check to make sure the terminated process is not the XWayland process before reaping it, allowing wlroots to waitpid() for it successfully. Fixes #177.
2022-03-28new functions ecalloc() and die()Leonardo Hernández Hernández
die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS
2022-03-25createpointer now takes wlr_pointerLeonardo Hernández Hernández