aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* set the correct border color when mapping a clientLeonardo Hernández Hernández2023-12-071-1/+2
|
* reduce calls to client_get_geometryLeonardo Hernández Hernández2023-12-071-2/+2
|
* store the layersurface pointer in l->popups->node.data as wellLeonardo Hernández Hernández2023-12-071-1/+1
|
* make sure popups of a layer surface are in the correct layerLeonardo Hernández Hernández2023-12-071-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 #includesLeonardo Hernández Hernández2023-12-011-1/+1
|
* don't return early if the first output commit failsLeonardo Hernández Hernández2023-11-301-4/+1
|
* check failure of wlr_output_init_renderLeonardo Hernández Hernández2023-11-301-3/+6
|
* use detached output state in createmon()Leonardo Hernández Hernández2023-11-301-6/+12
| | | | see previous commit for motivation
* use a detached output state in outputmgrapplyortest()Leonardo Hernández Hernández2023-11-301-12/+13
| | | | wlr_output.pending might be removed in wlroots 0.18
* use `l` instead of `layersurface`Leonardo Hernández Hernández2023-11-251-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 somethingLeonardo Hernández Hernández2023-11-251-5/+5
|
* do not check if a layer surface has monitor on commitLeonardo Hernández Hernández2023-11-251-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 commitLeonardo Hernández Hernández2023-11-251-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 popupsLeonardo Hernández Hernández2023-11-251-0/+1
|
* use wlr_box_equal() instead of memcmpLeonardo Hernández Hernández2023-11-251-1/+1
|
* simplify settings popups scene tree parentLeonardo Hernández Hernández2023-11-251-3/+2
|
* simplify check for wlr_layer_surface.outputLeonardo Hernández Hernández2023-11-251-4/+2
|
* use sizeof(*pointer) instead of sizeof(struct)Leonardo Hernández Hernández2023-11-251-1/+1
|
* make sure to unlink Monitor.request_state listenerLeonardo Hernández Hernández2023-11-251-1/+3
|
* Merge branch 'wlroots-next'Leonardo Hernández Hernández2023-11-251-176/+249
|\
| * try to apply gamma LUT in updatemonsLeonardo Hernández Hernández2023-11-211-1/+1
| | | | | | | | this in the case the output was re-enabled
| * ignore wl_surface.commit for xwayland clientsLeonardo Hernández Hernández2023-11-211-2/+0
| | | | | | | | This is no longer needed
| * Do not send repeated xdg_toplevel.configure_boundsLeonardo Hernández Hernández2023-11-211-0/+1
| | | | | | | | Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85
| * resize clients on commitLeonardo Hernández Hernández2023-11-211-0/+3
| | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/515 This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1.
| * do not try to enable adaptive syncLeonardo Hernández Hernández2023-11-181-5/+0
| |
| * fix the position of the cursor image after turning all the monitors onLeonardo Hernández Hernández2023-11-171-0/+7
| |
| * remove unused #includeLeonardo Hernández Hernández2023-11-171-1/+0
| |
| * do not check if `session` is non-NULLLeonardo Hernández Hernández2023-11-171-2/+1
| | | | | | | | wlr_session_change_vt() is a no-op if session == NULL
| * do not explicitly destroy some wlroots interfacesLeonardo Hernández Hernández2023-11-171-6/+3
| | | | | | | | they are destroyed when the wayland display is destroyed
| * fix docsLeonardo Hernández Hernández2023-11-171-19/+19
| | | | | | | | copied from tinywl
| * fix destroynotify() docsLeonardo Hernández Hernández2023-11-171-1/+1
| | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421
| * prevent a use-after-free at exitLeonardo Hernández Hernández2023-11-171-0/+1
| |
| * do not compute layout box twiceLeonardo Hernández Hernández2023-11-171-2/+2
| |
| * make sure fullscreen clients have the right sizeLeonardo Hernández Hernández2023-11-171-0/+3
| |
| * fix screen artifacts when setting gammaLeonardo Hernández Hernández2023-11-171-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_clipLeonardo Hernández Hernández2023-11-141-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ández2023-11-141-13/+3
| | | | | | | | This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565.
| * use newer cursor naming specLeonardo Hernández Hernández2023-11-011-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 newerLeonardo Hernández Hernández2023-11-011-1/+6
| |
| * Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández2023-10-131-1/+2
| |\
| * \ Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández2023-10-091-6/+10
| |\ \
| * \ \ Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández2023-10-091-10/+15
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández2023-09-241-59/+59
| |\ \ \ \
| * | | | | add support for xdg-shell v6Leonardo Hernández Hernández2023-07-311-3/+6
| | | | | |
| * | | | | update to xdg-shell v5Leonardo Hernández Hernández2023-07-231-1/+4
| | | | | |
| * | | | | add support for cursor-shape-v1Leonardo Hernández Hernández2023-07-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
| * | | | | increase wl_compositor versionLeonardo Hernández Hernández2023-07-151-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-nextLeonardo Hernández Hernández2023-07-131-54/+36
| |\ \ \ \ \
| * | | | | | chase wlroots!4220Leonardo Hernández Hernández2023-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4220
| * | | | | | Line saver: LISTEN_STATIC macroDevin J. Pohly2023-07-081-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