summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2023-12-07remove an unneeded cast in createpointer()Leonardo Hernández Hernández
2023-12-07avoid duplication of linesLeonardo Hernández Hernández
the output state is copied when creating a output configuration head
2023-12-07add explanation about why we try to re-apply the gamma LUT on output changesLeonardo Hernández Hernández
2023-12-07relax a bit the line length limitLeonardo Hernández Hernández
2023-12-07add a blank line to improve readabilityLeonardo Hernández Hernández
2023-12-07use (struct wlr_box){0} to empty the Monitor areasLeonardo Hernández Hernández
2023-12-07copy layout symbol when matching a MonitorRuleLeonardo Hernández Hernández
2023-12-07remove extra blank lineLeonardo Hernández Hernández
2023-12-07LayerSurface::link -> LayerSurface.linkLeonardo Hernández Hernández
2023-12-07set the correct border color when mapping a clientLeonardo Hernández Hernández
2023-12-07reduce calls to client_get_geometryLeonardo Hernández Hernández
2023-12-07store the layersurface pointer in l->popups->node.data as wellLeonardo Hernández Hernández
2023-12-07make sure popups of a layer surface are in the correct layerLeonardo Hernández Hernández
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
2023-12-01sort #includesLeonardo Hernández Hernández
2023-11-30Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2023-11-30don't return early if the first output commit failsLeonardo Hernández Hernández
2023-11-30check failure of wlr_output_init_renderLeonardo Hernández Hernández
2023-11-30use detached output state in createmon()Leonardo Hernández Hernández
see previous commit for motivation
2023-11-30use a detached output state in outputmgrapplyortest()Leonardo Hernández Hernández
wlr_output.pending might be removed in wlroots 0.18
2023-11-27chase xdg-shell events update (wlroots!4345)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4345
2023-11-27chase wlr_layer_shell_v1.new_surface changes (wlroots!4265)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4265
2023-11-27pass wl_display to wlr_output_layout_create (wlroots!4310)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
2023-11-25use `l` instead of `layersurface`Leonardo Hernández Hernández
`layer_surface` instead of `wlr_layer_surface` and `scene_layer` whenever a wlr_scene_tree is related to layer surfaces
2023-11-25return early if a layersurface didn't commit somethingLeonardo Hernández Hernández
2023-11-25do not check if a layer surface has monitor on commitLeonardo Hernández Hernández
We do not allow creating them w/o monitor and they are destroyed when destroying their monitor
2023-11-25send wl_surface.enter before initial commitLeonardo Hernández Hernández
It's not necessary but it'll help clients to render a perfect first frame
2023-11-25destroy the layer-suface's scene tree for popupsLeonardo Hernández Hernández
2023-11-25use wlr_box_equal() instead of memcmpLeonardo Hernández Hernández
2023-11-25simplify settings popups scene tree parentLeonardo Hernández Hernández
2023-11-25simplify check for wlr_layer_surface.outputLeonardo Hernández Hernández
2023-11-25use sizeof(*pointer) instead of sizeof(struct)Leonardo Hernández Hernández
2023-11-25make sure to unlink Monitor.request_state listenerLeonardo Hernández Hernández
2023-11-25Merge branch 'wlroots-next'Leonardo Hernández Hernández
2023-11-21try to apply gamma LUT in updatemonsLeonardo Hernández Hernández
this in the case the output was re-enabled
2023-11-21ignore wl_surface.commit for xwayland clientsLeonardo Hernández Hernández
This is no longer needed
2023-11-21Do not send repeated xdg_toplevel.configure_boundsLeonardo Hernández Hernández
Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85
2023-11-21resize clients on commitLeonardo Hernández Hernández
Fixes: https://github.com/djpohly/dwl/issues/515 This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1.
2023-11-19createkeyboard: do not segfault if xkb_keymap_new_from_names returns NULLlink2xt
Passing NULL to wlr_keyboard_set_keymap results in a segfault. Example: Thread 1 "dwl" received signal SIGSEGV, Segmentation fault. 0x00007ffff7e49b64 in xkb_keymap_ref () from /usr/lib/libxkbcommon.so.0 (gdb) bt #0 0x00007ffff7e49b64 in xkb_keymap_ref () at /usr/lib/libxkbcommon.so.0 #1 0x00007ffff7f06389 in wlr_keyboard_set_keymap () at /usr/lib/libwlroots.so.11 #2 0x000055555555bc54 in createkeyboard () #3 0x000055555555c283 in inputdevice () #4 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 #5 0x00007ffff7e8101e in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0 #6 0x00007ffff7edb52c in () at /usr/lib/libwlroots.so.11 #7 0x00007ffff7ee44b6 in () at /usr/lib/libwlroots.so.11 #8 0x000055555555fe66 in main ()
2023-11-18do not try to enable adaptive syncLeonardo Hernández Hernández
2023-11-17fix the position of the cursor image after turning all the monitors onLeonardo Hernández Hernández
2023-11-17remove unused #includeLeonardo Hernández Hernández
2023-11-17do not check if `session` is non-NULLLeonardo Hernández Hernández
wlr_session_change_vt() is a no-op if session == NULL
2023-11-17do not explicitly destroy some wlroots interfacesLeonardo Hernández Hernández
they are destroyed when the wayland display is destroyed
2023-11-17fix docsLeonardo Hernández Hernández
copied from tinywl
2023-11-17fix destroynotify() docsLeonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421
2023-11-17prevent a use-after-free at exitLeonardo Hernández Hernández
2023-11-17do not compute layout box twiceLeonardo Hernández Hernández
2023-11-17make sure fullscreen clients have the right sizeLeonardo Hernández Hernández
2023-11-17fix screen artifacts when setting gammaLeonardo Hernández Hernández
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
2023-11-14use wlr_scene_subsurface_tree_set_clipLeonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131 Closes: https://github.com/djpohly/dwl/issues/411