aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Add a configuration option for fullscreen lockingQuentin Rameau2022-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
| * | | | | | | | clients now works as expected in drag motionLeonardo Hernández Hernández2022-03-231-5/+8
| | | | | | | | |
| * | | | | | | | implement drag and dropGuido Cella2022-03-231-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For brevity, only a single drag icon at a time is supported. Co-authored-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
| * | | | | | | | only skip frames if there are visible clients that have a resizeLeonardo Hernández Hernández2022-03-231-2/+4
| | | | | | | | |
| * | | | | | | | remove a useless resize in mapnotify()Leonardo Hernández Hernández2022-03-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | applyrules() calls setmon() which calls resize()
| * | | | | | | | wlr_seat_set_keyboard() now takes wlr_keyboard as parameterLeonardo Hernández Hernández2022-03-231-8/+8
| | | | | | | | |
| * | | | | | | | Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández2022-03-201-119/+139
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'wlroots-next' into scenegraph-wlroots-nextLeonardo Hernández Hernández2022-03-181-8/+7
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | follow up wlroots input device events renamingLeonardo Hernández Hernández2022-03-181-8/+7
| | | | | | | | | | |
| * | | | | | | | | | use scene layer shell helperLeonardo Hernandez Hernandez2022-03-111-133/+5
| | | | | | | | | | |
| * | | | | | | | | | Merge branch 'wlroots-next' into scenegraph-wlroots-nextLeonardo Hernández Hernández2022-03-111-8/+14
| |\| | | | | | | | |
| | * | | | | | | | | wlr_virtual_keyboard_v1 now has its own wlr_keyboardLeonardo Hernández Hernández2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which has its own wlr_input_device Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
| | * | | | | | | | | Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández2022-03-101-5/+8
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/output-layout-get-box-update' into ↵A Frederick Christensen2022-02-031-3/+4
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chasing-wlroots
| | | * | | | | | | | | | update wlr-output-layout-get-boxA Frederick Christensen2022-02-021-3/+4
| | | | | | | | | | | | |
| | * | | | | | | | | | | Upgrade for wlroots surface refactoringA Frederick Christensen2022-01-181-0/+2
| | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See [1] for details. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412
* | | | | | | | | | | / don't unfocus focused client when starting a dragLeonardo Hernández Hernández2022-11-191-3/+0
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fix chromium keyboard focus loss after a drag Fix: 3cc22de712415342e4865eef099fcfde49bcf734
* | | | | | | | | | | check null in toplevel_from_popupshua2022-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 popupsLeonardo Hernández Hernández2022-11-011-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 dragsLeonardo Hernández Hernández2022-10-311-2/+6
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/318
* | | | | | | | | | fix crash in dirtomon() when selmon is disabledLeonardo Hernández Hernández2022-10-291-2/+4
| | | | | | | | | |
* | | | | | | | | | closemon() now updates selmon if neededLeonardo Hernández Hernández2022-10-291-14/+12
| | | | | | | | | |
* | | | | | | | | | use just one loop in outputmgrapplyortest()Leonardo Hernández Hernández2022-10-291-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we do the magic in updatemons()
* | | | | | | | | | move focus and clients off disabled monitorsLeonardo Hernández Hernández2022-10-291-6/+33
| | | | | | | | | |
* | | | | | | | | | only raise the client's node in monocle()Leonardo Hernández Hernández2022-10-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/326
* | | | | | | | | | Revert "stop trying resize clients during commitnotify()"Leonardo Hernández Hernández2022-10-151-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ández2022-10-151-2/+1
| | | | | | | | | |
* | | | | | | | | | stop trying resize clients during commitnotify()Leonardo Hernández Hernández2022-10-151-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead resize them in configurex11()
* | | | | | | | | | allow unmanaged clients (like dzen or dmenu) to have keyboard focusLeonardo Hernández Hernández2022-10-151-9/+20
| | | | | | | | | |
* | | | | | | | | | disable and destroy monitor's layer surfaces when it's being destroyedLeonardo Hernández Hernández2022-10-111-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/314
* | | | | | | | | | use `/* */` for comments in applybounds()Leonardo Hernández Hernández2022-10-081-2/+2
| | | | | | | | | |
* | | | | | | | | | fix bad indentation in createpointer()Leonardo Hernández Hernández2022-10-081-2/+2
| | | | | | | | | |
* | | | | | | | | | rename dragicondestroy() -> destroydragicon()Leonardo Hernández Hernández2022-10-081-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to match the rest of the code
* | | | | | | | | | rename LyrNoFocus -> LyrDragIconLeonardo Hernández Hernández2022-10-081-3/+3
| | | | | | | | | |
* | | | | | | | | | correctly handle cursor motion when button is held (for layer surfaces)Leonardo Hernández Hernández2022-10-081-4/+7
| | | | | | | | | |
* | | | | | | | | | allow moveresize() while the left mouse button is pressedDima Krasner2022-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/319
* | | | | | | | | | fix drag and drop not workingLeonardo Hernández Hernández2022-10-071-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
* | | | | | | | | | avoid usage of gotoLeonardo Hernández Hernández2022-10-031-7/+5
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Based on this suggestion: https://github.com/guyuming76/dwl/commit/bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855
* | | | | | | | | properly handle cursor motion when button is heldLeonardo Hernández Hernández2022-10-011-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653
* | | | | | | | | avoid setting duplicate cursor imageLeonardo Hernández Hernández2022-09-281-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ández2022-09-281-0/+2
| | | | | | | | |
* | | | | | | | | fix bad conditionLeonardo Hernández Hernández2022-09-261-1/+1
| | | | | | | | |
* | | | | | | | | fix various segfaults when selmon is NULLLeonardo Hernández Hernández2022-09-261-8/+14
| | | | | | | | |
* | | | | | | | | change cursor surface in internal calls of motionnotify()Leonardo Hernández Hernández2022-09-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and call motionnotify() after unmapping a client and when focusing a client Fixes: https://github.com/djpohly/dwl/issues/308
* | | | | | | | | remove unused variablesLeonardo Hernández Hernández2022-09-201-1/+0
| | | | | | | | |
* | | | | | | | | make more permissive exclusive focusLeonardo Hernández Hernández2022-09-181-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 surfaceLeonardo Hernández Hernández2022-09-181-5/+4
| | | | | | | | |
* | | | | | | | | fix clients not being focused after destroy a layer surfaceLeonardo Hernández Hernández2022-09-181-2/+2
| | | | | | | | |
* | | | | | | | | Revert "remove useless check of `m` in arrangelayers()"Leonardo Hernández Hernández2022-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915. Checking if the output is enabled is necessary to avoid a segfault later
* | | | | | | | | remove useless check of `m` in arrangelayers()Leonardo Hernández Hernández2022-09-181-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