aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2023-12-11restore and respect rootcolorDima Krasner-0/+5
2023-12-10merge X11Managed and X11Unmanaged into X11Leonardo Hernández Hernández-4/+4
now that client_is_unmanaged() checks the wlr struct we don't need to keep track of it ourselves
2023-12-10do not blindly try to send motion events when pointer button is pressedLeonardo Hernández Hernández-9/+9
we don't have to do this if the surface is the same
2023-12-07Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández-26/+26
2023-12-07sort LISTEN calls in createnotify{,x11}Leonardo Hernández Hernández-4/+4
2023-12-07use the same style for urgent() and sethints()Leonardo Hernández Hernández-4/+4
2023-12-07remove an unneeded cast in createpointer()Leonardo Hernández Hernández-2/+1
2023-12-07avoid duplication of linesLeonardo Hernández Hernández-2/+1
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-0/+2
2023-12-07relax a bit the line length limitLeonardo Hernández Hernández-2/+1
2023-12-07add a blank line to improve readabilityLeonardo Hernández Hernández-0/+1
2023-12-07use (struct wlr_box){0} to empty the Monitor areasLeonardo Hernández Hernández-2/+1
2023-12-07copy layout symbol when matching a MonitorRuleLeonardo Hernández Hernández-4/+4
2023-12-07remove extra blank lineLeonardo Hernández Hernández-1/+0
2023-12-07LayerSurface::link -> LayerSurface.linkLeonardo Hernández Hernández-1/+1
2023-12-07set the correct border color when mapping a clientLeonardo Hernández Hernández-1/+2
2023-12-07reduce calls to client_get_geometryLeonardo Hernández Hernández-2/+2
2023-12-07store the layersurface pointer in l->popups->node.data as wellLeonardo Hernández Hernández-1/+1
2023-12-07make sure popups of a layer surface are in the correct layerLeonardo Hernández Hernández-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
2023-12-01sort #includesLeonardo Hernández Hernández-1/+1
2023-11-30Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández-22/+29
2023-11-30don't return early if the first output commit failsLeonardo Hernández Hernández-4/+1
2023-11-30check failure of wlr_output_init_renderLeonardo Hernández Hernández-3/+6
2023-11-30use detached output state in createmon()Leonardo Hernández Hernández-6/+12
see previous commit for motivation
2023-11-30use a detached output state in outputmgrapplyortest()Leonardo Hernández Hernández-12/+13
wlr_output.pending might be removed in wlroots 0.18
2023-11-27chase xdg-shell events update (wlroots!4345)Leonardo Hernández Hernández-39/+41
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-11/+10
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-2/+1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
2023-11-25use `l` instead of `layersurface`Leonardo Hernández Hernández-82/+72
`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-5/+5
2023-11-25do not check if a layer surface has monitor on commitLeonardo Hernández Hernández-6/+0
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-0/+1
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-0/+1
2023-11-25use wlr_box_equal() instead of memcmpLeonardo Hernández Hernández-1/+1
2023-11-25simplify settings popups scene tree parentLeonardo Hernández Hernández-3/+2
2023-11-25simplify check for wlr_layer_surface.outputLeonardo Hernández Hernández-4/+2
2023-11-25use sizeof(*pointer) instead of sizeof(struct)Leonardo Hernández Hernández-1/+1
2023-11-25make sure to unlink Monitor.request_state listenerLeonardo Hernández Hernández-1/+3
2023-11-25Merge branch 'wlroots-next'Leonardo Hernández Hernández-176/+249
2023-11-21try to apply gamma LUT in updatemonsLeonardo Hernández Hernández-1/+1
this in the case the output was re-enabled
2023-11-21ignore wl_surface.commit for xwayland clientsLeonardo Hernández Hernández-2/+0
This is no longer needed
2023-11-21Do not send repeated xdg_toplevel.configure_boundsLeonardo Hernández Hernández-0/+1
Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85
2023-11-21resize clients on commitLeonardo Hernández Hernández-0/+3
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-0/+2
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-5/+0
2023-11-17fix the position of the cursor image after turning all the monitors onLeonardo Hernández Hernández-0/+7
2023-11-17remove unused #includeLeonardo Hernández Hernández-1/+0
2023-11-17do not check if `session` is non-NULLLeonardo Hernández Hernández-2/+1
wlr_session_change_vt() is a no-op if session == NULL
2023-11-17do not explicitly destroy some wlroots interfacesLeonardo Hernández Hernández-6/+3
they are destroyed when the wayland display is destroyed
2023-11-17fix docsLeonardo Hernández Hernández-19/+19
copied from tinywl