aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-04xwayland: don't set DISPLAYemersion
Let the compositor set it. This allows for multiple Xwayland instances to run at the same time. Fixes https://github.com/swaywm/wlroots/issues/1442
2019-03-04xwm: fix typos in WM_NORMAL_HINTS handlingIlia Bozhinov
2019-03-03xwm: use min size as base size hint if it is missing and vice versaIlia Bozhinov
This is what ICCCM states that a WM should do.
2019-03-02rootston: fix input events for rotated viewsemersion
2019-03-02rootston: split rendering code into render.cemersion
2019-03-02rootston: fix Xwayland children rendering when fullscreenemersion
2019-03-02rootston: fix rotated views renderingemersion
2019-03-02rootston: refactor renderingemersion
This implements rootston surface iterators to ease rendering, sending frame/presentation events and accumulating damage.
2019-03-02backend/session: add noop sessionemersion
This is the first step towards being able to run via DRM leasing and on render nodes. Test with: export WLR_BACKENDS=drm export WLR_SESSION=noop export WLR_DRM_DEVICES=/dev/dri/renderD128
2019-03-02tinywl: send pointer frame eventsemersion
Fixes https://github.com/swaywm/wlroots/issues/1544
2019-03-01seat: fix remaining wlr_button_state enum renameIan Fan
2019-03-01seat: only store serial if pressing a buttonemersion
The grab serial can be used to start a pointer grab. A button pressed event should be used for this purpose. Thus, we should only save the grab serial if it's the first button pressed event we send. This commit makes it so the serial is not saved if a button is released while another button is still pressed.
2019-03-01seat: use wlr_button_state enum instead of uint32_temersion
2019-03-01meson: enable more compiler warningsemersion
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