mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
be05097968
This changes the semantics of wlr_output_state. Instead of having fields with uninitialized memory when missing from the committed bitflag, all fields are always initialized (and maybe NULL/empty), just like we do in wlr_surface_state. This reduces the chances of footguns when reading a field, and removes the need to check for the committed bitfield everywhere. A new wlr_output_state_init() function takes care of initializing the Pixman region. |
||
---|---|---|
.. | ||
drag_icon.c | ||
layer_shell_v1.c | ||
output_layout.c | ||
subsurface_tree.c | ||
surface.c | ||
wlr_scene.c | ||
xdg_shell.c |