aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-19xwm: Remove child->parent pointer when parent destroysRyan Dwyer
2018-10-19Merge pull request #1287 from emersion/source-seat-clientDrew DeVault
data-device: remove wlr_data_source.seat_client
2018-10-19Merge pull request #1314 from nyorain/write_pixels_formatemersion
Remove fmt parameter from wlr_texture_write_pixels
2018-10-18Merge pull request #1319 from emersion/x11-configure-maskDrew DeVault
xwayland: handle configure event mask
2018-10-18xwayland: handle configure event maskemersion
2018-10-17Merge pull request #1318 from dcz-purism/text_input_errorDrew DeVault
text-input: Don't reject enable requests when unfocused
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-17text-input: Don't reject enable requests when unfocusedDorota Czaplejewicz
The prevoius implementation would always raise an error in the following sequence: -> enter -> leave <- enable The text-input type is not equipped to manage the validity of clents' requests, which should be handled in the compositor, as rootston does.
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-16Use enum wl_shm_format for gles2 texture formatsnyorain
Also rephrase the write_pixels comment.
2018-10-15Remove fmt parameter from wlr_texture_write_pixelsnyorain
It's not allowed to change the format of a texture so remove the confusing parameter.
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