emersion
4135fafecd
seat: guard against button count corruption
...
This is still a compositor bug, and bad events will be sent to clients. We'll
need to track each button separately to handle this in wlroots.
6 years ago
Guido Günther
f8fcd7f06a
Remove glEGLImageTargetTexture2DOES
...
It's declared via render/glapi.txt.
6 years ago
Guido Günther
cf9607f282
wlr_xdg_shell: Remove redundant declaration in the same file
6 years ago
Guido Günther
7da9af31e8
rootston/view: Remove redundant declaration in the same file
6 years ago
Guido Günther
d3b48dfcae
Unbreak build with '-Wstrict-prototypes'
6 years ago
Drew DeVault
b46e097fe2
Update version to 0.4.1
6 years ago
Guido Günther
65f1ec1d5e
rootston: Make add_{switch,binding}_config static
6 years ago
athrungithub
2000d52405
clang compile fix #1572
...
clang consider error no enum handled,
in BSD and Linux
6 years ago
emersion
0b33643175
Bump version to 0.4
6 years ago
emersion
d425206719
data-device: check if there's a source before sending dnd_finish
...
This could cause a segfault in data_offer_destroy if the offer has version < 3.
6 years ago
Jan Beich
421283935b
Add xcb-errors to FreeBSD build
...
Test f8428d1063
at least somewhere to avoid build regressions.
6 years ago
Scott Anderson
d945c97926
backend/drm: Unset cursor on cleanup
...
This will prevent the cursor from persisting on the Linux framebuffer
terminal on exit.
6 years ago
Drew DeVault
e77e53dae5
Merge pull request #1517 from emersion/refactor-dnd
...
Refactor drag-and-drop
6 years ago
Drew DeVault
00b1b40b36
Merge pull request #1568 from emersion/rootston-refactor
...
Refactor rootston views
6 years ago
emersion
9adcbabea4
rootston: make roots_view embedded and remove unions
6 years ago
emersion
9f11bf571e
rootston: add a view child interface
6 years ago
emersion
e86c7a3dd6
rootston: move part of desktop.c to view.c, use an interface for views
6 years ago
Sebastian Krzyszkowiak
4f66565606
rootston: surface_at: check for fullscreen surfaces in between TOP and 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).
6 years ago
Sebastian Krzyszkowiak
de56ea6b1e
rootston: don't try to maximize fullscreen surfaces
...
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).
6 years ago
Scott Anderson
132290aeb4
Merge pull request #1565 from Emantor/fix/realloc_allocation
...
backend/drm: fix memory leak in realloc crtcs
6 years ago
Rouven Czerwinski
e1834ace28
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.
6 years ago
emersion
d6de640440
data-device: unbreak wl_data_source.cancel during drag-and-drop
6 years ago
emersion
7d367a9e21
data-offer: send WL_DATA_OFFER_ERROR_INVALID_FINISH
6 years ago
emersion
ae2aeb65cc
rootston: cancel drag on invalid serial
6 years ago
emersion
44ec3afb27
data-device: fix drag cleanup if not started
6 years ago
emersion
6291e84532
data-device: refactor wlr_drag
6 years ago
Drew DeVault
18600f457b
Merge pull request #1564 from emersion/remove-sock-cloexec
...
xwayland: remove remaining SOCK_CLOEXEC
6 years ago
emersion
cfe7e28416
xwayland: remove remaining SOCK_CLOEXEC
6 years ago
Brian Ashworth
50011e7170
backend/drm: fix modeset on drm fd resume
...
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.
6 years ago
Drew DeVault
dcd05f67ab
Merge pull request #1562 from emersion/remove-sock-cloexec
...
xwayland: don't use SOCK_CLOEXEC
6 years ago
emersion
cb0a91e45a
xwayland: don't use SOCK_CLOEXEC
...
SOCK_CLOEXEC isn't POSIX.
6 years ago
Drew DeVault
ea28887a23
Merge pull request #1493 from emersion/primary-selection-v1
...
primary-selection-v1: copy from gtk-primary-selection
6 years ago
Markus Ongyerth
fc9838b15e
Prevent NULL dereference in tablet_tool handler
...
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
6 years ago
Drew DeVault
b455df3b91
Merge pull request #1557 from emersion/inert-offers
...
data-device: make old offers inert before sending selection
6 years ago
Drew DeVault
7aa445779c
Merge pull request #1556 from emersion/unmap
...
xwayland, data-device: fix surface state on unmap
6 years ago
Drew DeVault
93c8b91b05
Merge pull request #1558 from emersion/fix-hide-cursor-mgpu
...
backend/drm: fix NULL dereference when unsetting cursor
6 years ago
emersion
2a738803b2
backend/drm: fix NULL dereference when unsetting cursor
...
This segfault happens on multi-GPU systems.
Fixes https://github.com/swaywm/sway/issues/3717
6 years ago
emersion
07e1bedb08
data-device: make old offers inert before sending selection
...
Fixes https://github.com/swaywm/wlroots/issues/1383
6 years ago
emersion
81ed1efe4f
xwayland, data-device: fix surface state on unmap
...
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
6 years ago
Drew DeVault
fd0b625ab9
Merge pull request #1553 from emersion/subsurface-map
...
subsurface: add map/unmap events
6 years ago
emersion
943e918a96
subsurface: add map/unmap events
...
Fixes https://github.com/swaywm/wlroots/issues/1414
6 years ago
Brian Ashworth
3c9f791d0e
wlr_output: do not modeset to current mode
...
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.
6 years ago
Drew DeVault
2d2c79e37c
Merge pull request #1537 from VincentVanlaer/cursor-dmabuf-nouveau
...
Add workaround for hardware cursors on nouveau
6 years ago
Vincent Vanlaer
26a9fa8148
Add workaround for hardware cursors on nouveau
6 years ago
Drew DeVault
9a5d59a839
Revert "drm: do not modeset to current mode"
...
This reverts commit 72c76b128e
.
6 years ago
Drew DeVault
8b203c28f8
Merge pull request #1548 from emersion/error-invalid-transform
...
surface: error out on invalid transform
6 years ago
Ivan Molodetskikh
b59370088e
Update data-control
6 years ago
Uli Schlachter
e7d9cf5815
xwm: Add _NET_CLIENT_LIST support
...
Fixes: https://github.com/swaywm/wlroots/issues/1469
Signed-off-by: Uli Schlachter <psychon@znc.in>
6 years ago
emersion
d238cc9f56
surface: error out on invalid transform
6 years ago
Sebastian Krzyszkowiak
69b9e2ae8f
Post protocol error on invalid wl_surface scale
...
Letting the scale be set to 0 causes division by zero errors.
6 years ago