aboutsummaryrefslogtreecommitdiffhomepage
path: root/dwl.c
AgeCommit message (Collapse)AuthorFilesLines
2022-07-30check client_from_wlr_surface() returning NULL in urgent()Leonardo Hernández Hernández1-1/+1
fix #281
2022-07-25fix segfault if parent->mon is unsetDima Krasner1-1/+2
2022-07-24use the layer surface to create popupsLeonardo Hernández Hernández1-7/+6
2022-07-23make sure we do not create a double fullscreen_bgLeonardo Hernández Hernández1-4/+9
and also make sure we do not destroy it if it does not exist Fixes: #274
2022-07-23conform the xdg-protocol with fullscreen translucent clientsLeonardo Hernández Hernández1-0/+14
see `setfullscreen()` for more info
2022-07-19always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández1-2/+9
fixes #272
2022-07-19do not focus clients if a layer surface is focusedLeonardo Hernández Hernández1-2/+9
2022-07-19force line-buffered stdout if stdout is not a ttyDima Krasner1-1/+3
2022-07-19Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found"Leonardo Hernández Hernández1-0/+4
This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270
2022-07-07only call wlr_seat_keyboard_notify_enter() if a keyboard is foundLeonardo Hernández Hernández1-4/+0
2022-07-06check pointer focus in arrange()Leonardo Hernández Hernández1-1/+1
2022-07-06arrange client's monitor if size has change since last commitLeonardo Hernández Hernández1-4/+15
2022-07-06resize now takes `struct wlr_box` as parameterLeonardo Hernández Hernández1-22/+18
2022-07-06check current and pending geometry to set c->resize to zeroLeonardo Hernández Hernández1-3/+3
Fixes #260
2022-06-29Checks for overflows for client max width and heightBen Jargowsky1-2/+3
2022-06-24respect size hintsLeonardo Hernández Hernández1-7/+11
2022-06-24inline unmaplayersurface() into unmaplayersurfacenotify()Leonardo Hernández Hernández1-11/+3
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ández1-1/+6
2022-06-24unconstrain layer shell popups from monitor sizeLeonardo Hernández Hernández1-1/+1
unconstrain other popups from monitor usable area
2022-06-21use LayerSurface.mon when possibleLeonardo Hernández Hernández1-8/+8
2022-06-21unconstrain layer shell popupsLeonardo Hernández Hernández1-17/+16
also unconstrain popups from monitor's usable area
2022-06-20don't set `c->isfullscreen` to zeroLeonardo Hernández Hernández1-2/+0
calloc initializes all fields to zero
2022-06-16move ugglyness to client.hLeonardo Hernández Hernández1-9/+1
2022-06-16remove unneeded check in focusclient()Leonardo Hernández Hernández1-1/+1
2022-06-14kill child process in cleanup()Leonardo Hernández Hernández1-12/+11
2022-06-10add click method configuration optionMarco Siedentopf1-0/+3
Add the libinput configuration option to choose between Software Button Areas and Clickfinger
2022-06-05fix compiler error with gcc complaining about parenthesesLeonardo Hernández Hernández1-1/+1
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ández1-1/+2
2022-05-27call client_set-size() if client has a resizeLeonardo Hernández Hernández1-0/+2
2022-05-25check client_surface() returning NULLLeonardo Hernández Hernández1-3/+4
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ández1-1/+1
2022-05-25destroy layersurface's scene node in destroylayersurfacenotify()Leonardo Hernández Hernández1-0/+1
2022-05-23add a new function to get a client from a wlr_surfaceLeonardo Hernández Hernández1-7/+2
2022-05-23Add configuration options for touchpadsBen Jargowsky1-6/+25
2022-05-17implement urgency hints for xwayland clientsLeonardo Hernández Hernández1-0/+14
2022-05-14fix segfault when dragging chromium tabsLeonardo Hernández Hernández1-1/+1
2022-05-13Run focusclient when switching to monocle layoutBen Jargowsky1-0/+1
2022-05-10remove trailing whitespacesLeonardo Hernández Hernández1-4/+4
2022-05-10add `-v` flag to the manpageLeonardo Hernández Hernández1-1/+1
Thanks @Humm42
2022-05-09add flag to print version and exitLeonardo Hernández Hernández1-1/+3
2022-05-09Handle 'wlr_seat_get_keyboard' possibly returning null.Ben Jargowsky1-5/+11
2022-04-29restack xwayland surface on focusclient()Leonardo Hernández Hernández1-0/+9
2022-04-25Run printstatus() when a monitor is removedBen Jargowsky1-0/+1
2022-04-15use pointer math in xytonode()Leonardo Hernández Hernández1-3/+3
2022-04-05abcLeonardo Hernández Hernández1-119/+119
2022-04-05typedefs: abcLeonardo Hernández Hernández1-8/+8
2022-04-05includes: abcLeonardo Hernández Hernández1-8/+7
2022-04-03Remove vestigial monitor configuration infoDevin J. Pohly1-2/+0
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ández1-3/+3
2022-03-31Layer shell: Prevent infinte configure/commit loopRaphael Robatsch1-0/+7
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>