aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2022-04-03Remove vestigial monitor configuration infoDevin J. Pohly-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.
2022-03-31die on pipe failureLeonardo Hernández Hernández-3/+3
2022-03-31Layer shell: Prevent infinte configure/commit loopRaphael Robatsch-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>
2022-03-28new functions ecalloc() and die()Leonardo Hernández Hernández-28/+18
die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS
2022-03-24check `m` in commitlayersurfacenotify()Leonardo Hernández Hernández-2/+1
2022-03-24implement input-inhibitor protocolLeonardo Hernández Hernández-2/+8
2022-03-24implement idle-inhibitor protocolLeonardo Hernández Hernández-0/+27
This allows clients to disable idle monitoring
2022-03-23fix drag icon's surface returned by xytonodeLeonardo Hernández Hernández-12/+19
2022-03-23set position of the drag icon in startdrag()Leonardo Hernández Hernández-6/+5
2022-03-23Revert "clients now works as expected in drag motion"Leonardo Hernández Hernández-8/+5
This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon
2022-03-23inline the presentation variableGuido Cella-3/+1
This variable can be removed since with scene-graph wlr_presentation_surface_sampled_on_output no longer needs to be called.
2022-03-23Fix dwl freezing when resizingPalanix-6/+22
2022-03-22Add a configuration option for fullscreen lockingQuentin Rameau-1/+1
Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
2022-03-22clients now works as expected in drag motionLeonardo Hernández Hernández-5/+8
2022-03-22implement drag and dropGuido Cella-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>
2022-03-21only skip frames if there are visible clients that have a resizeLeonardo Hernández Hernández-2/+4
2022-03-21remove a useless resize in mapnotify()Leonardo Hernández Hernández-1/+0
applyrules() calls setmon() which calls resize()
2022-03-20destroy scene_output in cleanupmon()Leonardo Hernández Hernández-0/+1
2022-03-20remove independents listLeonardo Hernández Hernández-6/+2
2022-03-18remove unneeded variablesLeonardo Hernández Hernández-2/+1
2022-03-18attach presentation to sceneLeonardo Hernández Hernández-0/+1
2022-03-18Merge branch 'main' into scenegraphLeonardo Hernández Hernández-0/+7
2022-03-18do not allow set client size less than its min sizeLeonardo Hernández Hernández-2/+4
2022-03-18make sure to destroy wlr_scene_node of unmanaged clientsLeonardo Hernández Hernández-1/+3
2022-03-18do not create borders for unmanaged clientsLeonardo Hernández Hernández-7/+8
2022-03-18pointerfocus: only use provided surfaceLeonardo Hernández Hernández-16/+6
if a client is given focus it
2022-03-18use xdg_shell helperLeonardo Hernández Hernández-2/+3
for xwayland continue using wlr_scene_subsurface_create()
2022-03-18get old client by surface's nodeLeonardo Hernández Hernández-10/+5
2022-03-17fix crash of Firefox when opening a popup larger than its sizeLeonardo Hernández Hernández-2/+4
2022-03-16constraint popups to its parent clientLeonardo Hernández Hernández-1/+8
Closes: #146 Closes: #155
2022-03-16Merge branch 'main' into scenegraphLeonardo Hernández Hernández-83/+98
2022-03-16make sure configure and activate listeners are removed from listLeonardo Hernández Hernández-2/+3
2022-03-16set correct position for unmanaged clientsLeonardo Hernandez Hernandez-2/+6
- don't allow to move/resize with them - don't focus unmanaged clients on buttonpress()
2022-03-16add support for layer_shell popupsLeonardo Hernandez Hernandez-3/+6
2022-03-16use wlr_scene_xdg_surface_create() for xdg_popupsLeonardo Hernandez Hernandez-2/+7
2022-03-13Merge branch 'fix-segfault-in-fullscreennotify'Leonardo Hernández Hernández-1/+11
2022-03-13don't use fullscreen event in fullscreennotify()Leonardo Hernández Hernández-3/+4
2022-03-13always call arrange() on setfullscreen()Leonardo Hernández Hernández-2/+2
also don't count full screen clients on tile()
2022-03-13print status about floating and fullscreenLeonardo Hernández Hernández-1/+7
2022-03-11more style fixesLeonardo Hernández Hernández-28/+17
2022-03-11suckless style: don't use '//' for commentsLeonardo Hernández Hernández-17/+17
2022-03-11use loop to call arrangelayerLeonardo Hernandez Hernandez-18/+7
zwlr_layer_shell_v1_layer are ordered by bottom-most first so we can just use a loop from 3 to 0
2022-03-11Merge pull request #196 from noocsharp/mainSevz-0/+10
die on allocation failure
2022-03-11fix left border 'y' positionLeonardo Hernandez Hernandez-1/+2
also add comment about border ordering
2022-03-11use wlr_scene_node_raise_to_top()Leonardo Hernandez Hernandez-5/+2
2022-03-11use wlr_scene_output_send_frame_done()Leonardo Hernandez Hernandez-16/+1
2022-03-10use wlr_box for previous geomLeonardo Hernández Hernández-10/+3
2022-03-10fix crash when the last monitor is disconnectedLeonardo Hernandez Hernandez-5/+16
2022-03-10Merge pull request #187 from fauxmight/new-clients-printstatusSevz-0/+2
Newly launched or closed clients ALWAYS generate status update
2022-03-10Merge pull request #149 from xi/fix-grabc-unmapSevz-0/+4
reset cursor mode when grabc is unmapped