summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2022-04-05includes: abcLeonardo Hernández Hernández
2022-04-03Remove vestigial monitor configuration infoDevin J. Pohly
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
2022-03-31Layer shell: Prevent infinte configure/commit loopRaphael Robatsch
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-29move sigchld() into XWayland sectionDevin J. Pohly
2022-03-29make sure to leave XWayland process waitableDevin J. Pohly
On SIGCHLD, check to make sure the terminated process is not the XWayland process before reaping it, allowing wlroots to waitpid() for it successfully. Fixes #177.
2022-03-28new functions ecalloc() and die()Leonardo Hernández Hernández
die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS
2022-03-25createpointer now takes wlr_pointerLeonardo Hernández Hernández
2022-03-25createkeyboard now takes wlr_keyboardLeonardo Hernández Hernández
2022-03-24check `m` in commitlayersurfacenotify()Leonardo Hernández Hernández
2022-03-24implement input-inhibitor protocolLeonardo Hernández Hernández
2022-03-24implement idle-inhibitor protocolLeonardo Hernández Hernández
This allows clients to disable idle monitoring
2022-03-23destroy scene_output in cleanupmon()Leonardo Hernández Hernández
2022-03-23fix drag icon's surface returned by xytonodeLeonardo Hernández Hernández
2022-03-23set position of the drag icon in startdrag()Leonardo Hernández Hernández
2022-03-23Revert "clients now works as expected in drag motion"Leonardo Hernández Hernández
This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon
2022-03-23inline the presentation variableGuido Cella
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
2022-03-23Add a configuration option for fullscreen lockingQuentin Rameau
Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
2022-03-23clients now works as expected in drag motionLeonardo Hernández Hernández
2022-03-23implement drag and dropGuido Cella
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-23only skip frames if there are visible clients that have a resizeLeonardo Hernández Hernández
2022-03-23remove a useless resize in mapnotify()Leonardo Hernández Hernández
applyrules() calls setmon() which calls resize()
2022-03-23fix drag icon's surface returned by xytonodeLeonardo Hernández Hernández
2022-03-23set position of the drag icon in startdrag()Leonardo Hernández Hernández
2022-03-23Revert "clients now works as expected in drag motion"Leonardo Hernández Hernández
This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon
2022-03-23inline the presentation variableGuido Cella
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
2022-03-23wlr_seat_set_keyboard() now takes wlr_keyboard as parameterLeonardo Hernández Hernández
2022-03-22Add a configuration option for fullscreen lockingQuentin Rameau
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
2022-03-22implement drag and dropGuido Cella
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
2022-03-21remove a useless resize in mapnotify()Leonardo Hernández Hernández
applyrules() calls setmon() which calls resize()
2022-03-20destroy scene_output in cleanupmon()Leonardo Hernández Hernández
2022-03-20Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández
2022-03-20remove independents listLeonardo Hernández Hernández
2022-03-18Merge branch 'wlroots-next' into scenegraph-wlroots-nextLeonardo Hernández Hernández
2022-03-18follow up wlroots input device events renamingLeonardo Hernández Hernández
2022-03-18remove unneeded variablesLeonardo Hernández Hernández
2022-03-18attach presentation to sceneLeonardo Hernández Hernández
2022-03-18Merge branch 'main' into scenegraphLeonardo Hernández Hernández
2022-03-18do not allow set client size less than its min sizeLeonardo Hernández Hernández
2022-03-18make sure to destroy wlr_scene_node of unmanaged clientsLeonardo Hernández Hernández
2022-03-18do not create borders for unmanaged clientsLeonardo Hernández Hernández
2022-03-18pointerfocus: only use provided surfaceLeonardo Hernández Hernández
if a client is given focus it
2022-03-18use xdg_shell helperLeonardo Hernández Hernández
for xwayland continue using wlr_scene_subsurface_create()
2022-03-18get old client by surface's nodeLeonardo Hernández Hernández
2022-03-17fix crash of Firefox when opening a popup larger than its sizeLeonardo Hernández Hernández
2022-03-16constraint popups to its parent clientLeonardo Hernández Hernández
Closes: #146 Closes: #155