aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
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/+22
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-05convert some warnings to errorsLeonardo Hernández Hernández-1/+2
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-225/+261
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-3/+0
2022-09-20rework MakefileLeonardo Hernández Hernández-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)
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-18add missing library (xcb-icccm)Leonardo Hernández Hernández-1/+1
this library is also used by wlroots, so nothing new
2022-09-18change the default term to `foot`Leonardo Hernández Hernández-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
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
2022-09-10prior run the startup command start the backendLeonardo Hernández Hernández-7/+7
this allow use clients like wlr-randr in the startup command
2022-09-10make sure the parent is mapped prior set monitor and tagsLeonardo Hernández Hernández-5/+6
2022-09-10use wl_container_of() instead of data in some functionsLeonardo Hernández Hernández-5/+3
2022-09-10add some commentsLeonardo Hernández Hernández-4/+24
2022-09-10inline input_device in virtualkeyboard()Leonardo Hernández Hernández-2/+1
2022-09-10fix idle inhibitor checkLeonardo Hernández Hernández-4/+4
previously we tried to get a client from the surface and then compare it with the excluded surface, if we cannot get a client from the surface (e.g: a layer surface) it just ignored all the next idle inhibitors no matter what What I have should done is just checking if the excluded surface is equal to the current idle inhibitor's surface and continue in case it is.
2022-09-10fix exclusive zone of unmapped layer surfacesLeonardo Hernández Hernández-2/+4
Fixes: https://github.com/djpohly/dwl/issues/302
2022-09-08resize the fullscreen background when resize the clientLeonardo Hernández Hernández-0/+2
2022-09-08update link to input-protocolsLeonardo Hernández Hernández-1/+1
2022-09-08append `-dev` to $(_VERSION) (should have added it a long time ago)Leonardo Hernández Hernández-1/+1
2022-09-08define _POSIX_C_SOURCE through CPPFLAGSLeonardo Hernández Hernández-2/+1
like dwm
2022-09-07fix condition that always evaluate to false in commitlayersurfacenotify()Leonardo Hernández Hernández-1/+1
2022-09-07remove obsolete check of c->mon in fullscreennotify()Leonardo Hernández Hernández-8/+1
since 19a8a095ebe782065903b9a03670560371302206 it's checked in setfullscreen()
2022-09-06set `c->prev` in setmon() and not in mapnotify()Leonardo Hernández Hernández-1/+1
2022-09-06enable adaptive sync if supportedLeonardo Hernández Hernández-1/+5
but don't cause monitors to be ignored if it fails
2022-09-06only enable/disable clients from the specified monitor in arrange()Leonardo Hernández Hernández-2/+3
also fix a crash when m is null, this can only happen when selmon is NULL
2022-09-05set c->prev in mapnotify()Leonardo Hernández Hernández-0/+1
Closes: #300
2022-09-05Minor changes to READMEDmitry Zakharchenko-9/+3
2022-09-02Add direct irc linkDmitry Zakharchenko-5/+1
Also, move IRC section to the top so that it's more accessible.
2022-09-02don't arrange layers on disabled monitorsLeonardo Hernández Hernández-0/+2
2022-09-02call setfullscreen() in setmon()Leonardo Hernández Hernández-4/+3
this will help when sending to another monitor a fullscreen client and also will prevent a crash when a client request fullscreen when it has no monitor
2022-09-02prevent segfault when destroying monitorsLeonardo Hernández Hernández-8/+11
also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *`
2022-09-02Revert "Revert "various improvements to layer surface""Leonardo Hernández Hernández-23/+15
This reverts commit c017916d35795cf85e5181907f5e97a1d702612a.