Heghedus Razvan
1d716241af
Replace list_t with wl_list in wlr_output
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
Drew DeVault
aa8a4f12b7
Fix keyboard handling in examples
7 years ago
Drew DeVault
f4387b437f
Merge branch 'master' into rootston
7 years ago
Drew DeVault
61e451ea1b
Move keyboard logic to wlr_{keyboard,seat}
7 years ago
Tony Crisci
cef1f60522
wlr-seat-keyboard: basic events
7 years ago
Tony Crisci
5c845f14ed
handle input device destroy
7 years ago
Tony Crisci
54f87146c3
refactor example config and add ini.c
7 years ago
Tony Crisci
e3d47376dc
add wlr_cursor basic implementation
7 years ago
Dominique Martinet
5885679e33
examples: separate compositor_fini from run
...
compositor_fini destroys the display, but it is an error to destroy it
before e.g. wlr_seat that references it.
This lets us order destroy calls properly, following first-in-last-out
logic.
7 years ago
Tony Crisci
e3edb08126
bring output configuration into shared.h
7 years ago
Tony Crisci
769549c652
Refactor example output config
...
Put all the config parsing into shared.h so it is shared among the examples.
7 years ago
Tony Crisci
e0b409760d
fix output resolution callback
7 years ago
Tony Crisci
d9ebf0615a
add output resolution notify to example shared
7 years ago
nyorain
edbaa7d6ac
Update keyboard modifiers in example compositor
7 years ago
nyorain
ad22b4874d
Fix wlr_seat; add to example compositor
7 years ago
Drew DeVault
4386816889
wlr_backend_init -> wlr_backend_start
...
Also renames create to init. We'll use create for anything that
allocates and init for anything that takes a pointer and initializes it.
7 years ago
Dominique Martinet
de86965174
Use libinput_event_destroy/xkb_*_unref
...
Also sneak in a missing drmModeFreePlaneResources
7 years ago
Dominique Martinet
be3a0ad065
libinput backend: fill in handle_device_removed
...
And fix input_remove_notify accordingly
7 years ago
Dominique Martinet
1c7dd71208
WIP: example/shared.c free
...
Still missing something, the _remove functions are never called
7 years ago
Scott Anderson
2f8b5c4448
More cleanups
7 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
7 years ago
Scott Anderson
4d4da18437
Fixed VT switching
7 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
7 years ago
Scott Anderson
ae4478e17f
Changed ownership of wlr_session to the multi backend.
...
Currently breaks VT switching for examples.
7 years ago
Scott Anderson
ceef12cb5a
Exit cleanly if we cannot open Wayland socket.
7 years ago
Drew DeVault
28736c5787
Move example -> examples
...
And the compositor example into its own directory
8 years ago