Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove vestigial monitor configuration info | Devin J. Pohly | 2022-04-03 | 1 | -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 failure | Leonardo Hernández Hernández | 2022-03-31 | 1 | -3/+3 |
| | |||||
* | Layer shell: Prevent infinte configure/commit loop | Raphael Robatsch | 2022-03-31 | 1 | -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ández | 2022-03-28 | 1 | -28/+18 |
| | | | | | die() replaces EBARF and BARF and allow us to add `-pedantic` to CFLAGS | ||||
* | check `m` in commitlayersurfacenotify() | Leonardo Hernández Hernández | 2022-03-24 | 1 | -2/+1 |
| | |||||
* | implement input-inhibitor protocol | Leonardo Hernández Hernández | 2022-03-24 | 1 | -2/+8 |
| | |||||
* | implement idle-inhibitor protocol | Leonardo Hernández Hernández | 2022-03-24 | 1 | -0/+27 |
| | | | | This allows clients to disable idle monitoring | ||||
* | fix drag icon's surface returned by xytonode | Leonardo Hernández Hernández | 2022-03-23 | 1 | -12/+19 |
| | |||||
* | set position of the drag icon in startdrag() | Leonardo Hernández Hernández | 2022-03-23 | 1 | -6/+5 |
| | |||||
* | Revert "clients now works as expected in drag motion" | Leonardo Hernández Hernández | 2022-03-23 | 1 | -8/+5 |
| | | | | | | | This reverts commit 9aec6049ecbefe3618f34002d2239cc9462c07e9. this problem is caused because xytonode() returns the surface of the drag icon | ||||
* | inline the presentation variable | Guido Cella | 2022-03-23 | 1 | -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 resizing | Palanix | 2022-03-23 | 1 | -6/+22 |
| | |||||
* | Add a configuration option for fullscreen locking | Quentin Rameau | 2022-03-22 | 1 | -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 motion | Leonardo Hernández Hernández | 2022-03-22 | 1 | -5/+8 |
| | |||||
* | implement drag and drop | Guido Cella | 2022-03-22 | 1 | -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 resize | Leonardo Hernández Hernández | 2022-03-21 | 1 | -2/+4 |
| | |||||
* | remove a useless resize in mapnotify() | Leonardo Hernández Hernández | 2022-03-21 | 1 | -1/+0 |
| | | | | applyrules() calls setmon() which calls resize() | ||||
* | destroy scene_output in cleanupmon() | Leonardo Hernández Hernández | 2022-03-20 | 1 | -0/+1 |
| | |||||
* | remove independents list | Leonardo Hernández Hernández | 2022-03-20 | 1 | -6/+2 |
| | |||||
* | remove unneeded variables | Leonardo Hernández Hernández | 2022-03-18 | 1 | -2/+1 |
| | |||||
* | attach presentation to scene | Leonardo Hernández Hernández | 2022-03-18 | 1 | -0/+1 |
| | |||||
* | Merge branch 'main' into scenegraph | Leonardo Hernández Hernández | 2022-03-18 | 1 | -0/+7 |
|\ | |||||
| * | fix crash of Firefox when opening a popup larger than its size | Leonardo Hernández Hernández | 2022-03-17 | 1 | -2/+4 |
| | | |||||
| * | constraint popups to its parent client | Leonardo Hernández Hernández | 2022-03-16 | 1 | -1/+8 |
| | | | | | | | | | | Closes: #146 Closes: #155 | ||||
* | | do not allow set client size less than its min size | Leonardo Hernández Hernández | 2022-03-18 | 1 | -2/+4 |
| | | |||||
* | | make sure to destroy wlr_scene_node of unmanaged clients | Leonardo Hernández Hernández | 2022-03-18 | 1 | -1/+3 |
| | | |||||
* | | do not create borders for unmanaged clients | Leonardo Hernández Hernández | 2022-03-18 | 1 | -7/+8 |
| | | |||||
* | | pointerfocus: only use provided surface | Leonardo Hernández Hernández | 2022-03-18 | 1 | -16/+6 |
| | | | | | | | | if a client is given focus it | ||||
* | | use xdg_shell helper | Leonardo Hernández Hernández | 2022-03-18 | 1 | -2/+3 |
| | | | | | | | | for xwayland continue using wlr_scene_subsurface_create() | ||||
* | | get old client by surface's node | Leonardo Hernández Hernández | 2022-03-18 | 1 | -10/+5 |
| | | |||||
* | | Merge branch 'main' into scenegraph | Leonardo Hernández Hernández | 2022-03-16 | 1 | -83/+98 |
|\| | |||||
| * | make sure configure and activate listeners are removed from list | Leonardo Hernández Hernández | 2022-03-16 | 1 | -2/+3 |
| | | |||||
| * | Merge branch 'fix-segfault-in-fullscreennotify' | Leonardo Hernández Hernández | 2022-03-13 | 1 | -1/+11 |
| |\ | |||||
| | * | don't use fullscreen event in fullscreennotify() | Leonardo Hernández Hernández | 2022-03-13 | 1 | -3/+4 |
| | | | |||||
| | * | fullscreennotify: don't crash if called before map | Raphael Robatsch | 2021-11-13 | 1 | -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ández | 2022-03-13 | 1 | -2/+2 |
| | | | | | | | | | | | | also don't count full screen clients on tile() | ||||
| * | | print status about floating and fullscreen | Leonardo Hernández Hernández | 2022-03-13 | 1 | -1/+7 |
| | | | |||||
| * | | more style fixes | Leonardo Hernández Hernández | 2022-03-11 | 1 | -28/+17 |
| | | | |||||
| * | | suckless style: don't use '//' for comments | Leonardo Hernández Hernández | 2022-03-11 | 1 | -17/+17 |
| | | | |||||
| * | | use loop to call arrangelayer | Leonardo Hernandez Hernandez | 2022-03-11 | 1 | -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/main | Sevz | 2022-03-11 | 1 | -0/+10 |
| |\ \ | | | | | | | | | die on allocation failure | ||||
| | * | | die on allocation failure | Nihal Jere | 2022-02-22 | 1 | -0/+10 |
| | | | | |||||
| * | | | use wlr_box for previous geom | Leonardo Hernández Hernández | 2022-03-10 | 1 | -10/+3 |
| | | | | |||||
| * | | | fix crash when the last monitor is disconnected | Leonardo Hernandez Hernandez | 2022-03-10 | 1 | -5/+16 |
| | | | | |||||
| * | | | Merge pull request #187 from fauxmight/new-clients-printstatus | Sevz | 2022-03-10 | 1 | -0/+2 |
| |\ \ \ | | | | | | | | | | | Newly launched or closed clients ALWAYS generate status update | ||||
| | * | | | Newly launched or closed clients ALWAYS generate status update | A Frederick Christensen | 2021-12-31 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, if a client whose tag(s) are not currently selected is launched or killed, no update to status was printed and status bars being fed by printstatus() did not update newly active or newly inactive (but unselected) tags. | ||||
| * | | | | Merge pull request #149 from xi/fix-grabc-unmap | Sevz | 2022-03-10 | 1 | -0/+4 |
| |\ \ \ \ | | | | | | | | | | | | | reset cursor mode when grabc is unmapped | ||||
| | * | | | | reset cursor mode when grabc is unmapped | Tobias Bengfort | 2021-09-04 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | remove typedef `Decoration` | Leonardo Hernandez Hernandez | 2022-03-08 | 1 | -5/+0 |
| | |_|/ / | |/| | | | |||||
| * | | | | Merge pull request #160 from Humm42/closepipes | Devin J. Pohly | 2022-02-15 | 1 | -0/+2 |
| |\ \ \ \ | | |_|/ / | |/| | | | -s: close unused fds |