Tony Crisci
f25511ee3d
refactor wlr_output_layout to use wlr_box
7 years ago
Tony Crisci
40bd6bcc43
implement output layout auto configuration
7 years ago
Tony Crisci
368f74e4df
Refactor meson build files
...
Use tabs for indentation and break up function calls over 80 col.
7 years ago
Tony Crisci
d9ab631f5d
bugfix: set cursor coords on warp_unchecked
7 years ago
Tony Crisci
b6031d1065
refactor wlr_output_layout_closest_point
7 years ago
Tony Crisci
9b65d0b3f0
refactor and rename wlr_geometry to wlr_box
7 years ago
Tony Crisci
a51b76083e
rename wlr_cursor_init to wlr_cursor_create
7 years ago
Tony Crisci
1fb8bc9340
wlr_cursor.c: fix formatting
7 years ago
Tony Crisci
3449777a8d
wlr_output_layout.c: fix style
7 years ago
Tony Crisci
4fbe322fa6
fix memory errors
7 years ago
Tony Crisci
ab1a12b174
fix formatting in types/meson.build
7 years ago
Tony Crisci
5c845f14ed
handle input device destroy
7 years ago
Tony Crisci
df0ee7f25f
implement tablet tool devices
7 years ago
Tony Crisci
0dc3aecfd4
refactor device mapping calculation
7 years ago
Tony Crisci
5e06d61e42
implement touch up and touch down
7 years ago
Tony Crisci
ed126b0881
add touch events
7 years ago
Tony Crisci
ac503a47a7
intersect cursor and device regions
7 years ago
Tony Crisci
0a97b68278
implement cursor and device geometry mapping
7 years ago
Tony Crisci
98f4cdfccb
implement wlr_cursor_map_input_to_output
7 years ago
Tony Crisci
13e895d943
implement wlr_cursor_map_to_output
7 years ago
Tony Crisci
a4810203cc
change output layout coords to double type
7 years ago
Tony Crisci
f69a7afd36
assert cursor layout for move and warp functions
7 years ago
Tony Crisci
0cba06dcef
implement wlr_cursor_warp
7 years ago
Tony Crisci
dd68f680e4
handle cursor to output edge cases
7 years ago
Tony Crisci
431e1ddeca
smooth pointer transitioning between outputs
7 years ago
Tony Crisci
9978349903
use safe for_each when freeing cursor devices
7 years ago
Tony Crisci
e3d47376dc
add wlr_cursor basic implementation
7 years ago
Dominique Martinet
3391e5b634
xwayland: fix style issues
7 years ago
Dominique Martinet
ea906ea3e2
wlr surface/shell types: add message on creation
...
Not sure if we really want to keep that, would be helpful to get more
logging levels at some point
7 years ago
Dominique Martinet
3cc5b1acc6
wlr_compositor: add signal for create_surface
7 years ago
Dominique Martinet
ee3c5c7fef
wlr_seat: fix destroy with multiple handles
...
Need to use for_each_safe because wl_resource_destroy's callback will
remove the handle from the list itself
7 years ago
Dominique Martinet
1ca08dc4cb
wlr_compositor: change _init/finish to _create/destroy
7 years ago
Dominique Martinet
4110788159
move wl_compositor into wlroots as wlr_compositor
7 years ago
Dominique Martinet
84c0c87a5d
wlr_surface: change update_size/damage to bool
7 years ago
Dominique Martinet
4da976bfad
wlr_surface: small refactoring
...
- split surface damage and buffer damage
- the pending buffers are always valid, so can be 'fini'shed
- consider opaque buffer and input buffer in commit, just to free
- only update size if scale/transform/buffer changed
7 years ago
Dominique Martinet
03b29eb32c
wlr region/surface: explicitely select interface fields
7 years ago
Dominique Martinet
fc1a851415
wlr_surface: clear/fini buffers when appropriate
7 years ago
Dominique Martinet
f24b3df980
wlr renderer/texture: rename init to create when it does alloc
7 years ago
Drew DeVault
a1551bccc0
Merge pull request #107 from nyorain/wlr_data_device_manager
...
Implement wlr_data_{source,device,device_manager}
7 years ago
nyorain
f2a9098691
Fix wlr_data_device_manager
7 years ago
Dominique Martinet
bb3b9d0156
wlr_surface: use post_event instead of queue
...
This fixes not sending anything back to the client if the only event
it's waiting for is a buffer release, and nothing else is in the pipe.
Workaround for #102 - there probably is a better solution as weston and
wlc do not need to use post_event here.
7 years ago
nyorain
154d2ad941
Fix data_device destruction
7 years ago
nyorain
86314caa5b
Implement wlr_data_{source,device,device_manager}
7 years ago
Tony Crisci
c6631e2140
Fix wild pointer to buffer
...
After the buffer is released from the release event, it should no longer be
accessed.
Fixes a GTK crash.
7 years ago
Drew DeVault
e5fd858394
Merge pull request #101 from nyorain/texture_fix
...
Fix surface buffer uploading
7 years ago
Dominique Martinet
978f935947
output: default scale to 1
...
This prevents us from telling application our scale is 0, when it has no
reason to be.
7 years ago
Drew DeVault
3138c5ddf0
Clean up wlr_output_layout
7 years ago
Tony Crisci
5a9baf487e
add helper methods for intersection
7 years ago
Tony Crisci
420bd3e422
bugfix: correctly get the output_layout
7 years ago
Tony Crisci
2e9e237f9d
layout-output example: handle empty config
7 years ago