aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2022-11-15listen to the output request_state event;Leonardo Hernández Hernández-0/+10
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2693
2022-11-15update for wlroots!3861Leonardo Hernández Hernández-2/+2
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
2022-11-15use the new scene helper for drag iconsLeonardo Hernández Hernández-3/+1
2022-11-15update for wlroots!3814Leonardo Hernández Hernández-2/+4
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3814
2022-11-15specify layer shell versionLeonardo Hernández Hernández-1/+1
2022-11-10Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández-10/+18
2022-11-09check null in toplevel_from_popupshua-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
2022-11-01layersurface: create a dedicated scene tree for popupsLeonardo Hernández Hernández-9/+10
this tree should be always above the top layer Fixes: https://github.com/djpohly/dwl/issues/328
2022-10-31client: don't change border color during dragsLeonardo Hernández Hernández-2/+6
Fixes: https://github.com/djpohly/dwl/issues/318
2022-10-30remove now unneeded workaround in outputmgrapplyortest()Leonardo Hernández Hernández-17/+1
2022-10-29only destroy monitor's layer surfaces at destroyLeonardo Hernández Hernández-5/+2
2022-10-29allow change adaptive sync in outputmgrapplyortest()Leonardo Hernández Hernández-0/+2
2022-10-29Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández-81/+114
2022-10-29fix crash in dirtomon() when selmon is disabledLeonardo Hernández Hernández-2/+4
2022-10-29closemon() now updates selmon if neededLeonardo Hernández Hernández-14/+12
2022-10-29use just one loop in outputmgrapplyortest()Leonardo Hernández Hernández-19/+5
we do the magic in updatemons()
2022-10-29move focus and clients off disabled monitorsLeonardo Hernández Hernández-6/+33
2022-10-29only raise the client's node in monocle()Leonardo Hernández Hernández-1/+2
Fixes: https://github.com/djpohly/dwl/issues/326
2022-10-23add support for the ext-idle-notify-v1 protocolLeonardo Hernández Hernández-4/+9
for now we use macros to support both KDE idle and ext-idle, wlroots will likely drop support for KDE idle in 0.17
2022-10-15Revert "stop trying resize clients during commitnotify()"Leonardo Hernández Hernández-10/+18
This reverts commit 2d9d758c8dec083178ff78b154da784b97260bd1. wasn't meant to be pushed to main
2022-10-15update comment about exclusive focus in focusclient()Leonardo Hernández Hernández-2/+1
2022-10-15stop trying resize clients during commitnotify()Leonardo Hernández Hernández-18/+10
instead resize them in configurex11()
2022-10-15allow unmanaged clients (like dzen or dmenu) to have keyboard focusLeonardo Hernández Hernández-9/+20
2022-10-11disable and destroy monitor's layer surfaces when it's being destroyedLeonardo Hernández Hernández-2/+10
Fixes: https://github.com/djpohly/dwl/issues/314
2022-10-08use `/* */` for comments in applybounds()Leonardo Hernández Hernández-2/+2
2022-10-08fix bad indentation in createpointer()Leonardo Hernández Hernández-2/+2
2022-10-08rename dragicondestroy() -> destroydragicon()Leonardo Hernández Hernández-12/+12
to match the rest of the code
2022-10-08rename LyrNoFocus -> LyrDragIconLeonardo Hernández Hernández-3/+3
2022-10-08correctly handle cursor motion when button is held (for layer surfaces)Leonardo Hernández Hernández-4/+7
2022-10-08allow moveresize() while the left mouse button is pressedDima Krasner-1/+1
Fixes: https://github.com/djpohly/dwl/issues/319
2022-10-07fix drag and drop not workingLeonardo Hernández Hernández-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
2022-10-03avoid usage of gotoLeonardo Hernández Hernández-7/+5
Based on this suggestion: https://github.com/guyuming76/dwl/commit/bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855
2022-10-01wlroots check map state of layersurfaces this for usLeonardo Hernández Hernández-3/+1
2022-10-01Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández-117/+170
2022-10-01properly handle cursor motion when button is heldLeonardo Hernández Hernández-2/+12
Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653
2022-09-28avoid setting duplicate cursor imageLeonardo Hernández Hernández-10/+15
Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3436 Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3595
2022-09-28destroy renderer and allocator in cleanup()Leonardo Hernández Hernández-0/+2
2022-09-26fix bad conditionLeonardo Hernández Hernández-1/+1
2022-09-26fix various segfaults when selmon is NULLLeonardo Hernández Hernández-8/+14
2022-09-26change cursor surface in internal calls of motionnotify()Leonardo Hernández Hernández-1/+5
and call motionnotify() after unmapping a client and when focusing a client Fixes: https://github.com/djpohly/dwl/issues/308
2022-09-20remove unused variablesLeonardo Hernández Hernández-1/+0
2022-09-18make more permissive exclusive focusLeonardo Hernández Hernández-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
2022-09-18now really fix clients not being focused after unmapping a layer surfaceLeonardo Hernández Hernández-5/+4
2022-09-18fix clients not being focused after destroy a layer surfaceLeonardo Hernández Hernández-2/+2
2022-09-18Revert "remove useless check of `m` in arrangelayers()"Leonardo Hernández Hernández-0/+2
This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915. Checking if the output is enabled is necessary to avoid a segfault later
2022-09-18remove useless check of `m` in arrangelayers()Leonardo Hernández Hernández-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
2022-09-18fix use of loop initial declarationLeonardo Hernández Hernández-3/+5
forbidden by the suckless style
2022-09-18fix unmanaged clients not being unlinked from the commit listenerLeonardo Hernández Hernández-4/+4
2022-09-18fix segfault when unlocking swaylock on two monitor setupLeonardo Hernández Hernández-1/+1
wlr_*_surface_from_wlr_surface() can return NULL if the surface is being destroyed Fixes: https://github.com/djpohly/dwl/issues/305
2022-09-10don't try to move outputs when its x,y hasn't changeLeonardo Hernández Hernández-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