Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make sure popups of a layer surface are in the correct layer | Leonardo Hernández Hernández | 2023-12-07 | 1 | -1/+2 |
| | | | | | | | | | previously it worked because we checked in every commit the layer in a353eee2cac0378a4201e408a3417aa107a7f647 and b100b446b8c82bc2dcdbb40856ab87ed4a4ad594 we changed the way it's handled and now if the layer surface does not change the layer we don't it either. meaning that if it was created in the bottom layer and did not change the layer the popups would show behind xdg clients | ||||
* | sort #includes | Leonardo Hernández Hernández | 2023-12-01 | 1 | -1/+1 |
| | |||||
* | don't return early if the first output commit fails | Leonardo Hernández Hernández | 2023-11-30 | 1 | -4/+1 |
| | |||||
* | check failure of wlr_output_init_render | Leonardo Hernández Hernández | 2023-11-30 | 1 | -3/+6 |
| | |||||
* | use detached output state in createmon() | Leonardo Hernández Hernández | 2023-11-30 | 1 | -6/+12 |
| | | | | see previous commit for motivation | ||||
* | use a detached output state in outputmgrapplyortest() | Leonardo Hernández Hernández | 2023-11-30 | 1 | -12/+13 |
| | | | | wlr_output.pending might be removed in wlroots 0.18 | ||||
* | use `l` instead of `layersurface` | Leonardo Hernández Hernández | 2023-11-25 | 1 | -82/+72 |
| | | | | | `layer_surface` instead of `wlr_layer_surface` and `scene_layer` whenever a wlr_scene_tree is related to layer surfaces | ||||
* | return early if a layersurface didn't commit something | Leonardo Hernández Hernández | 2023-11-25 | 1 | -5/+5 |
| | |||||
* | do not check if a layer surface has monitor on commit | Leonardo Hernández Hernández | 2023-11-25 | 1 | -6/+0 |
| | | | | | We do not allow creating them w/o monitor and they are destroyed when destroying their monitor | ||||
* | send wl_surface.enter before initial commit | Leonardo Hernández Hernández | 2023-11-25 | 1 | -0/+1 |
| | | | | It's not necessary but it'll help clients to render a perfect first frame | ||||
* | destroy the layer-suface's scene tree for popups | Leonardo Hernández Hernández | 2023-11-25 | 1 | -0/+1 |
| | |||||
* | use wlr_box_equal() instead of memcmp | Leonardo Hernández Hernández | 2023-11-25 | 1 | -1/+1 |
| | |||||
* | simplify settings popups scene tree parent | Leonardo Hernández Hernández | 2023-11-25 | 1 | -3/+2 |
| | |||||
* | simplify check for wlr_layer_surface.output | Leonardo Hernández Hernández | 2023-11-25 | 1 | -4/+2 |
| | |||||
* | use sizeof(*pointer) instead of sizeof(struct) | Leonardo Hernández Hernández | 2023-11-25 | 1 | -1/+1 |
| | |||||
* | make sure to unlink Monitor.request_state listener | Leonardo Hernández Hernández | 2023-11-25 | 1 | -1/+3 |
| | |||||
* | Merge branch 'wlroots-next' | Leonardo Hernández Hernández | 2023-11-25 | 1 | -176/+249 |
|\ | |||||
| * | try to apply gamma LUT in updatemons | Leonardo Hernández Hernández | 2023-11-21 | 1 | -1/+1 |
| | | | | | | | | this in the case the output was re-enabled | ||||
| * | ignore wl_surface.commit for xwayland clients | Leonardo Hernández Hernández | 2023-11-21 | 1 | -2/+0 |
| | | | | | | | | This is no longer needed | ||||
| * | Do not send repeated xdg_toplevel.configure_bounds | Leonardo Hernández Hernández | 2023-11-21 | 1 | -0/+1 |
| | | | | | | | | Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85 | ||||
| * | resize clients on commit | Leonardo Hernández Hernández | 2023-11-21 | 1 | -0/+3 |
| | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/515 This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1. | ||||
| * | do not try to enable adaptive sync | Leonardo Hernández Hernández | 2023-11-18 | 1 | -5/+0 |
| | | |||||
| * | fix the position of the cursor image after turning all the monitors on | Leonardo Hernández Hernández | 2023-11-17 | 1 | -0/+7 |
| | | |||||
| * | remove unused #include | Leonardo Hernández Hernández | 2023-11-17 | 1 | -1/+0 |
| | | |||||
| * | do not check if `session` is non-NULL | Leonardo Hernández Hernández | 2023-11-17 | 1 | -2/+1 |
| | | | | | | | | wlr_session_change_vt() is a no-op if session == NULL | ||||
| * | do not explicitly destroy some wlroots interfaces | Leonardo Hernández Hernández | 2023-11-17 | 1 | -6/+3 |
| | | | | | | | | they are destroyed when the wayland display is destroyed | ||||
| * | fix docs | Leonardo Hernández Hernández | 2023-11-17 | 1 | -19/+19 |
| | | | | | | | | copied from tinywl | ||||
| * | fix destroynotify() docs | Leonardo Hernández Hernández | 2023-11-17 | 1 | -1/+1 |
| | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421 | ||||
| * | prevent a use-after-free at exit | Leonardo Hernández Hernández | 2023-11-17 | 1 | -0/+1 |
| | | |||||
| * | do not compute layout box twice | Leonardo Hernández Hernández | 2023-11-17 | 1 | -2/+2 |
| | | |||||
| * | make sure fullscreen clients have the right size | Leonardo Hernández Hernández | 2023-11-17 | 1 | -0/+3 |
| | | |||||
| * | fix screen artifacts when setting gamma | Leonardo Hernández Hernández | 2023-11-17 | 1 | -15/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | the artifacts were caused because we tried to set the gamma right after receiving the event, this resulted in two pending page-flips, which not always play well together. This also seems to fix a screen freeze when turning on a monitor that has gamma. Additionally the current method won't work once [0] is merged [0]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4423 | ||||
| * | use wlr_scene_subsurface_tree_set_clip | Leonardo Hernández Hernández | 2023-11-14 | 1 | -0/+3 |
| | | | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131 Closes: https://github.com/djpohly/dwl/issues/411 | ||||
| * | Revert "respect size hints" | Leonardo Hernández Hernández | 2023-11-14 | 1 | -13/+3 |
| | | | | | | | | This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565. | ||||
| * | use newer cursor naming spec | Leonardo Hernández Hernández | 2023-11-01 | 1 | -5/+5 |
| | | | | | | | | | | References: https://www.freedesktop.org/wiki/Specifications/cursor-spec/ References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4416 | ||||
| * | ignore maximize events for clients using xdg-shell v5 and newer | Leonardo Hernández Hernández | 2023-11-01 | 1 | -1/+6 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | 2023-10-13 | 1 | -1/+2 |
| |\ | |||||
| * \ | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | 2023-10-09 | 1 | -6/+10 |
| |\ \ | |||||
| * \ \ | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | 2023-10-09 | 1 | -10/+15 |
| |\ \ \ | |||||
| * \ \ \ | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | 2023-09-24 | 1 | -59/+59 |
| |\ \ \ \ | |||||
| * | | | | | add support for xdg-shell v6 | Leonardo Hernández Hernández | 2023-07-31 | 1 | -3/+6 |
| | | | | | | |||||
| * | | | | | update to xdg-shell v5 | Leonardo Hernández Hernández | 2023-07-23 | 1 | -1/+4 |
| | | | | | | |||||
| * | | | | | add support for cursor-shape-v1 | Leonardo Hernández Hernández | 2023-07-23 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106 | ||||
| * | | | | | increase wl_compositor version | Leonardo Hernández Hernández | 2023-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now scene will handle sending the preferred buffer scale References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4269 | ||||
| * | | | | | Merge branch 'main' into wlroots-next | Leonardo Hernández Hernández | 2023-07-13 | 1 | -54/+36 |
| |\ \ \ \ \ | |||||
| * | | | | | | chase wlroots!4220 | Leonardo Hernández Hernández | 2023-07-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4220 | ||||
| * | | | | | | Line saver: LISTEN_STATIC macro | Devin J. Pohly | 2023-07-08 | 1 | -61/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This parallels the LISTEN macro for statically allocated listeners, and it allows us to remove almost all of the global wl_listener declarations. This also fixes a bug with the axisnotify listener, which was declared with a compound literal. At block scope, these have automatic storage duration [1], so the listener was no longer valid after setup() returned. (The option to declare it static explicitly was standardized in C23, if that ever gains suckless traction.) ΔSLOC: -27 [1]: https://en.cppreference.com/w/c/language/compound_literal#Explanation | ||||
| * | | | | | | Line saver: follow "local = wlr->data = obj" pattern | Devin J. Pohly | 2023-07-03 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were still a couple of places where we could use this handy multiple assignment to save a line. ΔSLOC = -3 | ||||
| * | | | | | | Merge remote-tracking branch 'upstream/main' into wlroots-next | Leonardo Hernández Hernández | 2023-06-29 | 1 | -73/+64 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | schedule a frame after commmiting gamma | Leonardo Hernández Hernández | 2023-06-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not doing it, may freeze the output or do not actually change the gamma until creating a client |