Drew DeVault
35b31dcfb7
Merge pull request #1000 from ammen99/custom-renderer-initialization
...
[RFC] backends: implement custom EGL and renderer initialization
7 years ago
Ilia Bozhinov
24cf70ae96
backends: implement custom EGL and renderer initialization
...
Compositors now have more control over how the backend creates its
renderer. Currently all backends create an EGL/GLES2 renderer, so
the necessary attributes for creating the context are passed to a
user-provided callback function. It is responsible for initializing
provided wlr_egl and to return a renderer. On fail, return 0.
Fixes #987
7 years ago
Drew DeVault
a0eb37e2ea
Merge pull request #997 from dcz-purism/master
...
Ignore clicks on un-focuseable things.
7 years ago
Dorota Czaplejewicz
a94c56a828
rootston: Keep focus unchanged when non-focusable element clicked
...
Before this change, a view would lose focus after clicking something that's not keyboard-interactive. This would lead to edge cases with layer-shell windows like input methods, which are pointer-only-interactive, but are not intended to change the state of any focus.
7 years ago
Dorota Czaplejewicz
fa13493ad5
rootston: Disable keyboard focus on inactive views
...
After clicking on something non-interactive, the current view was getting deactivated, but still received keyboard events. roots_seat_set_focus now changes both together in this case.
7 years ago
emersion
0ab37db543
Merge pull request #994 from agreppin/master
...
fix server error on exit: eglMakeCurrent Invalid display
7 years ago
agr
4e89e0fc6c
fix server exit: eglMakeCurrent Invalid display
7 years ago
emersion
41130fe54b
render: bind wl_drm in renderer
7 years ago
Drew DeVault
341af97125
Merge pull request #978 from emersion/wlr-backend-env
...
backend: add WLR_BACKEND env variable
7 years ago
emersion
327aa7f49d
Merge pull request #990 from emersion/fullscreen-clear-alpha
...
output: correctly clear screen when fullscreened
7 years ago
emersion
e849a68e6e
output: correctly clear screen when fullscreened
7 years ago
emersion
8585533a78
Merge pull request #989 from ascent12/unused_arg
...
Remove unused argument
7 years ago
Scott Anderson
1a3921d4d4
Remove unused argument
7 years ago
emersion
9e3dd6b560
backend/wayland: fix segfault when destroying backend before starting it
7 years ago
emersion
75b10cd621
backend: support creating DRM and libinput via WLR_BACKENDS
7 years ago
emersion
b547279625
Merge pull request #986 from ammen99/master
...
gles2: pre-multiply alpha and fix blending function
7 years ago
emersion
007d83c6ee
backend: allow multiple backends in WLR_BACKENDS
7 years ago
emersion
52bd8aa716
backend/multi: disallow multiple renderers at the same time
7 years ago
emersion
a1631dd9ee
backend: add WLR_BACKEND env variable
7 years ago
Ilia Bozhinov
47ffd0e184
gles2: pre-multiply alpha and fix blending function
7 years ago
Drew DeVault
98088e78df
Merge pull request #977 from emersion/split-xdg-shell
...
Split xdg-shell into multiple files
7 years ago
emersion
c74f5b1138
xdg-output: bump output manager version to 2
7 years ago
emersion
ec6e56a314
Merge pull request #966 from emersion/xdg-output-2
...
Add support for version 2 of the xdg-output protocol
7 years ago
emersion
63fd2203fe
Add support for version 2 of the xdg-output protocol
7 years ago
emersion
f1fcc685b6
Merge pull request #983 from Ongy/drm_cursor_transform
...
update drm cursor matrix on set_transform
7 years ago
Markus Ongyerth
6a46fcc6f2
recalculate cursor projection matrix on set_cursor
...
Updates the projection matrix for the cursor plane in the DRM backend,
when the cursor is set, so new cursor are uploaded with the correct
transformation.
7 years ago
emersion
027ead2de7
Merge pull request #982 from RedSoxFan/fix-alpha
...
Fix alpha for src_rgba and src_rgbx
7 years ago
Brian Ashworth
35e83800d4
Fix alpha for src_rgba and src_rgbx
7 years ago
Drew DeVault
5758498831
Merge pull request #981 from emersion/fix-lingering-hw-cursor
...
output: fix lingering hardware cursors
7 years ago
emersion
dbba1311b7
output: fix lingering hardware cursors
7 years ago
Drew DeVault
9e6d9779a0
Merge pull request #979 from emersion/wayland-backend-title-output-name
...
backend/wayland: print output name in window title
7 years ago
emersion
198ad27bd5
backend/wayland: print output name in window title
7 years ago
emersion
3036507463
xdg-shell: split into multiple files
7 years ago
emersion
c7480d5084
xdg-shell-v6: rename shared private functions to prevent conflicts with xdg-shell stable
7 years ago
Drew DeVault
1e5b5d15a6
Merge pull request #973 from emersion/split-xdg-shell-v6
...
xdg-shell-v6: split into separate files
7 years ago
emersion
facc5aa359
xdg-shell-v6: split into separate files
7 years ago
Drew DeVault
383ce3d5b7
Merge pull request #975 from acrisci/fix-pointer-example
...
pointer example fixes
7 years ago
Tony Crisci
a078e50ec0
rename sample state to "state"
7 years ago
Tony Crisci
e9fab2cc70
pointer example: use xcursor manager
7 years ago
Drew DeVault
0ba0aaed7b
Merge pull request #974 from agreppin/master
...
fix check of EGL_WL_bind_wayland_display presence
7 years ago
Tony Crisci
aedd3c6d46
make pointer show up in pointer example
7 years ago
Drew DeVault
658a00602b
Merge pull request #972 from emersion/fix-xdg-shell-popups
...
Fix xdg-shell stable popups
7 years ago
Alain Greppin
b2f8f00ae3
fix check of EGL_WL_bind_wayland_display presence
7 years ago
emersion
cc12d03545
xdg-shell: fix positioner
...
The anchor and gravity bitfields in xdg-shell-unstable-v6 have
been changed to a plain enum whose values cannot be used as a
bitfield in xdg-shell. While it makes input validation easier, it
also makes positioner operations a pain in the ass.
7 years ago
emersion
b28f06eca0
Don't use unsafe casts in wlr_xdg_popup_get_toplevel_coords
7 years ago
emersion
059e5f6690
Merge pull request #971 from emersion/fix-xdg-output-transform
...
xdg-output: fix logical_size
7 years ago
emersion
7a952dfa2d
xdg-output: fix logical_size
...
It should be the size of the output in layout coordinates. Prior to
this commit we were not applying the output transform to the size.
7 years ago
Drew DeVault
50922cfe0f
Merge pull request #970 from emersion/pointer-axis-discrete
...
Add support for discrete axis values and axis source
7 years ago
emersion
db84379242
Send axis source event
7 years ago
emersion
0b58579564
Add support for discrete axis values
7 years ago