aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* add flag to print version and exitLeonardo Hernández Hernández2022-05-091-1/+3
|
* Handle 'wlr_seat_get_keyboard' possibly returning null.Ben Jargowsky2022-05-091-5/+11
|
* restack xwayland surface on focusclient()Leonardo Hernández Hernández2022-04-291-0/+9
|
* Run printstatus() when a monitor is removedBen Jargowsky2022-04-251-0/+1
|
* use pointer math in xytonode()Leonardo Hernández Hernández2022-04-151-3/+3
|
* abcLeonardo Hernández Hernández2022-04-051-119/+119
|
* typedefs: abcLeonardo Hernández Hernández2022-04-051-8/+8
|
* includes: abcLeonardo Hernández Hernández2022-04-051-8/+7
|
* Remove vestigial monitor configuration infoDevin J. Pohly2022-04-031-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.
* die on pipe failureLeonardo Hernández Hernández2022-03-311-3/+3
|
* Layer shell: Prevent infinte configure/commit loopRaphael Robatsch2022-03-311-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>
* new functions ecalloc() and die()Leonardo Hernández Hernández2022-03-281-28/+18
| | | | | die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS
* check `m` in commitlayersurfacenotify()Leonardo Hernández Hernández2022-03-241-2/+1
|
* implement input-inhibitor protocolLeonardo Hernández Hernández2022-03-241-2/+8
|
* implement idle-inhibitor protocolLeonardo Hernández Hernández2022-03-241-0/+27
| | | | This allows clients to disable idle monitoring
* fix drag icon's surface returned by xytonodeLeonardo Hernández Hernández2022-03-231-12/+19
|
* set position of the drag icon in startdrag()Leonardo Hernández Hernández2022-03-231-6/+5
|
* Revert "clients now works as expected in drag motion"Leonardo Hernández Hernández2022-03-231-8/+5
| | | | | | | This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon
* inline the presentation variableGuido Cella2022-03-231-3/+1
| | | | | This variable can be removed since with scene-graph wlr_presentation_surface_sampled_on_output no longer needs to be called.
* Fix dwl freezing when resizingPalanix2022-03-231-6/+22
|
* Add a configuration option for fullscreen lockingQuentin Rameau2022-03-221-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-221-5/+8
|
* implement drag and dropGuido Cella2022-03-221-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-211-2/+4
|
* remove a useless resize in mapnotify()Leonardo Hernández Hernández2022-03-211-1/+0
| | | | applyrules() calls setmon() which calls resize()
* destroy scene_output in cleanupmon()Leonardo Hernández Hernández2022-03-201-0/+1
|
* remove independents listLeonardo Hernández Hernández2022-03-201-6/+2
|
* remove unneeded variablesLeonardo Hernández Hernández2022-03-181-2/+1
|
* attach presentation to sceneLeonardo Hernández Hernández2022-03-181-0/+1
|
* Merge branch 'main' into scenegraphLeonardo Hernández Hernández2022-03-181-0/+7
|\
| * fix crash of Firefox when opening a popup larger than its sizeLeonardo Hernández Hernández2022-03-171-2/+4
| |
| * constraint popups to its parent clientLeonardo Hernández Hernández2022-03-161-1/+8
| | | | | | | | | | Closes: #146 Closes: #155
* | do not allow set client size less than its min sizeLeonardo Hernández Hernández2022-03-181-2/+4
| |
* | make sure to destroy wlr_scene_node of unmanaged clientsLeonardo Hernández Hernández2022-03-181-1/+3
| |
* | do not create borders for unmanaged clientsLeonardo Hernández Hernández2022-03-181-7/+8
| |
* | pointerfocus: only use provided surfaceLeonardo Hernández Hernández2022-03-181-16/+6
| | | | | | | | if a client is given focus it
* | use xdg_shell helperLeonardo Hernández Hernández2022-03-181-2/+3
| | | | | | | | for xwayland continue using wlr_scene_subsurface_create()
* | get old client by surface's nodeLeonardo Hernández Hernández2022-03-181-10/+5
| |
* | Merge branch 'main' into scenegraphLeonardo Hernández Hernández2022-03-161-83/+98
|\|
| * make sure configure and activate listeners are removed from listLeonardo Hernández Hernández2022-03-161-2/+3
| |
| * Merge branch 'fix-segfault-in-fullscreennotify'Leonardo Hernández Hernández2022-03-131-1/+11
| |\
| | * don't use fullscreen event in fullscreennotify()Leonardo Hernández Hernández2022-03-131-3/+4
| | |
| | * fullscreennotify: don't crash if called before mapRaphael Robatsch2021-11-131-1/+10
| | | | | | | | | | | | | | | | | | | | | SDL2 calls xdg_toplevel.unset_fullscreen() before the surface is mapped. This causes a segfault in dwl because setfullscreen() expects the surface to be mapped already. Therefore, delay the setfullscreen call until the surface is mapped.
| * | always call arrange() on setfullscreen()Leonardo Hernández Hernández2022-03-131-2/+2
| | | | | | | | | | | | also don't count full screen clients on tile()
| * | print status about floating and fullscreenLeonardo Hernández Hernández2022-03-131-1/+7
| | |
| * | more style fixesLeonardo Hernández Hernández2022-03-111-28/+17
| | |
| * | suckless style: don't use '//' for commentsLeonardo Hernández Hernández2022-03-111-17/+17
| | |
| * | use loop to call arrangelayerLeonardo Hernandez Hernandez2022-03-111-18/+7
| | | | | | | | | | | | | | | zwlr_layer_shell_v1_layer are ordered by bottom-most first so we can just use a loop from 3 to 0
| * | Merge pull request #196 from noocsharp/mainSevz2022-03-111-0/+10
| |\ \ | | | | | | | | die on allocation failure
| | * | die on allocation failureNihal Jere2022-02-221-0/+10
| | | |