summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-14Merge pull request #251 from gwnichol/fixinstallSevz
Fix make install while files are in use
2022-06-14Merge pull request #247 from Humm42/xkboptionsSevz
initialize xkb_rules.options to a null pointer
2022-06-14kill child process in cleanup()Leonardo Hernández Hernández
2022-06-12Fix make install while files are in useGrant Nichol
When the dwl executable is in use, cp fails without the -f flag. POSIX defines this flag with: > If a file descriptor for a destination file cannot be obtained, > as described in step 3.a.ii., attempt to unlink the destination > file and proceed.
2022-06-10add some blank linesLeonardo 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-10add $(LIBS) to $(LDLIBS)Leonardo Hernández Hernández
2022-06-10fix link failure with --as-neededDima Krasner
2022-06-06use LDFLAGS to build dwl targetLeonardo Hernández Hernández
2022-06-06do not generate *-protocol.{c,o}Leonardo Hernández Hernández
according with https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/62fbf3f4ba1b2993e29dfb46f077e5806f7aac1c they are unused and wlroots-based compositors don't need to do this
2022-06-06include xcb only when building with xwayland supportLeonardo Hernández Hernández
2022-06-06convert makefile to be more portableKawaiiAmber
2022-06-06improve client_from_wlr_surface()Leonardo 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-06-03initialize xkb_rules.options to a null pointerLennart Jablonka
Initializing it to an empty string had broken configuring xkbcommon through the environment (XKB_DEFAULT_OPTIONS). Fixes: ae313911153b ("initialize rules and xkb_rules")
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-17implement urgency hints for xwayland clientsLeonardo Hernández Hernández
2022-05-17sync manpage and help infoLeonardo Hernández Hernández
Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
2022-05-15Check if XWayland client size_hints are NULLBen Jargowsky
2022-05-14fix segfault when dragging chromium tabsLeonardo Hernández Hernández
2022-05-13Run focusclient when switching to monocle layoutBen Jargowsky
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 dist targetLeonardo Hernández Hernández
2022-05-09add flag to print version and exitLeonardo Hernández Hernández
2022-05-09Merge pull request #230 from BenJarg/null-wlr_seat_get_keyboardSevz
Handle 'wlr_seat_get_keyboard' possibly returning null.
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-15use pointer math in xytonode()Leonardo 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-04-05abcLeonardo Hernández Hernández
2022-04-05typedefs: abcLeonardo Hernández Hernández
2022-04-05includes: abcLeonardo Hernández Hernández
2022-04-03It's past my bedtime.Devin J. Pohly
2022-04-03Remove removed fields from struct instancesDevin J. Pohly
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-31add DESTDIRLeonardo Hernández Hernández
2022-03-31initialize rules and xkb_rulesLeonardo Hernández Hernández
to fix compile errors with `-pedantic`
2022-03-31don't let -pedantic be overridable by environmentLeonardo Hernández Hernández
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-24check `m` in commitlayersurfacenotify()Leonardo Hernández Hernández