Ilya Trukhanov
c4ce3d0a49
Check if client understands wl_pointer::frame
...
Fixes a crash in SDL2 applications when using locked pointer.
SDL2 expects a wl_pointer v1 interface and doesn't provide a handler for
the wl_pointer::frame event. This results in a "listener function for
opcode 5 of wl_pointer is NULL" abort in wayland-client.
Tested on Xonotic v0.8.2 with libSDL2 v2.0.9. Xonotic needs to be ran
with "SDL_VIDEODRIVER=wayland xonotic-sdl" for SDL2 to use the wayland
backend.
6 years ago
Drew DeVault
b619ab4d34
Merge pull request #1484 from emersion/fix-indent
...
Fix indentation in various files
6 years ago
emersion
a4eb90315e
Fix indentation in various files
6 years ago
Drew DeVault
f3ef1f907c
Merge pull request #1482 from Hjdskes/x11_output_set_title
...
Add wlr_x11_output_set_title
6 years ago
Jente Hidskes
edf0e49195
Add wlr_x11_output_set_title
6 years ago
Jente Hidskes
5b07e20f2a
wlr/backend/x11.h: add documentation
...
Copied from wlr/backend/wayland.h and modified accordingly.
6 years ago
Drew DeVault
d4de2bd708
Merge pull request #1476 from emersion/fullscreen-shell
...
fullscreen-shell-v1: initial protocol implementation
6 years ago
Drew DeVault
0db2a687b7
Merge pull request #1479 from emersion/lost-crtc-state
...
backend/drm: fix state for outputs loosing their CRTC
6 years ago
emersion
f04a725925
Merge pull request #1480 from RyanDwyer/noop-header
...
Add noop.h to include/wlr/backend/meson.build
6 years ago
Ryan Dwyer
53b29e5443
Add noop.h to include/wlr/backend/meson.build
6 years ago
emersion
d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
...
When there aren't enough CRTCs for all outputs, we try to move a CRTC from a
disabled output to an enabled one. When this happens, the old output's state
wasn't changed, so the compositor thought it was still enabled and rendering.
This commit marks the old output as WLR_DRM_CONN_NEEDS_MODESET and sets its
current mode to NULL.
6 years ago
emersion
5dde2e794d
Merge pull request #1478 from Lahvuun/relative_pointer
...
Fix segfault in get_relative_pointer
6 years ago
Ilya Trukhanov
268cc450b6
Fix segfault in get_relative_pointer
...
Occurs on subsequent calls to
relative_pointer_manager_v1_handle_get_relative_pointer()
Steps to reproduce:
- run rootston
- run examples/relative-pointer
- switch to relative pointer more than once
Note: if done fast enough it may take more than two switches to crash.
6 years ago
Drew DeVault
3e21d0bd48
Merge pull request #1474 from emersion/meson-yield
...
meson: yield xwayland option
6 years ago
Drew DeVault
268c7e5cb6
Merge pull request #1475 from emersion/xwayland-shutdown
...
rootston: document why Xwayland is disconnected before clients
6 years ago
emersion
461360aff1
rootston: document why Xwayland is disconnected before clients
6 years ago
emersion
bd5516d4ec
meson: yield xwayland option
6 years ago
Drew DeVault
0e0ba65bc0
Merge pull request #1473 from RyanDwyer/noop-backend
...
Introduce noop backend
6 years ago
Ryan Dwyer
9b4be5a595
Introduce noop backend
...
The noop backend is similar to headless, but it doesn't contain a
renderer. It can be used as a place to stash views for when there's no
physical outputs connected.
6 years ago
emersion
10b1de6e71
Merge pull request #1471 from SimulaVR/tinywl-lib-order
...
Fix tinywl linking order (#1463 )
6 years ago
David Kraeutmann
4b3414e065
Fix tinywl linking order ( #1463 )
6 years ago
emersion
dc9c91b0a4
Merge pull request #1461 from c-edw/feature/WLRToplevelAndPopup
...
Remove wlr_xdg_surface_send_close.
6 years ago
Connor E
b1cdd2b4b3
Use assertions instead of guard.
6 years ago
Drew DeVault
10a2c4edec
Merge pull request #1462 from alexbakker/fix-soft-cursors
...
Fix software cursor rendering for tinywl and some examples
6 years ago
Alexander Bakker
776b6ce395
Fix software cursor rendering for tinywl and some examples
6 years ago
Connor E
e7fff4f560
Remove wlr_xdg_surface_send_close.
6 years ago
emersion
8134d5b1e0
Merge pull request #1459 from swaywm/wl-output-title
...
Add wlr_wl_output_set_title
6 years ago
Drew DeVault
d3d1437bc4
Add wlr_wl_output_set_title
6 years ago
Drew DeVault
9921f9b28d
Remove unused struct from tinywl
6 years ago
emersion
f245caac9e
Merge pull request #1457 from swaywm/xdg-shell
...
Update Wayland backend to xdg-shell stable
6 years ago
Drew DeVault
1840c8c130
Merge pull request #1455 from emersion/codespell
...
Fix a few typos
6 years ago
Drew DeVault
97af2464b7
Update Wayland backend to xdg-shell stable
6 years ago
emersion
0fafab87e3
Fix a few typos
6 years ago
Drew DeVault
fe187fc887
Merge pull request #1454 from jbeich/freebsd
...
Simplify FreeBSD build
6 years ago
Jan Beich
bfd0254485
Update FreeBSD build
...
- Switch to packages
- Drop unused dependencies
6 years ago
Jan Beich
f80d174e8b
Simplify evdev includes on FreeBSD by relying on up-to-date package
...
As evdev-proto is installed by CI some files have been missed:
../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
6 years ago
Drew DeVault
e61ea7706b
Merge pull request #1423 from emersion/data-control
...
Implement data-control-unstable-v1
6 years ago
emersion
e1eceddecf
Merge pull request #1451 from emersion/relative-pointer-send
...
relative-pointer-v1: move pointer iteration in wlroots
6 years ago
emersion
f71cf15aad
relative-pointer-v1: move pointer iteration in wlroots
...
This makes sure we always send events to the right client.
6 years ago
emersion
86f263a0b8
fullscreen-shell-v1: initial protocol implementation
6 years ago
emersion
aebd74243f
Merge pull request #1448 from myfreeweb/fix-retroarch-crash
...
rootston: fix crash with fullscreen surfaces
6 years ago
Greg V
57edfacba4
rootston: fix crash with fullscreen surfaces
...
Fixes fullscreen mode in e.g. RetroArch and ioquake3.
6 years ago
emersion
610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
...
Relative pointers
6 years ago
Drew DeVault
bcf48931db
Merge pull request #1449 from swaywm/tinywl
...
Merge tinywl
6 years ago
Drew DeVault
25f905fdaa
Use pkg-config for tinywl deps
6 years ago
Drew DeVault
33d9d9f175
Annotate the source
6 years ago
Drew DeVault
f0d8b793a8
Update READMEs per tinywl merge
6 years ago
Drew DeVault
fc2ba30cfa
Merge remote-tracking branch 'tinywl/master' into tinywl
6 years ago
Alex Maese
78caed0c99
Only send relative events to the focused client in rootston
6 years ago
Alex Maese
8b97c20d01
Finish addressing @emersion's comments
6 years ago