Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix comparison between signed and unsigned int | krypek | 2022-11-25 | 1 | -2/+2 |
| | | | | | When c->bw is 0, the right side of the MAX functions gets turned into an unsigned integer and that results in -1 being the outcome. This causes big issues in xwayland clients. | ||||
* | don't unfocus focused client when starting a drag | Leonardo Hernández Hernández | 2022-11-19 | 1 | -3/+0 |
| | | | | | this fix chromium keyboard focus loss after a drag Fix: 3cc22de712415342e4865eef099fcfde49bcf734 | ||||
* | config.def.h: fix comment | Leonardo Hernández Hernández | 2022-11-10 | 1 | -1/+2 |
| | | | | Fixes: https://github.com/djpohly/dwl/issues/333 | ||||
* | check null in toplevel_from_popup | shua | 2022-11-09 | 2 | -1/+5 |
| | | | | | | managed to SEGFAULT the server by trying to create a popup without setting a parent first. Not sure if this is dwl or wlroots issue, so also opened a ticket upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3811 | ||||
* | layersurface: create a dedicated scene tree for popups | Leonardo Hernández Hernández | 2022-11-01 | 1 | -9/+10 |
| | | | | | | this tree should be always above the top layer Fixes: https://github.com/djpohly/dwl/issues/328 | ||||
* | client: don't change border color during drags | Leonardo Hernández Hernández | 2022-10-31 | 1 | -2/+6 |
| | | | | Fixes: https://github.com/djpohly/dwl/issues/318 | ||||
* | fix crash in dirtomon() when selmon is disabled | Leonardo Hernández Hernández | 2022-10-29 | 1 | -2/+4 |
| | |||||
* | closemon() now updates selmon if needed | Leonardo Hernández Hernández | 2022-10-29 | 1 | -14/+12 |
| | |||||
* | use just one loop in outputmgrapplyortest() | Leonardo Hernández Hernández | 2022-10-29 | 1 | -19/+5 |
| | | | | we do the magic in updatemons() | ||||
* | move focus and clients off disabled monitors | Leonardo Hernández Hernández | 2022-10-29 | 1 | -6/+33 |
| | |||||
* | only raise the client's node in monocle() | Leonardo Hernández Hernández | 2022-10-29 | 1 | -1/+2 |
| | | | | Fixes: https://github.com/djpohly/dwl/issues/326 | ||||
* | sort util.c functions | Leonardo Hernández Hernández | 2022-10-29 | 1 | -10/+10 |
| | |||||
* | limit the line length to 79 in the readme | Leonardo Hernández Hernández | 2022-10-29 | 1 | -25/+92 |
| | |||||
* | mention the polkit dependency when using elogind or systemd-logind | Leonardo Hernández Hernández | 2022-10-29 | 1 | -1/+1 |
| | | | | Bug: https://github.com/djpohly/dwl/issues/138 | ||||
* | Revert "stop trying resize clients during commitnotify()" | Leonardo Hernández Hernández | 2022-10-15 | 1 | -10/+18 |
| | | | | | | This reverts commit 2d9d758c8dec083178ff78b154da784b97260bd1. wasn't meant to be pushed to main | ||||
* | update comment about exclusive focus in focusclient() | Leonardo Hernández Hernández | 2022-10-15 | 1 | -2/+1 |
| | |||||
* | stop trying resize clients during commitnotify() | Leonardo Hernández Hernández | 2022-10-15 | 1 | -18/+10 |
| | | | | instead resize them in configurex11() | ||||
* | allow unmanaged clients (like dzen or dmenu) to have keyboard focus | Leonardo Hernández Hernández | 2022-10-15 | 2 | -9/+31 |
| | |||||
* | delete the idle protocol xml file | Leonardo Hernández Hernández | 2022-10-13 | 1 | -49/+0 |
| | |||||
* | disable and destroy monitor's layer surfaces when it's being destroyed | Leonardo Hernández Hernández | 2022-10-11 | 1 | -2/+10 |
| | | | | Fixes: https://github.com/djpohly/dwl/issues/314 | ||||
* | use `/* */` for comments in applybounds() | Leonardo Hernández Hernández | 2022-10-08 | 1 | -2/+2 |
| | |||||
* | fix bad indentation in createpointer() | Leonardo Hernández Hernández | 2022-10-08 | 1 | -2/+2 |
| | |||||
* | rename dragicondestroy() -> destroydragicon() | Leonardo Hernández Hernández | 2022-10-08 | 1 | -12/+12 |
| | | | | to match the rest of the code | ||||
* | rename LyrNoFocus -> LyrDragIcon | Leonardo Hernández Hernández | 2022-10-08 | 1 | -3/+3 |
| | |||||
* | correctly handle cursor motion when button is held (for layer surfaces) | Leonardo Hernández Hernández | 2022-10-08 | 2 | -4/+22 |
| | |||||
* | allow moveresize() while the left mouse button is pressed | Dima Krasner | 2022-10-08 | 1 | -1/+1 |
| | | | | Fixes: https://github.com/djpohly/dwl/issues/319 | ||||
* | fix drag and drop not working | Leonardo Hernández Hernández | 2022-10-07 | 1 | -3/+3 |
| | | | | | | | | this fixes another issue where the cursor doesn't change when selecting text but there is still an issue about not changing border color of clients during dnd operations Bug: https://github.com/djpohly/dwl/issues/318 | ||||
* | convert some warnings to errors | Leonardo Hernández Hernández | 2022-10-05 | 1 | -1/+2 |
| | |||||
* | avoid usage of goto | Leonardo Hernández Hernández | 2022-10-03 | 1 | -7/+5 |
| | | | | Based on this suggestion: https://github.com/guyuming76/dwl/commit/bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855 | ||||
* | properly handle cursor motion when button is held | Leonardo Hernández Hernández | 2022-10-01 | 1 | -2/+12 |
| | | | | Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653 | ||||
* | avoid setting duplicate cursor image | Leonardo Hernández Hernández | 2022-09-28 | 1 | -10/+15 |
| | | | | | Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3436 Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3595 | ||||
* | destroy renderer and allocator in cleanup() | Leonardo Hernández Hernández | 2022-09-28 | 1 | -0/+2 |
| | |||||
* | fix bad condition | Leonardo Hernández Hernández | 2022-09-26 | 1 | -1/+1 |
| | |||||
* | fix various segfaults when selmon is NULL | Leonardo Hernández Hernández | 2022-09-26 | 1 | -8/+14 |
| | |||||
* | change cursor surface in internal calls of motionnotify() | Leonardo Hernández Hernández | 2022-09-26 | 1 | -1/+5 |
| | | | | | | | and call motionnotify() after unmapping a client and when focusing a client Fixes: https://github.com/djpohly/dwl/issues/308 | ||||
* | remove unused variables | Leonardo Hernández Hernández | 2022-09-20 | 2 | -3/+0 |
| | |||||
* | rework Makefile | Leonardo Hernández Hernández | 2022-09-20 | 2 | -23/+13 |
| | | | | | | | | - allow user to use a different pkg-config binary - restore almost all (and add other ones) warning flags (-Werror is not set) - $(XWAYLAND) is added to our CPPFLAGS - remove useless comments - don't generate idle-protocol.h (not used) | ||||
* | make more permissive exclusive focus | Leonardo Hernández Hernández | 2022-09-18 | 1 | -5/+5 |
| | | | | | now you can call focusstack() while a layer surface is focused and when it gets unmapped the newly focused clients will be actually focused | ||||
* | now really fix clients not being focused after unmapping a layer surface | Leonardo Hernández Hernández | 2022-09-18 | 1 | -5/+4 |
| | |||||
* | fix clients not being focused after destroy a layer surface | Leonardo Hernández Hernández | 2022-09-18 | 1 | -2/+2 |
| | |||||
* | Revert "remove useless check of `m` in arrangelayers()" | Leonardo Hernández Hernández | 2022-09-18 | 1 | -0/+2 |
| | | | | | | This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915. Checking if the output is enabled is necessary to avoid a segfault later | ||||
* | change the default term to `foot` | Leonardo Hernández Hernández | 2022-09-18 | 1 | -1/+1 |
| | | | | | | | | | it is closer to the suckless philosophy (foot implements things that the suckless guys would say that should be done by tmux or something else, but I have no desire to create a new terminal emulator, and the best fit is foot) also alacritty uses +100Mb of memory, more that dwl itself (~90Mb) and foot only ~20Mb | ||||
* | remove useless check of `m` in arrangelayers() | Leonardo Hernández Hernández | 2022-09-18 | 1 | -2/+0 |
| | | | | | it is supossed to avoid a crash when we pass m=NULL as argument however it would crash anyway and also because we should not pass m=NULL | ||||
* | fix use of loop initial declaration | Leonardo Hernández Hernández | 2022-09-18 | 1 | -3/+5 |
| | | | | forbidden by the suckless style | ||||
* | fix unmanaged clients not being unlinked from the commit listener | Leonardo Hernández Hernández | 2022-09-18 | 1 | -4/+4 |
| | |||||
* | fix segfault when unlocking swaylock on two monitor setup | Leonardo Hernández Hernández | 2022-09-18 | 1 | -1/+1 |
| | | | | | | | wlr_*_surface_from_wlr_surface() can return NULL if the surface is being destroyed Fixes: https://github.com/djpohly/dwl/issues/305 | ||||
* | don't try to move outputs when its x,y hasn't change | Leonardo Hernández Hernández | 2022-09-10 | 1 | -2/+6 |
| | | | | | | | when using wlr_output_layout_move() wlroots internally change the state of the output to manually configured and when updating the layout these outputs aren't ignored by wlroots, leaving us at our own | ||||
* | prior run the startup command start the backend | Leonardo Hernández Hernández | 2022-09-10 | 1 | -7/+7 |
| | | | | this allow use clients like wlr-randr in the startup command | ||||
* | make sure the parent is mapped prior set monitor and tags | Leonardo Hernández Hernández | 2022-09-10 | 1 | -5/+6 |
| | |||||
* | use wl_container_of() instead of data in some functions | Leonardo Hernández Hernández | 2022-09-10 | 1 | -5/+3 |
| |