emersion
b42fc4f2b1
render: on Wayland, make eglSwapBuffers non-blocking
6 years ago
emersion
3cb4ff3ff1
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.
6 years ago
emersion
f34b7f8800
Merge pull request #1336 from swaywm/freebsd
...
Add FreeBSD build
6 years ago
Drew DeVault
320d5ea234
Add FreeBSD build
6 years ago
Ryan Dwyer
266b3df678
Merge pull request #1335 from emersion/fucking-transparency
...
xwayland: fix typo to enable transparency
6 years ago
emersion
f745befc06
xwayland: fix typo to enable transparency
...
We spent literally hours trying to debug this. Turns out it's a typo.
Kill me.
6 years ago
Drew DeVault
c55d1542fe
Merge pull request #1327 from RyanDwyer/xwm-unset-minmax-hints
...
xwm: Unset min/max size hints if they're not used
6 years ago
Ryan Dwyer
bc52de031e
xwm: Unset min/max size hints if they're not used
6 years ago
Drew DeVault
6c7e0e48b1
Merge pull request #1289 from ixru/fix-cursor-visibility
...
Fix cursor visibility on surface commit
6 years ago
Drew DeVault
e0cf97da69
Merge pull request #1307 from emersion/static-analysis
...
Fix a few bugs found by the static analyzer
6 years ago
emersion
be6210cf82
Update version to 0.1
6 years ago
emersion
9e060be04b
Merge pull request #1320 from emersion/fix-duplicate-cursors
...
output-layout, cursor: fix duplicate cursors
6 years ago
emersion
d88fffa5c4
Merge pull request #1321 from RyanDwyer/xwm-remove-dangling-parent
...
xwm: Remove child->parent pointer when parent destroys
6 years ago
Ryan Dwyer
5c5296c912
xwm: Remove child->parent pointer when parent destroys
6 years ago
emersion
dfdbc1f870
output-layout, cursor: fix duplicate cursors
...
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
6 years ago
Drew DeVault
ac26d23711
Merge pull request #1287 from emersion/source-seat-client
...
data-device: remove wlr_data_source.seat_client
6 years ago
emersion
6730f5ba93
Merge pull request #1314 from nyorain/write_pixels_format
...
Remove fmt parameter from wlr_texture_write_pixels
6 years ago
Drew DeVault
7bb04887a7
Merge pull request #1319 from emersion/x11-configure-mask
...
xwayland: handle configure event mask
6 years ago
emersion
9a2fb6f568
xwayland: handle configure event mask
6 years ago
Drew DeVault
67a2040cad
Merge pull request #1318 from dcz-purism/text_input_error
...
text-input: Don't reject enable requests when unfocused
6 years ago
Drew DeVault
5893b197ba
Merge pull request #1316 from agx/fullscreen-vs-layershell
...
rootston: Don't let the wlr_output handle the fullscreen view in case…
6 years ago
Dorota Czaplejewicz
14c6ee894e
text-input: Don't reject enable requests when unfocused
...
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.
6 years ago
Guido Günther
175ccc2517
rootston: Don't let the wlr_output handle the fullscreen view in case of layer-shell overlays
...
Otherwise the overlays will no tbe drawn.
Closes : #1300
6 years ago
Drew DeVault
affc83ff82
Merge pull request #1317 from sghctoma/freebsd-fixes
...
FreeBSD fixes
6 years ago
sghctoma
1d7cc1b38b
Add epoll-shim dependency on FreeBSD
...
On FreeBSD, epoll is provided as a 3rd-party library, so it needs to be
added as a dependency.
6 years ago
sghctoma
fa587b8ea9
Increase _POSIX_C_SOURCE to 200112L
...
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of
POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
6 years ago
nyorain
cb03a41a3b
Use enum wl_shm_format for gles2 texture formats
...
Also rephrase the write_pixels comment.
6 years ago
nyorain
cd28637187
Remove fmt parameter from wlr_texture_write_pixels
...
It's not allowed to change the format of a texture so remove
the confusing parameter.
6 years ago
Scott Anderson
8beeb88309
Merge pull request #1313 from colemickens/libdrm
...
render: fix meson including libdrm
6 years ago
Cole Mickens
7297348736
render: fix meson including libdrm
6 years ago
Drew DeVault
814fc1364c
Merge pull request #1312 from ascent12/drm_include
...
Fix libdrm includes
6 years ago
Scott Anderson
7ca3bc1d6f
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.
6 years ago
emersion
7daca85bcf
Merge pull request #1309 from swaywm/fix-headless-libinput
...
Fix headless backend
6 years ago
emersion
f3d2f7c3d1
Merge pull request #1310 from colemickens/patch-1
...
Fix include path for (libdrm/)drm_fourcc.h
6 years ago
Cole Mickens
43d0ebfdac
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.
6 years ago
Drew DeVault
63c69cee6e
Fix headless backend
...
It was only working if you ran it underneath an already-working Wayland
compositor. Running with the headless backend on the API would break.
6 years ago
Drew DeVault
31f338bb36
Merge pull request #1308 from dcz-purism/fix_disable_text_input
...
text-input: Accept disable requests
6 years ago
Dorota Czaplejewicz
66a38374ee
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.
6 years ago
Drew DeVault
e4a1560433
Merge pull request #1304 from nyorain/dmabuf_v1
...
Support older wlr_linux_dmabuf_v1 clients
6 years ago
emersion
a9e02a9ea6
tablet-v2: fix memory leak on OOM, fix resource version
6 years ago
emersion
f9eb5df80e
backend: fix use-after-free in wlr_backend_autocreate
...
Found by clang static analyzer.
6 years ago
emersion
cff471ce3e
Merge pull request #1305 from Wolf480pl/fix-xwayland-input-hint
...
xwayland/xwm: make hints->input default to true
6 years ago
Wolf480pl
3512db3ded
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
6 years ago
nyorain
affbfb6a28
Support older wlr_linux_dmabuf_v1 clients
...
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.
6 years ago
emersion
3ceb064f02
Merge pull request #1303 from dcz-purism/fix_surface_gone
...
text-input: fix releasing destroy handlers
6 years ago
Dorota Czaplejewicz
226eedfa2b
text-input: fix releasing destroy handlers
6 years ago
emersion
4897267bd6
input-method-v2: fix include guard name
6 years ago
Drew DeVault
b99da405e7
Assert read return value in examples/input-method
6 years ago
Drew DeVault
4c28745c95
Update README.md
6 years ago
Drew DeVault
66e8908e9a
Merge pull request #1203 from dcz-purism/input
...
Support input method and text input
6 years ago