Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* Rename the constraint_create signal to new_constraint for
consistency
* Move the constraint_destroy signal to the constraint itself
* Use rotate_child_position instead of duplicating logic
* Fix inert constraint resource handling
* Style fixes
|
|
|
|
|
|
|
|
pixman_region32_contains_point
I do not think the conversion is specifically defined, but on my system and SirCmpwn's
the floats are rounded instead of floored, which is incorrect in this case, since
for a range from 0 to 256, any value greater or equal to 0 and less than 256 is valid.
I.e. [0;256[, or 0 <= x < 256, but if x is e.g. -0.1, then it will be rounded to 0, which
is invalid. The correct behavior would be to floor to -1.
|
|
|
|
|
|
This is analogous to the opaque_region member.
In addition the code for setting the opaque region is cleaned up.
|
|
|
|
|
|
|
|
To find out whether there was a surface or not before a movement, the member
roots_cursor::wlr_surface has been added.
|
|
|
|
Add support for WLR_SESSION env variable
|
|
Valid values are "logind"/"systemd" and "direct". If WLR_SESSION is set,
only its value is potentially tried; it will not try any other option.
|
|
output-layout: don't expose outputs without a mode
|
|
|
|
Steal CRTCs from disabled outputs
|
|
This commit allows outputs that need a CRTC to steal it from
user-disabled outputs. Note that in the case there are enough
CRTCs, disabled outputs don't loose it (so there's no modeset
and plane initialization needed after DPMS). CRTC allocation
still prefers to keep the old configuration, even if that means
allocating an extra CRTC to a disabled output.
CRTC reallocation now happen when enabling/disabling an output as
well as when trying to modeset. When enabling an output without a
CRTC, we realloc to try to steal a CRTC from a disabled output
(that doesn't really need the CRTC). When disabling an output, we
try to give our CRTC to an output that needs one. Modesetting is
similar to enabling.
A new DRM connector field has been added: `desired_enabled`.
Outputs without CRTCs get automatically disabled. This field keeps
track of the state desired by the user, allowing to automatically
re-enable outputs when a CRTC becomes free.
This required some changes to the allocation algorithm. Previously,
the algorithm tried to keep the previous configuration even if a
new configuration with a better score was possible (it only changed
configuration when the old one didn't work anymore). This is now
changed and the old configuration (still preferred) is only
retained without considering new possibilities when it's perfect
(all outputs have CRTCs).
User-disabled outputs now have `possible_crtcs` set to 0, meaning
they can only retain a previous CRTC (not acquire a new one). The
allocation algorithm has been updated to do not bump the score
when assigning a CRTC to a disabled output.
|
|
output: make wlr_output_enable return a bool
|
|
layer-shell: add _v1 suffix
|
|
xdg-output: add _v1 suffix
|
|
output: introduce WLR_NO_HARDWARE_CURSORS
|
|
|
|
|
|
|
|
|
|
Tablet grabs
|
|
rootston: Keep older anchored layers near anchor points
|
|
Layer surfaces are attached to edges of the screen starting with the youngest, causing new ones to always displace existing ones. This changes the order to oldest first, keeping the positions more often.
|
|
backend/drm: de-allocate unused CRTCs
|
|
rootston: fix segfault on tablet pad destroy
|
|
Add drmSetMaster and drmDropMaster calls to FreeBSD direct session
|
|
They can be re-used by another output after a subsequent hotplug.
|
|
fix cursor loss w/ legacy drm and software cursor (tested on etnaviv)
|
|
|
|
|
|
Fix wlr_xwayland_destroy
|
|
|
|
Accidentally included the FreeBSD-specific dev/evdev/input.h file on
other systems too. This commit fixes that.
|
|
This commit implements device type discovery by calling two ioctls
(DRM_IOCTL_VERSION and EVIOCGVERSION) on the device. These iocts are
specific to drm and input devices respectively, therefore we can
determine the device type based on which one returns an error.
|
|
|
|
Fix #1129
|
|
sx, sy used to store the buffer offset of the drag surface which was
then be added (by rootston) to the drag icon position.
Buffer offsets are handled already in surface_intersect_output
(output.c) so they were added twice for dnd surfaces.
|
|
backend/drm: better hotplug handling
|
|
Remove indent_size from .editorconfig
|