Rostislav Pehlivanov
9eddcbc376
Update example and protocol
7 years ago
emersion
21928cbe61
Merge branch 'master' into screencontent
7 years ago
Genki Sky
d1cf9acbd5
cleanup: Use void for zero-parameter functions
...
Signed-off-by: Genki Sky <sky@genki.is>
7 years ago
emersion
8c9d0f15ce
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
...
Fix double-free in the rotation.c example.
7 years ago
emersion
0c1f50168b
examples/output-layout: destroy wl_display
...
Thanks @tobiasblass for pointing this out. See #1017 .
7 years ago
Tobias Blass
a21894a844
Fix double-free in the tablet.c and touch.c examples
...
The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault.
7 years ago
Tobias Blass
75f9feb6de
Fix double-free in the rotation.c example.
...
The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault.
7 years ago
emersion
70d324a0f9
examples/dmabuf-capture: simplify event loop and fix style
7 years ago
emersion
85b6b4b0c8
examples/dmabuf-capture: make building this example optional
7 years ago
emersion
2198fd5eed
examples/dmabuf-capture: fix indentation
7 years ago
Rostislav Pehlivanov
f204a9127c
Command line parsing
7 years ago
Rostislav Pehlivanov
b9b397ef80
Add a demo client for dmabuf export
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
Tony Crisci
a078e50ec0
rename sample state to "state"
7 years ago
Tony Crisci
e9fab2cc70
pointer example: use xcursor manager
7 years ago
Tony Crisci
aedd3c6d46
make pointer show up in pointer example
7 years ago
Timidger
9a1d0e42d2
Fixed emersion's issues
7 years ago
Timidger
7da50d065b
Fixed style issues
7 years ago
Timidger
7f1230fe78
Remvoed unnecessary wayland socket in examples
7 years ago
Timidger
167ca57b18
Fixed up building examples
7 years ago
Timidger
583654405f
Made output layout example standalone
7 years ago
Timidger
8fd25cbc5b
Fixed indentation
7 years ago
Timidger
b3ca73c0ac
Multi-pointer ported over
7 years ago
Timidger
b510c0f6c2
Made rotation example standalone
7 years ago
Timidger
7be5dfecc0
Made tablet standalone
7 years ago
Timidger
c622a0c7fb
Made touch standalone
...
TODO test
7 years ago
Timidger
4c1d74ef91
Made examples/pointer standalone
7 years ago
Timidger
7284709370
simple now works on DRM
7 years ago
Timidger
44b2bf18f0
Can now quit the simple example
7 years ago
Timidger
b98779a674
Got simple working without keyboard input
7 years ago
Timidger
ad6d40c7c6
Moved cat out of support, removed support
7 years ago
emersion
eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
Guido Günther
67a10cc1f6
examples/layer-shell: take an explicit grab on the popup
...
This demonstrates popups can be closed by clicking on the area outside
the popup and parent.
7 years ago
Guido Günther
32e043f996
examples: Allow to close the popup
...
So we can the xdg_popup_destroy path.
7 years ago
Guido Günther
5209c79702
examples: Handle input entering popup in layer-shell
...
Change the cursor when entering the popup and make mouse buttons change
the red component of the square. This makes sure we can handle input
correctly.
7 years ago
Guido Günther
421652a450
examples: Animate popup in layer-shell
7 years ago
Guido Günther
d1e82a8ede
examples: Drop unused variable
7 years ago
Drew DeVault
941f88ce23
Fix popup positioning & double popups
7 years ago
Drew DeVault
0a0627f5d0
Finish forward-porting @acrisci's positioner work
7 years ago
Drew DeVault
2e3d901ac5
Forward-port xdg-shell-v6 positioner improvements
7 years ago
Drew DeVault
d3cdb00208
Add (shitty) support for popups to layer example
7 years ago
Drew DeVault
4575f27932
Update layer shell example -o behavior
7 years ago
Dominique Martinet
555206cf60
Fix gcc string truncation warnings
7 years ago
Drew DeVault
902d859c67
Fix syntax errors
...
Build before you commit, dumbass
7 years ago
Drew DeVault
7bb8512afb
Fix assertions with side-effects
...
Fixes #1725
7 years ago
Drew DeVault
3a8c7f283d
Add input-inhibitor example client
7 years ago
Drew DeVault
a94f4d0edc
Always give keyboard focus to the topmost layer
7 years ago
Drew DeVault
883d8d306c
Identify topmost interactive layer surface
7 years ago
emersion
f63a5d881d
examples: get wlr_renderer from the backend
7 years ago
emersion
33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago