aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-28seat: guard against button count corruptionemersion
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.
2019-02-28Remove glEGLImageTargetTexture2DOESGuido Günther
It's declared via render/glapi.txt.
2019-02-28wlr_xdg_shell: Remove redundant declaration in the same fileGuido Günther
2019-02-28rootston/view: Remove redundant declaration in the same fileGuido Günther
2019-02-28Unbreak build with '-Wstrict-prototypes'Guido Günther
2019-02-27Update version to 0.4.1Drew DeVault
2019-02-26rootston: Make add_{switch,binding}_config staticGuido Günther
2019-02-26clang compile fix #1572athrungithub
clang consider error no enum handled, in BSD and Linux
2019-02-25Bump version to 0.4emersion
2019-02-24data-device: check if there's a source before sending dnd_finishemersion
This could cause a segfault in data_offer_destroy if the offer has version < 3.
2019-02-24Add xcb-errors to FreeBSD buildJan Beich
Test f8428d1063c6 at least somewhere to avoid build regressions.
2019-02-24backend/drm: Unset cursor on cleanupScott Anderson
This will prevent the cursor from persisting on the Linux framebuffer terminal on exit.
2019-02-23Merge pull request #1517 from emersion/refactor-dndDrew DeVault
Refactor drag-and-drop
2019-02-23Merge pull request #1568 from emersion/rootston-refactorDrew DeVault
Refactor rootston views
2019-02-23rootston: make roots_view embedded and remove unionsemersion
2019-02-23rootston: add a view child interfaceemersion
2019-02-23rootston: move part of desktop.c to view.c, use an interface for viewsemersion
2019-02-22rootston: surface_at: check for fullscreen surfaces in between TOP and ↵Sebastian Krzyszkowiak
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).
2019-02-22rootston: don't try to maximize fullscreen surfacesSebastian Krzyszkowiak
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).
2019-02-21Merge pull request #1565 from Emantor/fix/realloc_allocationScott Anderson
backend/drm: fix memory leak in realloc crtcs
2019-02-21backend/drm: fix memory leak in realloc crtcsRouven Czerwinski
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.
2019-02-20data-device: unbreak wl_data_source.cancel during drag-and-dropemersion
2019-02-20data-offer: send WL_DATA_OFFER_ERROR_INVALID_FINISHemersion
2019-02-20rootston: cancel drag on invalid serialemersion
2019-02-20data-device: fix drag cleanup if not startedemersion
2019-02-20data-device: refactor wlr_dragemersion
2019-02-20Merge pull request #1564 from emersion/remove-sock-cloexecDrew DeVault
xwayland: remove remaining SOCK_CLOEXEC
2019-02-20xwayland: remove remaining SOCK_CLOEXECemersion
2019-02-19backend/drm: fix modeset on drm fd resumeBrian Ashworth
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.
2019-02-19Merge pull request #1562 from emersion/remove-sock-cloexecDrew DeVault
xwayland: don't use SOCK_CLOEXEC
2019-02-19xwayland: don't use SOCK_CLOEXECemersion
SOCK_CLOEXEC isn't POSIX.
2019-02-19Merge pull request #1493 from emersion/primary-selection-v1Drew DeVault
primary-selection-v1: copy from gtk-primary-selection
2019-02-19Prevent NULL dereference in tablet_tool handlerMarkus Ongyerth
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
2019-02-18Merge pull request #1557 from emersion/inert-offersDrew DeVault
data-device: make old offers inert before sending selection
2019-02-18Merge pull request #1556 from emersion/unmapDrew DeVault
xwayland, data-device: fix surface state on unmap
2019-02-18Merge pull request #1558 from emersion/fix-hide-cursor-mgpuDrew DeVault
backend/drm: fix NULL dereference when unsetting cursor
2019-02-18backend/drm: fix NULL dereference when unsetting cursoremersion
This segfault happens on multi-GPU systems. Fixes https://github.com/swaywm/sway/issues/3717
2019-02-18data-device: make old offers inert before sending selectionemersion
Fixes https://github.com/swaywm/wlroots/issues/1383
2019-02-18xwayland, data-device: fix surface state on unmapemersion
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
2019-02-17Merge pull request #1553 from emersion/subsurface-mapDrew DeVault
subsurface: add map/unmap events
2019-02-17subsurface: add map/unmap eventsemersion
Fixes https://github.com/swaywm/wlroots/issues/1414
2019-02-17wlr_output: do not modeset to current modeBrian Ashworth
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.
2019-02-15Merge pull request #1537 from VincentVanlaer/cursor-dmabuf-nouveauDrew DeVault
Add workaround for hardware cursors on nouveau
2019-02-15Add workaround for hardware cursors on nouveauVincent Vanlaer
2019-02-15Revert "drm: do not modeset to current mode"Drew DeVault
This reverts commit 72c76b128e562c482868b42b1945ed49cbd44353.
2019-02-15Merge pull request #1548 from emersion/error-invalid-transformDrew DeVault
surface: error out on invalid transform
2019-02-15Update data-controlIvan Molodetskikh
2019-02-15xwm: Add _NET_CLIENT_LIST supportUli Schlachter
Fixes: https://github.com/swaywm/wlroots/issues/1469 Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-15surface: error out on invalid transformemersion
2019-02-15Post protocol error on invalid wl_surface scaleSebastian Krzyszkowiak
Letting the scale be set to 0 causes division by zero errors.