Age | Commit message (Collapse) | Author |
|
render: on Wayland, make eglSwapBuffers non-blocking
|
|
Fix "variable ‘cursor_default’ set but not used"
|
|
|
|
idle: allow zero timeout
|
|
|
|
Prior to this commit, setting up a zero timeout resulted in a timer that never
expires, which isn't particularly useful.
This commit allows setting up timers that expire immediately, which is useful
to immediately enter idle state.
|
|
Add FreeBSD build
|
|
|
|
xwayland: fix typo to enable transparency
|
|
We spent literally hours trying to debug this. Turns out it's a typo.
Kill me.
|
|
xwm: Unset min/max size hints if they're not used
|
|
|
|
Fix cursor visibility on surface commit
|
|
Fix a few bugs found by the static analyzer
|
|
|
|
output-layout, cursor: fix duplicate cursors
|
|
xwm: Remove child->parent pointer when parent destroys
|
|
|
|
wlr_cursor: make sure the output doesn't have a cursor before
creating a new one
wlr_output_layout: don't emit the "add" event when the output is
already in the layout
|
|
data-device: remove wlr_data_source.seat_client
|
|
Remove fmt parameter from wlr_texture_write_pixels
|
|
xwayland: handle configure event mask
|
|
|
|
text-input: Don't reject enable requests when unfocused
|
|
rootston: Don't let the wlr_output handle the fullscreen view in case…
|
|
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.
|
|
layer-shell overlays
Otherwise the overlays will no tbe drawn.
Closes: #1300
|
|
FreeBSD fixes
|
|
On FreeBSD, epoll is provided as a 3rd-party library, so it needs to be
added as a dependency.
|
|
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of
POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
|
|
Also rephrase the write_pixels comment.
|
|
It's not allowed to change the format of a texture so remove
the confusing parameter.
|
|
render: fix meson including libdrm
|
|
|
|
Fix libdrm includes
|
|
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.
|
|
Fix headless backend
|
|
Fix include path for (libdrm/)drm_fourcc.h
|
|
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.
|
|
It was only working if you ran it underneath an already-working Wayland
compositor. Running with the headless backend on the API would break.
|
|
text-input: Accept disable requests
|
|
The disable signal on text-input objects must not be ignored. It is only sent when the previous state was enabled.
|
|
Support older wlr_linux_dmabuf_v1 clients
|
|
|
|
Found by clang static analyzer.
|
|
xwayland/xwm: make hints->input default to true
|
|
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
|
|
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.
|
|
text-input: fix releasing destroy handlers
|
|
|