aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* do not generate *-protocol.{c,o}Leonardo Hernández Hernández2022-06-061-15/+3
| | | | | | according with https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/62fbf3f4ba1b2993e29dfb46f077e5806f7aac1c they are unused and wlroots-based compositors don't need to do this
* include xcb only when building with xwayland supportLeonardo Hernández Hernández2022-06-062-1/+3
|
* convert makefile to be more portableKawaiiAmber2022-06-062-46/+55
|
* improve client_from_wlr_surface()Leonardo Hernández Hernández2022-06-061-3/+15
|
* fix compiler error with gcc complaining about parenthesesLeonardo Hernández Hernández2022-06-051-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
* disable scene node at unmaplayersurface()Leonardo Hernández Hernández2022-06-051-1/+2
|
* call client_set-size() if client has a resizeLeonardo Hernández Hernández2022-05-271-0/+2
|
* check client_surface() returning NULLLeonardo Hernández Hernández2022-05-251-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
* correct libinput function name for drag_lockLeonardo Hernández Hernández2022-05-251-1/+1
|
* destroy layersurface's scene node in destroylayersurfacenotify()Leonardo Hernández Hernández2022-05-251-0/+1
|
* add a new function to get a client from a wlr_surfaceLeonardo Hernández Hernández2022-05-232-7/+9
|
* Add configuration options for touchpadsBen Jargowsky2022-05-232-6/+49
|
* implement urgency hints for xwayland clientsLeonardo Hernández Hernández2022-05-171-0/+14
|
* sync manpage and help infoLeonardo Hernández Hernández2022-05-171-1/+1
| | | | Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
* Check if XWayland client size_hints are NULLBen Jargowsky2022-05-151-2/+7
|
* fix segfault when dragging chromium tabsLeonardo Hernández Hernández2022-05-142-7/+10
|
* Run focusclient when switching to monocle layoutBen Jargowsky2022-05-131-0/+1
|
* remove trailing whitespacesLeonardo Hernández Hernández2022-05-101-4/+4
|
* add `-v` flag to the manpageLeonardo Hernández Hernández2022-05-102-1/+8
| | | | Thanks @Humm42
* add dist targetLeonardo Hernández Hernández2022-05-091-1/+10
|
* add flag to print version and exitLeonardo Hernández Hernández2022-05-094-2/+20
|
* Merge pull request #230 from BenJarg/null-wlr_seat_get_keyboardSevz2022-05-091-5/+11
|\ | | | | Handle 'wlr_seat_get_keyboard' possibly returning null.
| * Handle 'wlr_seat_get_keyboard' possibly returning null.Ben Jargowsky2022-05-091-5/+11
|/
* restack xwayland surface on focusclient()Leonardo Hernández Hernández2022-04-291-0/+9
|
* Run printstatus() when a monitor is removedBen Jargowsky2022-04-251-0/+1
|
* use pointer math in xytonode()Leonardo Hernández Hernández2022-04-151-3/+3
|
* add missing return in client_is_floating_type()Leonardo Hernández Hernández2022-04-101-0/+2
| | | | This causes all Xwayland clients to be treated as floating
* abcLeonardo Hernández Hernández2022-04-051-119/+119
|
* typedefs: abcLeonardo Hernández Hernández2022-04-051-8/+8
|
* includes: abcLeonardo Hernández Hernández2022-04-051-8/+7
|
* It's past my bedtime.Devin J. Pohly2022-04-031-1/+1
|
* Remove removed fields from struct instancesDevin J. Pohly2022-04-031-2/+2
|
* Remove vestigial monitor configuration infoDevin J. Pohly2022-04-032-5/+1
| | | | | The x/y fields in monitor rules are unused and were meant to be deleted. Also removes the outdated comment in config.h.
* die on pipe failureLeonardo Hernández Hernández2022-03-311-3/+3
|
* Layer shell: Prevent infinte configure/commit loopRaphael Robatsch2022-03-311-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>
* add DESTDIRLeonardo Hernández Hernández2022-03-311-3/+3
|
* initialize rules and xkb_rulesLeonardo Hernández Hernández2022-03-311-1/+2
| | | | to fix compile errors with `-pedantic`
* don't let -pedantic be overridable by environmentLeonardo Hernández Hernández2022-03-312-2/+2
|
* new functions ecalloc() and die()Leonardo Hernández Hernández2022-03-285-31/+60
| | | | | die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS
* check `m` in commitlayersurfacenotify()Leonardo Hernández Hernández2022-03-241-2/+1
|
* implement input-inhibitor protocolLeonardo Hernández Hernández2022-03-242-3/+9
|
* implement idle-inhibitor protocolLeonardo Hernández Hernández2022-03-242-1/+28
| | | | This allows clients to disable idle monitoring
* fix drag icon's surface returned by xytonodeLeonardo Hernández Hernández2022-03-231-12/+19
|
* set position of the drag icon in startdrag()Leonardo Hernández Hernández2022-03-231-6/+5
|
* Revert "clients now works as expected in drag motion"Leonardo Hernández Hernández2022-03-231-8/+5
| | | | | | | This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon
* inline the presentation variableGuido Cella2022-03-231-3/+1
| | | | | This variable can be removed since with scene-graph wlr_presentation_surface_sampled_on_output no longer needs to be called.
* add note about how to change MODKEY for windows keyLeonardo Hernández Hernández2022-03-231-0/+1
|
* Fix dwl freezing when resizingPalanix2022-03-231-6/+22
|
* Add a configuration option for fullscreen lockingQuentin Rameau2022-03-222-1/+2
| | | | | Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
* add sway LICENSE fileLeonardo Hernández Hernández2022-03-222-1/+20
| | | | | part of the code in dwl is taken from sway, so credit it. dwm and sway are both licensed under the MIT license