emersion
257559d890
Remove output instead of terminating display when a wayland backend view closed
7 years ago
emersion
3b4b8953d9
Update output layout when scale or transform changes
7 years ago
emersion
c67a5824b8
Merge branch 'master' into display-destroy
7 years ago
emersion
529675b7b0
Add wlr_output_set_custom_mode
7 years ago
emersion
18eb1eee3f
Listen to display destroy in xwayland, rename wlr_egl_free
7 years ago
emersion
9d43adaafa
Listen to display destroy in backends
7 years ago
emersion
6a69b4419f
Make wlr_output_transform_* functions public, refactoring
7 years ago
Moritz
cef6d75491
Moved os-compatibility and added header
...
* Moved os-compatibility.c to util
* Added header under util
* Removed static since it isn't needed (i think so)
* Adjusted meson.build to include lib_wlr
Improved some codestyle
* Added guard to os-compatibility.h
* Fixed typo in include statment
Adjusted Guard
* Changed guard to _WLR_UTIL_OS_COMPATIBILITY
7 years ago
Scott Anderson
87ea76e037
Remove unneeded linux include
7 years ago
emersion
7d847efe40
Terminate local display on remote X11 server error
7 years ago
emersion
73c48f2f35
Terminate local display on remote Wayland display error
7 years ago
Drew DeVault
66587eb430
Merge remote-tracking branch 'origin/master' into hidpi
7 years ago
emersion
1cee782fec
Fix pointer axis delta in Wayland backend
7 years ago
Drew DeVault
2f6cfe4057
Fix software cursors on scaled outputs
...
There was an issue where it would only work within the boundaries of the
unscaled resolution.
7 years ago
Dominique Martinet
43cd3c7aea
Indentation fix
...
Some space sneaked in. tabtabtab.
7 years ago
emersion
60c018c017
Fix hidden software cursors, fix cursor transformations on DRM backend
7 years ago
emersion
0beae99188
Apply output transformation to pointer events in Wayland backend
7 years ago
emersion
ec22fe7134
Make wlr_output_interface.enable optional
7 years ago
emersion
95566c6bdf
Transform cursor hotspot, fix wayland cursor hotspot
7 years ago
Tony Crisci
875a5b446f
remove time usec
7 years ago
Tony Crisci
a224e74fad
refactor input time_sec to time_msec
7 years ago
emersion
eea532911a
Send output current mode when changed
7 years ago
Drew DeVault
16f35ecbea
Merge branch 'master' into heghe/wl_list
7 years ago
Scott Anderson
822a9f65a4
Add pointer to backend inside wlr_output
7 years ago
Scott Anderson
9b984253e2
Move egl.h to render/egl.h
7 years ago
Heghedus Razvan
d3f0878d71
Replace list_t with wl_list in wlr_wl_backend
...
Now wlr_backend->outputs is a list of wlr_wl_backend_output instead of
wlr_output.
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
emersion
8c5a110d4c
Fix hidden cursor on wayland backend
7 years ago
Drew DeVault
62371a9974
Merge pull request #257 from emersion/fix-client-cursors
...
[WIP] Fix client cursors
7 years ago
emersion
19860c03f7
Better handling of hidden cursors in wayland backend, add TODOs
7 years ago
emersion
92daa790bb
Allow to update the cursor hotspot without its pixels
7 years ago
Greg V
a5fe9aa736
Add FreeBSD compatibility
7 years ago
emersion
9b83caa658
Add wlr_output_set_cursor_surface
7 years ago
Drew DeVault
08ccc7f653
Merge pull request #221 from versusvoid/wayland-xkb_state_update_mask
...
Use xkb_state_update_mask() with Wayland backend
7 years ago
Versus Void
568b270cdf
Use xkb_state_update_mask() with Wayland backend
...
Fix #158
7 years ago
Versus Void
641d08ce7e
Transform hotspot with cursor
...
Fix #188
7 years ago
Scott Anderson
517ba0bc16
Change egl_get_config to always use visual id
7 years ago
Drew DeVault
61e451ea1b
Move keyboard logic to wlr_{keyboard,seat}
7 years ago
Drew DeVault
0699aa62d8
Initial pass on roots_input
7 years ago
Drew DeVault
b6d7c3ed8e
Initialize display, backend; add frame handling
7 years ago
Drew DeVault
9fa822c666
Fix minor typos
7 years ago
Tony Crisci
98f4cdfccb
implement wlr_cursor_map_input_to_output
7 years ago
Dominique Martinet
062d923b0a
wayland backend: wl_event_source_remove on destroy
7 years ago
Dominique Martinet
58efb8f90a
wayland backend: remove explicit scale = 1
...
This is now set correctly in the wlr_output init
7 years ago
Dominique Martinet
e2e149784b
wayland backend: fix xdg-shell for weston
...
- xdg toplevel configure can be called with 0 width/height,
in that case we are free to do as we like (so do nothing)
- need a display roundtrip after everything is setup but before
we start attaching buffers to the surface
7 years ago
Dominique Martinet
3377e5e4f2
wayland backend: fix xdg-shell for gnome
...
Calling wl_surface_commit after setting up the xdg_toplevel is
apparently good enough for them.
Still missing something for weston.
7 years ago
Dominique Martinet
fb05923eaa
wayland backend: Fix shell title/app_id to wlroots
7 years ago
Dominique Martinet
4f3d21c3ff
wayland output: add error handling for xdg shell
...
Note that this does not go on to the next backend, because
attempt_wl_backend does not check if we have any output created.
We cannot test simply because (right now) a run of our examples will go
in this function twice, the first of which will (rightly?) return no
display but needs to return backend creation success.
7 years ago
Dominique Martinet
577d2f6fcd
wayland backend: switch to xdg shell
...
Closes #72 and #96 .
7 years ago
Calvin Lee
901c14c409
Prevent alloc errors from crashing in `list_t`
...
This commit changes the `list_t` api so that alloc errors can be
detected and worked around. Also fixes errors not found in 5cc7342
7 years ago
Drew DeVault
27c13d621d
Merge pull request #88 from 4e554c4c/alloc_crashing
...
Prevent alloc errors from crashing
7 years ago
Drew DeVault
d2e796edb7
Merge pull request #86 from nyorain/master
...
Fix style issues
7 years ago
Calvin Lee
5cc7342606
Prevent alloc errors from crashing
...
Resolves #76
7 years ago
nyorain
d7dcbbc175
Add wayland backend cursor support
7 years ago
nyorain
f998bb8299
Fix style issues
7 years ago
Dominique Martinet
e922e62924
wayland input_device_destroy: add missing braces
7 years ago
Dominique Martinet
4bbf718e7d
impl->destroy cleanup:
...
- remove trivial destroy() function
- make sure we check impl and impl->destroy before calling
- always call free if not implemented
7 years ago
Dominique Martinet
53e7bebd23
Refactor out wlr_pointer_state
7 years ago
Dominique Martinet
0a3246ad97
Refactor out wlr_keyboard_state
7 years ago
Dominique Martinet
e6ad67911b
Refactor out wlr_input_device_state
7 years ago
Drew DeVault
41e735242d
Remove wlr_output_state, update backends
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
f2e2794365
wayland backend: do not watch wayland fd for writable
...
Wayland fd is always writable and will busy-loop.
The dispatch function gets called with 0-mask when we need to flush
display anyway, so this saves CPU at no visible impact.
7 years ago
Drew DeVault
81cd90297d
Refactor out wlr_backend_state from wl/multi
7 years ago
Dominique Martinet
3ea878b76e
wayland backend: free seatName
7 years ago
Dominique Martinet
8427749dd0
wayland backend: emit signal for input/output removal
7 years ago
Drew DeVault
c24351681f
Refactor EGL handling
7 years ago
Drew DeVault
4aaf76cb66
wlr_output_update_matrix during wl backend init
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
Drew DeVault
97f6e9b69a
Remove excessive logging in wayland backend
8 years ago
Drew DeVault
97213cc00e
Add new interfaces to wayland backend
8 years ago
Drew DeVault
168f0955ab
Add wl_output globals for wlr_outputs
8 years ago
nyorain
4ca872c914
Improve wayland backend pointer error logging
8 years ago
nyorain
dbde1f7340
Store wayland backend axis source
8 years ago
nyorain
272030652a
Implement absolute motion events for wayland
8 years ago
nyorain
d26a9ba968
Fix pointer motion coords
8 years ago
nyorain
c1520077b6
Implement wayland backend input events
8 years ago
nyorain
0b8e6cccc8
Add wayland input listener skeletons
8 years ago
Drew DeVault
f4453d104d
Reorganize wlr-common
8 years ago
Drew DeVault
fd91244e83
Update everyone to use new headers
8 years ago
Drew DeVault
c2d0090ad7
Support multiple wl backend outputs
8 years ago
Drew DeVault
b2bf5b23b9
Implement output_transform for wl backend
8 years ago
Drew DeVault
b9d36c8149
Add dynamic output resizing for Wayland backend
...
This allows outputs to:
- Not support modesetting
- Resize themselves
8 years ago
Drew DeVault
c9d5a0b2fb
Clean up Wayland backend GL context and such
8 years ago
nyorain
51f35e7af0
Cleanup some leaks/incorrect destructions
8 years ago
nyorain
500e9184f1
Fix egl workaround; Test with weston
8 years ago
nyorain
50ce35e9da
Implement wayland backend output
8 years ago
nyorain
e22626ef6a
Adapt codestyle
8 years ago
nyorain
792d535225
Rework wayland backend output implementation
8 years ago
nyorain
10526de444
Fix furhter wayland backend issues
8 years ago
nyorain
8fbf1ca3ff
Continue wayland backend update
...
Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
8 years ago
nyorain
904739c405
Start to fix wayland backend
...
Starts to update the wayland backend to the new backend api.
Not yet updated to libinput branch (not yet compiling).
8 years ago
Drew DeVault
1aed987301
Add free functions for allocated resources
8 years ago
Drew DeVault
1e8970b4a9
Flesh out wl_seat and fix some bugs
8 years ago
Drew DeVault
5ca9d612f4
Flesh out wayland backend registry
8 years ago
Drew DeVault
de01e654ce
Flesh out wayland backend somewhat, add example
8 years ago
Drew DeVault
52e6ed54cb
Initial commit
8 years ago