aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | check client_from_wlr_surface() returning NULL in urgent()Leonardo Hernández Hernández2022-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #281
* | | | | | | | fix segfault if parent->mon is unsetDima Krasner2022-07-251-1/+2
| | | | | | | |
* | | | | | | | use the layer surface to create popupsLeonardo Hernández Hernández2022-07-241-7/+6
| | | | | | | |
* | | | | | | | make sure we do not create a double fullscreen_bgLeonardo Hernández Hernández2022-07-231-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and also make sure we do not destroy it if it does not exist Fixes: #274
* | | | | | | | conform the xdg-protocol with fullscreen translucent clientsLeonardo Hernández Hernández2022-07-232-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see `setfullscreen()` for more info
* | | | | | | | always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández2022-07-192-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #272
* | | | | | | | do not focus clients if a layer surface is focusedLeonardo Hernández Hernández2022-07-191-2/+9
| | | | | | | |
* | | | | | | | force line-buffered stdout if stdout is not a ttyDima Krasner2022-07-191-1/+3
| | | | | | | |
* | | | | | | | Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found"Leonardo Hernández Hernández2022-07-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270
* | | | | | | | remove a useless checkLeonardo Hernández Hernández2022-07-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if `s->role_data == NULL`, wlr_*_surface_from_wlr_surface() will return NULL and we are checking it
* | | | | | | | Update README.mdDavid-Valters2022-07-131-1/+3
| | | | | | | |
* | | | | | | | only call wlr_seat_keyboard_notify_enter() if a keyboard is foundLeonardo Hernández Hernández2022-07-071-4/+0
| | | | | | | |
* | | | | | | | check pointer focus in arrange()Leonardo Hernández Hernández2022-07-061-1/+1
| | | | | | | |
* | | | | | | | include DWLCFLAGS into linking stepLeonardo Hernández Hernández2022-07-061-1/+1
| | | | | | | |
* | | | | | | | arrange client's monitor if size has change since last commitLeonardo Hernández Hernández2022-07-061-4/+15
| | | | | | | |
* | | | | | | | resize now takes `struct wlr_box` as parameterLeonardo Hernández Hernández2022-07-061-22/+18
| | | | | | | |
* | | | | | | | check current and pending geometry to set c->resize to zeroLeonardo Hernández Hernández2022-07-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #260
* | | | | | | | Checks for overflows for client max width and heightBen Jargowsky2022-06-291-2/+3
| | | | | | | |
* | | | | | | | respect size hintsLeonardo Hernández Hernández2022-06-242-52/+49
| | | | | | | |
* | | | | | | | inline unmaplayersurface() into unmaplayersurfacenotify()Leonardo Hernández Hernández2022-06-241-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unmap signal is guaranted to be emitted before destroy signal so is useless checking if it is mapped at destroy
* | | | | | | | avoid layer surface popups appearing below x{dg,wayland} clientsLeonardo Hernández Hernández2022-06-241-1/+6
| | | | | | | |
* | | | | | | | unconstrain layer shell popups from monitor sizeLeonardo Hernández Hernández2022-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unconstrain other popups from monitor usable area
* | | | | | | | use LayerSurface.mon when possibleLeonardo Hernández Hernández2022-06-211-8/+8
| | | | | | | |
* | | | | | | | unconstrain layer shell popupsLeonardo Hernández Hernández2022-06-212-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also unconstrain popups from monitor's usable area
* | | | | | | | don't set `c->isfullscreen` to zeroLeonardo Hernández Hernández2022-06-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calloc initializes all fields to zero
* | | | | | | | Merge pull request #257 from fauxmight/bar_optionsSevz2022-06-181-0/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add known dwl status bar options to README
| * | | | | | | | Add known dwl tag status bar options to README.mdA Frederick Christensen2022-06-181-0/+8
| | | | | | | | |
* | | | | | | | | move ugglyness to client.hLeonardo Hernández Hernández2022-06-162-9/+12
| | | | | | | | |
* | | | | | | | | remove unneeded check in focusclient()Leonardo Hernández Hernández2022-06-161-1/+1
|/ / / / / / / /
* | | | | | | | Merge pull request #251 from gwnichol/fixinstallSevz2022-06-141-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix make install while files are in use
| * | | | | | | | Fix make install while files are in useGrant Nichol2022-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | Merge pull request #247 from Humm42/xkboptionsSevz2022-06-141-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | initialize xkb_rules.options to a null pointer
| * | | | | | | | | initialize xkb_rules.options to a null pointerLennart Jablonka2022-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initializing it to an empty string had broken configuring xkbcommon through the environment (XKB_DEFAULT_OPTIONS). Fixes: ae313911153b ("initialize rules and xkb_rules")
* | | | | | | | | | kill child process in cleanup()Leonardo Hernández Hernández2022-06-141-12/+11
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | add some blank linesLeonardo Hernández Hernández2022-06-101-1/+3
| | | | | | | | |
* | | | | | | | | add click method configuration optionMarco Siedentopf2022-06-102-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the libinput configuration option to choose between Software Button Areas and Clickfinger
* | | | | | | | | add $(LIBS) to $(LDLIBS)Leonardo Hernández Hernández2022-06-101-1/+1
| | | | | | | | |
* | | | | | | | | fix link failure with --as-neededDima Krasner2022-06-101-1/+1
| | | | | | | | |
* | | | | | | | | use LDFLAGS to build dwl targetLeonardo Hernández Hernández2022-06-061-1/+1
| | | | | | | | |
* | | | | | | | | 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
| | | | | | | |