aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-17Merge pull request #1316 from agx/fullscreen-vs-layershellDrew DeVault
rootston: Don't let the wlr_output handle the fullscreen view in case…
2018-10-17rootston: Don't let the wlr_output handle the fullscreen view in case of ↵Guido Günther
layer-shell overlays Otherwise the overlays will no tbe drawn. Closes: #1300
2018-10-17Merge pull request #1317 from sghctoma/freebsd-fixesDrew DeVault
FreeBSD fixes
2018-10-17Add epoll-shim dependency on FreeBSDsghctoma
On FreeBSD, epoll is provided as a 3rd-party library, so it needs to be added as a dependency.
2018-10-17Increase _POSIX_C_SOURCE to 200112Lsghctoma
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
2018-10-15Merge pull request #1313 from colemickens/libdrmScott Anderson
render: fix meson including libdrm
2018-10-15render: fix meson including libdrmCole Mickens
2018-10-15Merge pull request #1312 from ascent12/drm_includeDrew DeVault
Fix libdrm includes
2018-10-15Fix libdrm includesScott Anderson
This removes any assumptions about how the libdrm headers are installed, and uses the pkg-config include directories as we're "supposed to". This only adds a partial dependency, since we don't actually need to link against libdrm.
2018-10-14Merge pull request #1309 from swaywm/fix-headless-libinputemersion
Fix headless backend
2018-10-14Merge pull request #1310 from colemickens/patch-1emersion
Fix include path for (libdrm/)drm_fourcc.h
2018-10-13Fix include path for (libdrm/)drm_fourcc.hCole Mickens
This PR broke a private nixpkgs definition I have for wlroots: https://github.com/swaywm/wlroots/pull/1304 It is fixed by changing `#include <drm_fourcc.h>` to `#include <libdrm/drm_fourcc.h>`, which follows what is already done in the dmabuf example.
2018-10-13Fix headless backendDrew DeVault
It was only working if you ran it underneath an already-working Wayland compositor. Running with the headless backend on the API would break.
2018-10-14Merge pull request #1308 from dcz-purism/fix_disable_text_inputDrew DeVault
text-input: Accept disable requests
2018-10-13text-input: Accept disable requestsDorota Czaplejewicz
The disable signal on text-input objects must not be ignored. It is only sent when the previous state was enabled.
2018-10-13Merge pull request #1304 from nyorain/dmabuf_v1Drew DeVault
Support older wlr_linux_dmabuf_v1 clients
2018-10-13Merge pull request #1305 from Wolf480pl/fix-xwayland-input-hintemersion
xwayland/xwm: make hints->input default to true
2018-10-13xwayland/xwm: make hints->input default to trueWolf480pl
An X11 client can leave the hints->input WM hint unspecified, by not setting the XCB_ICCCM_WM_HINT_INPUT flag in hints->flags. In that case, we should assume a sane default. Make the hint default to true, so that clients which do not specify the hint, like mupdf, still get keyboard focus. This should fix swaywm/sway#2231
2018-10-12Support older wlr_linux_dmabuf_v1 clientsnyorain
If a client uses an older version of the dmabuf protocol, use the `formats` event instead of `modifiers` (since that didn't exist in older versions). With a bit of necessary guessing, support dmabuf importing even when EGL_EXT_image_dma_buf_import_modifiers isn't present instead of failing up front.
2018-10-12Merge pull request #1303 from dcz-purism/fix_surface_goneemersion
text-input: fix releasing destroy handlers
2018-10-12text-input: fix releasing destroy handlersDorota Czaplejewicz
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