aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-26backend/wayland: handle wl_pointer.axis_stopemersion
2019-01-26pointer: add a frame eventemersion
Frame events group logically connected pointer events. It makes sense to make the backend responsible for sending frame events, since once the events are split (ie. once the frame events are stripped) it's not easy to figure out which events belongs to which frame again. This is also how Weston handles frame events. Fixes https://github.com/swaywm/wlroots/issues/1468
2019-01-25Merge pull request #1498 from emersion/editorconfig-indent-sizeDrew DeVault
Set .editorconfig ident_size
2019-01-25Set .editorconfig ident_sizeemersion
2019-01-24Merge pull request #1427 from emersion/refactor-data-deviceDrew DeVault
Refactor data-device
2019-01-24Merge pull request #1494 from emersion/wayland-protocols-text-inputDrew DeVault
text-input-v3: use protocol from wayland-protocols
2019-01-24Merge pull request #1495 from Hjdskes/safe_set_titleDrew DeVault
backend/x11 & backend/wayland: make set_title NULL-safe
2019-01-24backend/x11 & backend/wayland: make set_title NULL-safeJente Hidskes
Set the default "wlroots - " title when the title argument to the set_title functions is NULL. Otherwise, for at least the Wayland backend, we'd crash because xdg_toplevel_set_title doesn't handle a NULL pointer.
2019-01-24data-device: keep track of wlr_data_offer in wlr_seat listsemersion
2019-01-24data-device: add wlr_data_offer.typeemersion
2019-01-24data-device: make device inert when seat is destroyedemersion
2019-01-24seat: simplify data source destroyemersion
2019-01-24data-device: fix missing listener removalemersion
2019-01-24data-control-v1: use new wlr_data_source APIemersion
2019-01-24data-device: unexport wlr_seat_client_send_selectionemersion
2019-01-24data-device: send offer on get_data_deviceemersion
2019-01-24data-device: remove data_source_send_offeremersion
2019-01-24data-device: make sources inert, rename cancel to destroyemersion
2019-01-24text-input-v3: use protocol from wayland-protocolsemersion
2019-01-24data-device, primary-selection: add request_set_selectionemersion
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes https://github.com/swaywm/wlroots/issues/1138 [1]: https://github.com/swaywm/wlroots/issues/1367#issuecomment-442403454
2019-01-22wlr_xdg_output_v1: move where name & description are sentIan Fan
2019-01-22wlr_xdg_output_v1: only send name/description onceBrian Ashworth
The xdg-output protocol states that name and description should only be sent once per output since they do not change.
2019-01-22backend/wayland: fix resizingBrian Ashworth
Before resizing the egl window, the buffers must be swapped
2019-01-22Merge pull request #1485 from emersion/data-device-serialemersion
primary-selection: add a serial argument
2019-01-22Merge pull request #1488 from Lahvuun/relative-constraints_fixesDrew DeVault
Relative pointer/pointer constraints fixes
2019-01-22Check if client understands wl_pointer::frameIlya Trukhanov
Fixes a crash in SDL2 applications when using locked pointer. SDL2 expects a wl_pointer v1 interface and doesn't provide a handler for the wl_pointer::frame event. This results in a "listener function for opcode 5 of wl_pointer is NULL" abort in wayland-client. Tested on Xonotic v0.8.2 with libSDL2 v2.0.9. Xonotic needs to be ran with "SDL_VIDEODRIVER=wayland xonotic-sdl" for SDL2 to use the wayland backend.
2019-01-21primary-selection: add a serial argumentemersion
The serial needs to be bumped when X11 clients set the selection, otherwise some Wayland clients (e.g. GTK) will overwrite it when they gain focus.
2019-01-21Merge pull request #1484 from emersion/fix-indentDrew DeVault
Fix indentation in various files
2019-01-21Fix indentation in various filesemersion
2019-01-20Merge pull request #1482 from Hjdskes/x11_output_set_titleDrew DeVault
Add wlr_x11_output_set_title
2019-01-20Add wlr_x11_output_set_titleJente Hidskes
2019-01-20wlr/backend/x11.h: add documentationJente Hidskes
Copied from wlr/backend/wayland.h and modified accordingly.
2019-01-20Merge pull request #1476 from emersion/fullscreen-shellDrew DeVault
fullscreen-shell-v1: initial protocol implementation
2019-01-20Merge pull request #1479 from emersion/lost-crtc-stateDrew DeVault
backend/drm: fix state for outputs loosing their CRTC
2019-01-19Merge pull request #1480 from RyanDwyer/noop-headeremersion
Add noop.h to include/wlr/backend/meson.build
2019-01-19Add noop.h to include/wlr/backend/meson.buildRyan Dwyer
2019-01-19backend/drm: fix state for outputs loosing their CRTCemersion
When there aren't enough CRTCs for all outputs, we try to move a CRTC from a disabled output to an enabled one. When this happens, the old output's state wasn't changed, so the compositor thought it was still enabled and rendering. This commit marks the old output as WLR_DRM_CONN_NEEDS_MODESET and sets its current mode to NULL.
2019-01-18Merge pull request #1478 from Lahvuun/relative_pointeremersion
Fix segfault in get_relative_pointer
2019-01-18Fix segfault in get_relative_pointerIlya Trukhanov
Occurs on subsequent calls to relative_pointer_manager_v1_handle_get_relative_pointer() Steps to reproduce: - run rootston - run examples/relative-pointer - switch to relative pointer more than once Note: if done fast enough it may take more than two switches to crash.
2019-01-18Merge pull request #1474 from emersion/meson-yieldDrew DeVault
meson: yield xwayland option
2019-01-18Merge pull request #1475 from emersion/xwayland-shutdownDrew DeVault
rootston: document why Xwayland is disconnected before clients
2019-01-18rootston: document why Xwayland is disconnected before clientsemersion
2019-01-18meson: yield xwayland optionemersion
2019-01-17Merge pull request #1473 from RyanDwyer/noop-backendDrew DeVault
Introduce noop backend
2019-01-17Introduce noop backendRyan Dwyer
The noop backend is similar to headless, but it doesn't contain a renderer. It can be used as a place to stash views for when there's no physical outputs connected.
2019-01-16Merge pull request #1471 from SimulaVR/tinywl-lib-orderemersion
Fix tinywl linking order (#1463)
2019-01-16Fix tinywl linking order (#1463)David Kraeutmann
2019-01-15Merge pull request #1461 from c-edw/feature/WLRToplevelAndPopupemersion
Remove wlr_xdg_surface_send_close.
2019-01-14Use assertions instead of guard.Connor E
2019-01-13Merge pull request #1462 from alexbakker/fix-soft-cursorsDrew DeVault
Fix software cursor rendering for tinywl and some examples