summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2024-01-26Correct specifier-data_type mismatchesA Frederick Christensen
2024-01-25configure xwayland surfaces without monitorsGuido Cella
For wine clients often configurex11() is called before mapnotify() and therefore c->mon is NULL. configurex11 just returns early in that case, letting these clients stay in the wrong size. For example only the top left part of winecfg and wine uninstaller is drawn, or confirmation dialogs like when closing wine notepad are too big. Fix this by configuring their surfaces like before 88d386b.
2024-01-25pass wl_event_loop to wlr_backend_autocreate (wlroots!4443)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4443
2024-01-25implement the virtual pointer protocolGuido Cella
This is used by programs like warpd.
2024-01-24do not arrange monitor if it's disabled (wlroots!4520)Leonardo Hernández Hernández
This causes us to send negative values to xdg-configures (e.g a bug in our end) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4520 (cherry picked from commit 4043fc3093a73174cb63653ba9e742b4738f2ee5)
2024-01-24do not arrange monitor if it's disabled (wlroots!4520)Leonardo Hernández Hernández
This causes us to send negative values to xdg-configures (e.g a bug in our end) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4520
2024-01-24add support for axis_relative_direction event (wlroots!4003)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4003
2024-01-24Revert "drop wl_drm (wlroots!4397)"Leonardo Hernández Hernández
There still a lot software that uses this protocol This reverts commit facbe57fcbe74d27809eefdfe6aaac5150fbb954.
2024-01-24Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2024-01-20No need to call updatemons ourselvesDevin J. Pohly
The output manager in wlroots emits an output_layout.change event when anything changes, so updatemons will be called anyway. ΔSLOC: -1
2024-01-15drop unused variableLeonardo Hernández Hernández
2024-01-15turn on -Wfloat-conversionLeonardo Hernández Hernández
2024-01-15turn on -Wsign-compareLeonardo Hernández Hernández
2024-01-11check if monitor is null before setting gammachoc
fixes segfault on monitor disconnect when using wlsunset
2024-01-10drop wl_drm (wlroots!4397)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4397
2024-01-06Destroy fullscreen node after moving clients off monBen Jargowsky
2024-01-05don't send configure events to uninitialized xdg-toplevelsLeonardo Hernández Hernández
2024-01-05don't send configure events to uninitialized xdg-popupsLeonardo Hernández Hernández
2024-01-01fix posible NULL-dereference in wl_surface.commit handlerLeonardo Hernández Hernández
2023-12-27only create wlr_presentation (wlroots!4482)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4482
2023-12-27Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2023-12-27unset DISPLAY before setting up xwaylandLeonardo Hernández Hernández
2023-12-27only execute the first keybindingLeonardo Hernández Hernández
2023-12-27more style fixesLeonardo Hernández Hernández
missed from the previous iteration
2023-12-26Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2023-12-25create a wlr_keyboard_group for virtual keyboardsLeonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/554
2023-12-18fix typoLeonardo Hernández Hernández
Fixes: 7afdc191fe4e9b3d16604b7f0c96f9741247e2d2 Thanks to: David Donahue <david.donahue2996@gmail.com>
2023-12-18tie xdg_toplevel_decorations to ClientLeonardo Hernández Hernández
a xdg_toplevel can only have one xdg_toplevel_decoration so there is no need to have a new struct for decorations
2023-12-18Revert "nuke CSDs, hopefully for good!"Leonardo Hernández Hernández
The compositor must respond to the client requesting a change to the decoration mode, it does not matter if the compositor chooses a different mode. This reverts commit 9071ce6c848ce214939fb84f85ae77de86de88d7.
2023-12-18Revert "remove typedef `Decoration`"Leonardo Hernández Hernández
This reverts commit d1ff1e6f75d9c53c953957b5c0a64e0bcb40008b.
2023-12-17style fixesLeonardo Hernández Hernández
2023-12-17use wlr_keyboard_group to manage all keyboardsDavid Donahue
2023-12-12check toplevel resourcesLeonardo Hernández Hernández
it's just a aesthetic change
2023-12-11Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/432 Fixes: https://codeberg.org/dwl/dwl/issues/547
2023-12-11restore and respect rootcolorDima Krasner
2023-12-10merge X11Managed and X11Unmanaged into X11Leonardo Hernández Hernández
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
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
2023-12-07sort LISTEN calls in createnotify{,x11}Leonardo Hernández Hernández
2023-12-07use the same style for urgent() and sethints()Leonardo Hernández Hernández
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