Age | Commit message (Collapse) | Author |
|
|
|
This could cause a segfault in data_offer_destroy if the offer has version < 3.
|
|
Test f8428d1063c6 at least somewhere to avoid build regressions.
|
|
This will prevent the cursor from persisting on the Linux framebuffer
terminal on exit.
|
|
Refactor drag-and-drop
|
|
Refactor rootston views
|
|
|
|
|
|
|
|
OVERLAY layers
Input order didn't match rendering order, causing pointer events to go into surfaces
that were completely obscured by others (like a LAYER_TOP panel behind a fullscreen
window).
|
|
It doesn't make much sense and actually breaks stuff when using layer-shell
(fullscreen window gets resized, but it's still fullscreen, leading to black
bars where the shell layers are behind).
|
|
backend/drm: fix memory leak in realloc crtcs
|
|
If *changed_outputs is not supplied by the calling function, track the local
allocation with a bool variable and free the allocation at the end of the
function.
|
|
|
|
|
|
|
|
|
|
|
|
xwayland: remove remaining SOCK_CLOEXEC
|
|
|
|
On DRM resume, such as switching back to a TTY, the output needs to be
modeset to the current mode. However, wlr_output_set_mode will return
early when attempting to set the mode to the current mode. This just
steps around wlr_output_set_mode and calls drm_connector_set_mode
directly.
|
|
xwayland: don't use SOCK_CLOEXEC
|
|
SOCK_CLOEXEC isn't POSIX.
|
|
primary-selection-v1: copy from gtk-primary-selection
|
|
In case a tool was removed, but not yet destroyed by the client, the
tool_client's tool can be NULL. We have to check that as well in the
set_cursor handler to prevent using inert resources
|
|
data-device: make old offers inert before sending selection
|
|
xwayland, data-device: fix surface state on unmap
|
|
backend/drm: fix NULL dereference when unsetting cursor
|
|
This segfault happens on multi-GPU systems.
Fixes https://github.com/swaywm/sway/issues/3717
|
|
Fixes https://github.com/swaywm/wlroots/issues/1383
|
|
This commit makes sure surface->mapped is true when the unmapped event is
emitted. This is necessary because listeners can only damage surfaces that are
mapped. This is similar to the fact that the destroy event is emitted before
any destruction is actually made.
Fixes https://github.com/swaywm/sway/issues/3568
|
|
subsurface: add map/unmap events
|
|
Fixes https://github.com/swaywm/wlroots/issues/1414
|
|
There is no point in modesetting an output to a mode that it is already
set to. Modesetting will cause the output to briefly flicker which is
undesirable for a noop. This prevents modesetting any wlr_output,
regardless of the backend, to it's currently set mode.
|
|
Add workaround for hardware cursors on nouveau
|
|
|
|
This reverts commit 72c76b128e562c482868b42b1945ed49cbd44353.
|
|
surface: error out on invalid transform
|
|
|
|
Fixes: https://github.com/swaywm/wlroots/issues/1469
Signed-off-by: Uli Schlachter <psychon@znc.in>
|
|
|
|
Letting the scale be set to 0 causes division by zero errors.
|
|
|
|
There is no point in modesetting an output to a mode that it is already
set to. Modesetting will cause the output to briefly flicker which is
undesirable for a noop. This returns early in `drm_connector_set_mode`
when attempting to modeset to the current mode.
|
|
|
|
drmModeConnector.subpixel doesn't seem to detect subpixel order on many displays (especially laptops). Allow subpixel order to be manually set.
The corresponding PR for sway adds a subpixel output option: https://github.com/swaywm/sway/pull/3645
Once both are merged, https://github.com/swaywm/sway/issues/3163 will be fixed.
|
|
Since xwm only manipulates the stack when focusing a window, newly
mapped windows should be stacked below the focused window. This prevents
the newly mapped window from stealing focus due to being on the top of
the stack.
|
|
|
|
data-control: separate out a data_offer struct
This is a prerequisite to adding primary selection support.
data-control: separate out data_control_source
This is a prerequisite to adding primary selection support, since that
doesn't use wlr_data_source, but rather wlr_primary_selection_source.
Update the data-control protocol
data-control: add primary selection support
Merge create_offer and create_primary_offer
Extract code into data_control_source_destroy()
Fix pointer style
Move resource neutralization to destructor
Store wl_resource in the data_offer
Extract data_offer destruction into a function
|
|
Mark old protocols as obsolete
|