aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-12input-method-v2: fix include guard nameemersion
2018-10-12Assert read return value in examples/input-methodDrew DeVault
2018-10-12Update README.mdDrew DeVault
2018-10-12Merge pull request #1203 from dcz-purism/inputDrew DeVault
Support input method and text input
2018-10-11Merge pull request #1302 from ascent12/x11_configemersion
Include wlr/config.h in x11.h
2018-10-12Include wlr/config.h in x11.hScott Anderson
This fixes a warning from the linker when using LTO, due to mismatched types.
2018-10-09Merge pull request #1301 from emersion/cleanup-page-flipDrew DeVault
backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
2018-10-09backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanupemersion
If a pageflip is pending before cleanup, it's still pending after. This is used line 1177: drm_connector_cleanup is called and conn->pageflip_pending is checked afterwards. Fixes #1297
2018-10-09Merge pull request #1298 from emersion/output-dangling-idle-frameDrew DeVault
output: remove idle_frame event source when destroying output
2018-10-09Merge pull request #1299 from Emantor/set-drm-versionDrew DeVault
backend/drm: set drmEventContext version to 2
2018-10-09backend/drm: set drmEventContext version to 2Rouven Czerwinski
As per [1] set drmEventContext version to 2, since wlroots does not use the page_flip_handler2. [1]: https://s-opensource.org/2017/04/12/libdrm-event-handling-youre-probably-wrong/
2018-10-09rootston: add support for text input and the basic of input methodDorota Czaplejewicz
The compositor acts as a relay between applications using the text-input protocol and input methods using the input-method protocol. This change implements the basic but useful support for input-method, leaving out grabs as well as popups.
2018-10-09wlroots: add basic support for zwp_input_method_v2Dorota Czaplejewicz
Implemented basic input method functionality. Not included: popups, grabbing.
2018-10-09build: bump wayland-scanner versionDorota Czaplejewicz
wayland-scanner >= 1.15.0 accepts foreign struct references, necessary in protocols like zwp-input-method-v2
2018-10-09wlroots: add support for zwp_text_input_unstable_v3Dorota Czaplejewicz
2018-10-09output: remove idle_frame event source when destroying outputemersion
This prevents the idle event to be activated on a destroyed output. This also makes the backend responsible for free-ing modes, as it is the one allocating them and adding them to the list. Note that the DRM backend (the only one using modes) already frees them.
2018-10-09Merge pull request #1294 from emersion/xcursor-env-configDrew DeVault
rootston: export XCURSOR_SIZE and XCURSOR_THEME
2018-10-08Merge pull request #1280 from emersion/drm-link-statusScott Anderson
backend/drm: add support for the link-status property
2018-10-08rootston: export XCURSOR_SIZE and XCURSOR_THEMEemersion
These can be used by toolkits (currently Qt) to choose a default cursor theme and size. Note that this isn't a perfect solution: - Per-seat configuration isn't possible - It's not possible to set the default image - Live config reload isn't possible But it's easy to implement and simple. To fix these remaining issues a separate protocol would be needed.
2018-10-08Merge pull request #1292 from n3rdopolis/patch-3emersion
meson.build: require logind v237
2018-10-07meson.build: require logind v237n3rdopolis
Commit 7b523884249f904f45b1e9a7eae8152c2ac1248d uses a function added in logind v237
2018-10-07Merge pull request #1286 from emersion/drm-no-crtcDrew DeVault
backend/drm: better handle GPUs without CRTCs
2018-10-07backend/drm: fix zero-length VLAsemersion
2018-10-07backend/drm: properly handle GPUs without CRTCsemersion
2018-10-05Merge pull request #1284 from emersion/schedule-frameScott Anderson
output: don't trigger a frame immediately in schedule_frame
2018-10-05output: fix busy loop when backend doesn't implement schedule_frameemersion
2018-10-05output: don't trigger a frame immediately in schedule_frameemersion
This desynchronizes our rendering loop with the vblank cycle. In case a compositor doesn't swap buffers but schedules a frame, emitting a frame event immediately enters a busy-loop. Instead, ask the backend to send a frame when appropriate. On Wayland we can just register a frame callback on our surface. On DRM we can do a no-op pageflip. Fixes #617 Fixes swaywm/sway#2748
2018-10-05Merge pull request #1283 from swaywm/revert-1282-fix-idle-frameDrew DeVault
Revert "Prevent excessive frame events when compositor doesn't swap buffers"
2018-10-05Revert "Prevent excessive frame events when compositor doesn't swap buffers"Drew DeVault
2018-10-05Merge pull request #1282 from RyanDwyer/fix-idle-frameDrew DeVault
Prevent excessive frame events when compositor doesn't swap buffers
2018-10-05Prevent excessive frame events when compositor doesn't swap buffersRyan Dwyer
When we send an output frame event, we should not assume that the compositor is going to call wlr_output_swap_buffers in response to it. If the compositor does not swap the buffers, the idle event source still exists and is executed every time the Wayland event loop becomes idle, which means we send frame events repeatedly until the buffers are swapped. This moves the removal of the idle event source out of wlr_output_swap_buffers and into wlr_output_send_frame, where it is guaranteed to be removed.
2018-10-04Merge pull request #1272 from emersion/presentation-timeDrew DeVault
Implement presentation-time
2018-10-04output: add presentation refresh predictionemersion
2018-10-04rootston: send presentation eventsemersion
2018-10-04rootston: add output_for_each_surfaceemersion
2018-10-04rootston: add layer_for_each_surfaceemersion
2018-10-04Rename get_present_clock to get_presentation clock, use itemersion
2018-10-04output: fix clock_gettime return value handlingemersion
2018-10-04backend: add get_present_clockemersion
2018-10-04output: document signalsemersion
2018-10-04output: send present event from all backendsemersion
2018-10-04output: add present eventemersion
2018-10-04presentation-time: add protocol implementationemersion
2018-10-04backend/drm: add support for the link-status propertyemersion
2018-10-04Merge pull request #1281 from aereaux/edid-sizesemersion
Update sizes for new EDID database.
2018-10-04Merge pull request #1262 from nyorain/session_fixDrew DeVault
Improve session handling
2018-10-04Update sizes for new EDID database.Aidan Epstein
2018-10-04Merge pull request #1279 from emersion/update-edid-manufacturersDrew DeVault
backend/drm: update EDID manufacturers database
2018-10-04Use sd_bus_get_property_trivial & remove numberingnyorain
2018-10-04backend/drm: update EDID manufacturers databaseemersion