Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | force line-buffered stdout if stdout is not a tty | Dima Krasner | 2022-07-19 | 1 | -1/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found" | Leonardo Hernández Hernández | 2022-07-19 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270 | |||||
* | | | | | | | | only call wlr_seat_keyboard_notify_enter() if a keyboard is found | Leonardo Hernández Hernández | 2022-07-07 | 1 | -4/+0 | |
| | | | | | | | | ||||||
* | | | | | | | | check pointer focus in arrange() | Leonardo Hernández Hernández | 2022-07-06 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | arrange client's monitor if size has change since last commit | Leonardo Hernández Hernández | 2022-07-06 | 1 | -4/+15 | |
| | | | | | | | | ||||||
* | | | | | | | | resize now takes `struct wlr_box` as parameter | Leonardo Hernández Hernández | 2022-07-06 | 1 | -22/+18 | |
| | | | | | | | | ||||||
* | | | | | | | | check current and pending geometry to set c->resize to zero | Leonardo Hernández Hernández | 2022-07-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #260 | |||||
* | | | | | | | | Checks for overflows for client max width and height | Ben Jargowsky | 2022-06-29 | 1 | -2/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | respect size hints | Leonardo Hernández Hernández | 2022-06-24 | 1 | -7/+11 | |
| | | | | | | | | ||||||
* | | | | | | | | inline unmaplayersurface() into unmaplayersurfacenotify() | Leonardo Hernández Hernández | 2022-06-24 | 1 | -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} clients | Leonardo Hernández Hernández | 2022-06-24 | 1 | -1/+6 | |
| | | | | | | | | ||||||
* | | | | | | | | unconstrain layer shell popups from monitor size | Leonardo Hernández Hernández | 2022-06-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unconstrain other popups from monitor usable area | |||||
* | | | | | | | | use LayerSurface.mon when possible | Leonardo Hernández Hernández | 2022-06-21 | 1 | -8/+8 | |
| | | | | | | | | ||||||
* | | | | | | | | unconstrain layer shell popups | Leonardo Hernández Hernández | 2022-06-21 | 1 | -17/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also unconstrain popups from monitor's usable area | |||||
* | | | | | | | | don't set `c->isfullscreen` to zero | Leonardo Hernández Hernández | 2022-06-20 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calloc initializes all fields to zero | |||||
* | | | | | | | | move ugglyness to client.h | Leonardo Hernández Hernández | 2022-06-16 | 1 | -9/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | remove unneeded check in focusclient() | Leonardo Hernández Hernández | 2022-06-16 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | kill child process in cleanup() | Leonardo Hernández Hernández | 2022-06-14 | 1 | -12/+11 | |
| | | | | | | | | ||||||
* | | | | | | | | add click method configuration option | Marco Siedentopf | 2022-06-10 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the libinput configuration option to choose between Software Button Areas and Clickfinger | |||||
* | | | | | | | | fix compiler error with gcc complaining about parentheses | Leonardo Hernández Hernández | 2022-06-05 | 1 | -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ández | 2022-06-05 | 1 | -1/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | call client_set-size() if client has a resize | Leonardo Hernández Hernández | 2022-05-27 | 1 | -0/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | check client_surface() returning NULL | Leonardo Hernández Hernández | 2022-05-25 | 1 | -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_lock | Leonardo Hernández Hernández | 2022-05-25 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | destroy layersurface's scene node in destroylayersurfacenotify() | Leonardo Hernández Hernández | 2022-05-25 | 1 | -0/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | add a new function to get a client from a wlr_surface | Leonardo Hernández Hernández | 2022-05-23 | 1 | -7/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | Add configuration options for touchpads | Ben Jargowsky | 2022-05-23 | 1 | -6/+25 | |
| |_|_|_|_|_|/ |/| | | | | | | ||||||
* | | | | | | | implement urgency hints for xwayland clients | Leonardo Hernández Hernández | 2022-05-17 | 1 | -0/+14 | |
| | | | | | | | ||||||
* | | | | | | | fix segfault when dragging chromium tabs | Leonardo Hernández Hernández | 2022-05-14 | 1 | -1/+1 | |
| | | | | | | | ||||||
* | | | | | | | Run focusclient when switching to monocle layout | Ben Jargowsky | 2022-05-13 | 1 | -0/+1 | |
| |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | remove trailing whitespaces | Leonardo Hernández Hernández | 2022-05-10 | 1 | -4/+4 | |
| | | | | | | ||||||
* | | | | | | add `-v` flag to the manpage | Leonardo Hernández Hernández | 2022-05-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Thanks @Humm42 | |||||
* | | | | | | add flag to print version and exit | Leonardo Hernández Hernández | 2022-05-09 | 1 | -1/+3 | |
| | | | | | | ||||||
* | | | | | | Handle 'wlr_seat_get_keyboard' possibly returning null. | Ben Jargowsky | 2022-05-09 | 1 | -5/+11 | |
| | | | | | | ||||||
* | | | | | | restack xwayland surface on focusclient() | Leonardo Hernández Hernández | 2022-04-29 | 1 | -0/+9 | |
| | | | | | | ||||||
* | | | | | | Run printstatus() when a monitor is removed | Ben Jargowsky | 2022-04-25 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | use pointer math in xytonode() | Leonardo Hernández Hernández | 2022-04-15 | 1 | -3/+3 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | abc | Leonardo Hernández Hernández | 2022-04-05 | 1 | -119/+119 | |
| | | | | | ||||||
* | | | | | typedefs: abc | Leonardo Hernández Hernández | 2022-04-05 | 1 | -8/+8 | |
| | | | | | ||||||
* | | | | | includes: abc | Leonardo Hernández Hernández | 2022-04-05 | 1 | -8/+7 | |
| | | | | | ||||||
* | | | | | Remove vestigial monitor configuration info | Devin J. Pohly | 2022-04-03 | 1 | -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. | |||||
* | | | | | die on pipe failure | Leonardo Hernández Hernández | 2022-03-31 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | Layer shell: Prevent infinte configure/commit loop | Raphael Robatsch | 2022-03-31 | 1 | -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> | |||||
* | | | | | new functions ecalloc() and die() | Leonardo Hernández Hernández | 2022-03-28 | 1 | -28/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS | |||||
* | | | | | check `m` in commitlayersurfacenotify() | Leonardo Hernández Hernández | 2022-03-24 | 1 | -2/+1 | |
| | | | | | ||||||
* | | | | | implement input-inhibitor protocol | Leonardo Hernández Hernández | 2022-03-24 | 1 | -2/+8 | |
| | | | | | ||||||
* | | | | | implement idle-inhibitor protocol | Leonardo Hernández Hernández | 2022-03-24 | 1 | -0/+27 | |
| | | | | | | | | | | | | | | | | | | | | This allows clients to disable idle monitoring | |||||
* | | | | | fix drag icon's surface returned by xytonode | Leonardo Hernández Hernández | 2022-03-23 | 1 | -12/+19 | |
| | | | | | ||||||
* | | | | | set position of the drag icon in startdrag() | Leonardo Hernández Hernández | 2022-03-23 | 1 | -6/+5 | |
| | | | | | ||||||
* | | | | | Revert "clients now works as expected in drag motion" | Leonardo Hernández Hernández | 2022-03-23 | 1 | -8/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon |