Greg V
a5fe9aa736
Add FreeBSD compatibility
7 years ago
emersion
669a452aef
Fix wlr_output_layout_intersects
7 years ago
Tony Crisci
821cf92498
wl-shell: fix popup grab
7 years ago
Tony Crisci
f7e7f6271d
wl-shell: cleanup
7 years ago
Tony Crisci
1b2742d0b2
bug: emit surface new event later
7 years ago
Tony Crisci
d4c065e59b
wl_shell: map transient surfaces closer to parent
7 years ago
Tony Crisci
22a16a59ca
wl-shell: basic pointer grab
7 years ago
Tony Crisci
cd1204f71f
wl-shell: render popups in the right place
7 years ago
Drew DeVault
fbddc81b59
Merge pull request #254 from versusvoid/fix-frame-callback-double-free
...
Destroy callbacks before callback list reinitialization
7 years ago
Versus Void
d3af2c09c2
Destroy callbacks before callback list reinitialization
7 years ago
Versus Void
a6db47196c
Upload texture on surface commit
7 years ago
Drew DeVault
c39bfe7f84
Merge pull request #206 from emersion/client-cursor
...
Client provided cursors
7 years ago
Drew DeVault
1c3c2ff90a
Merge pull request #250 from acrisci/feature/surface-finder-to-wlr
...
move surface finder functions to wlroots
7 years ago
Tony Crisci
100b39c608
bug: null buffer commit detection
7 years ago
Tony Crisci
654e2ccd6b
move surface finder functions to wlroots
7 years ago
emersion
b1cba36aeb
Call frame_callback_list after rendering the cursor
7 years ago
emersion
8f7962ed44
Do not commit surface on set_cursor, breaks GTK+ apps
7 years ago
emersion
b76e64e7bf
Fix cleanup old cursor surface in wlr_output_set_cursor_surface
7 years ago
emersion
c4c948c5d9
Use attach x,y when computing hotspot, set sx,sy in surface_attach
7 years ago
emersion
008e1d596d
Fix cursor stride
7 years ago
emersion
c7a4346bfc
Hide cursor when surface == NULL
7 years ago
emersion
bceaee6eb7
Stop listening to cursor surface when manually setting cursor data
7 years ago
emersion
cebb202f7d
Set and check cursor surface role
7 years ago
emersion
8a77d1b6a2
Listen to cursor surface commit & destroy events
7 years ago
Tony Crisci
761b35339e
bug: handle commit empty buffer
7 years ago
emersion
17354b630a
Read surface buffer to set output cursor
7 years ago
emersion
9b83caa658
Add wlr_output_set_cursor_surface
7 years ago
emersion
65d57920e5
rootston: handle request_set_cursor
7 years ago
emersion
78d3582b70
Add request_set_cursor event
7 years ago
emersion
7b6d785f52
Rename wlr_surface->signals to events
7 years ago
Tony Crisci
db15ab77b4
use input bounds for pointer events
7 years ago
Drew DeVault
9e1ff2dce9
Merge pull request #140 from emersion/screenshooter
...
Add screenshooter
7 years ago
emersion
0ce3135304
Move read_pixels from output to renderer
7 years ago
Drew DeVault
543601e86c
Merge pull request #183 from acrisci/feature/xdg-popup
...
xdg-popup
7 years ago
Tony Crisci
9721dc80e1
wlr-data-source: cleanup
7 years ago
Tony Crisci
1fd81ebf2d
wlr-data-source: add set_actions stub
7 years ago
Tony Crisci
51de398885
bug: fix clipboard
7 years ago
Tony Crisci
d61621e2fa
wlr-data-device-mgr: cleanup
7 years ago
Tony Crisci
4f848000af
Merge branch 'master' into feature/xdg-popup
7 years ago
emersion
a87f016017
Remove cairo dependency, write raw pixels
7 years ago
Tony Crisci
4680943e74
xdg-seat: keyboard grabs
7 years ago
emersion
b27b6cd69c
Check wl_shm_buffer format
7 years ago
emersion
4374c52135
Free screenshot state
7 years ago
emersion
ecd5263d4d
Flip screenshots
7 years ago
emersion
d4cc82f11a
Call glReadPixels right before swapping buffers
7 years ago
emersion
d0db6a80ab
Add post_frame event to wlr_output, use wlr_drm_plane_make_current in wlr_drm_output_read_pixels
7 years ago
emersion
35f9700251
First attempt to implement screenshooter
7 years ago
emersion
1c8b72e0cd
Add screenshooter skeleton
7 years ago
emersion
2ffa4f3fce
When output has no modes, send one anyway
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
emersion
69aff9b35e
Implement wlr_xdg_toplevel_v6_send_close
7 years ago
Tony Crisci
27ee171d25
xdg-popup: protocol errors and ungrab
7 years ago
Tony Crisci
67ea307753
xdg-shell: cleanup
7 years ago
Tony Crisci
48ae4fc588
rootston: handle grab end
7 years ago
Tony Crisci
4657f10dd2
Merge branch 'master' into feature/xdg-popup
7 years ago
Tony Crisci
d3ebf99b0f
xdg-popup: basic pointer grab
7 years ago
Versus Void
641d08ce7e
Transform hotspot with cursor
...
Fix #188
7 years ago
Tony Crisci
17b134e178
wlr-seat: pointer grab interface
7 years ago
Versus Void
134f708c55
Fix double free
7 years ago
Tony Crisci
30eabf38b8
Merge branch 'master' into feature/xdg-popup
7 years ago
Drew DeVault
836242b0c4
Merge pull request #197 from versusvoid/buffer-reset
...
Reset buffer resource pointer on destroy signal.
7 years ago
Versus Void
606311c755
Reset buffer resource pointer on destroy signal
7 years ago
Tony Crisci
d1cb0edf20
wlr-seat: honor seat version
7 years ago
Drew DeVault
5f3c56de28
Merge pull request #184 from emersion/rootston-keys
...
Keyboard modifiers
7 years ago
emersion
521e893528
Add modifiers signal, remove wlr_keyboard_update_modifiers
7 years ago
emersion
d71344bcdd
Fix modifiers support with backend != wayland
7 years ago
emersion
d3d9aca40c
Add modifiers support in wayland backend, parse modifiers in rootston config
7 years ago
emersion
3a8fdebaaa
Fix modifiers handling, add wlr_keyboard_get_modifiers
7 years ago
emersion
2fccff16eb
Begin modifiers support
7 years ago
Versus Void
2207d616c9
Free xkb structures on wlr_keyboard destroy
7 years ago
Tony Crisci
e003296c23
xdg-popup: render popups in the right place
7 years ago
Tony Crisci
86b66f1d6f
xdg-popup: configure requests
7 years ago
Tony Crisci
97cdcccaf0
xdg-surface: get popup
7 years ago
Tony Crisci
c665f905ff
xdg-positioner
7 years ago
Tony Crisci
aae8bdea30
xdg-shell: protocol destroy
7 years ago
Tony Crisci
28f7256148
xdg-toplevel: fix memory leaks
7 years ago
Tony Crisci
8b7ae61ad4
subsurface handle parent destroy
7 years ago
Tony Crisci
19e30aab9b
subcompositor protocol errors
7 years ago
Tony Crisci
93f79378f7
subsurface stacking requests
7 years ago
Tony Crisci
3a04f5b2db
consistently name surface state variables
7 years ago
Tony Crisci
693e30dff7
refactor surface commit
7 years ago
Tony Crisci
86bc4840a0
subsurface commit and render
7 years ago
Tony Crisci
5cbb4f5ca0
refactor surface commit
7 years ago
Tony Crisci
cb2d05e83b
subsurface sync and position
7 years ago
Tony Crisci
7f39578824
cleanup wlr_surface.[ch]
7 years ago
Tony Crisci
68eeebc647
subsurface implementation stubs
7 years ago
Tony Crisci
78cd62a663
publish subcompositor global
7 years ago
Tony Crisci
a4196fd9c9
cleanup wlr_compositor.c
7 years ago
Tony Crisci
0f56326cb8
fix libinput wlr-keyboard use after free
7 years ago
Drew DeVault
262c3b1638
Remove unnecessary logging
7 years ago
Drew DeVault
c92199a953
Merge pull request #163 from emersion/wl_shell-fixes
...
wl_shell fixes
7 years ago
emersion
8146d60a87
Fix 80 char limit with 4 width tabs
7 years ago
Drew DeVault
220a6e9bf6
Add xwayland activate and fix EGL bug
7 years ago
Drew DeVault
906a816abf
Fix rootston keyboard, add Xwayland
7 years ago
emersion
baed05b55e
Add TODO for pointer grab in set_popup
7 years ago
emersion
643a69f0b2
Call wlr_surface_set_role in wl_shell_get_shell_surface
7 years ago
emersion
55d2462180
Remove ping_timer when destroying wlr_wl_shell_surface
7 years ago
emersion
9d405cffa7
Use enums instead of uint32_t where applicable
7 years ago
emersion
dbdfc46448
Add helper shell_surface_set_state
7 years ago
emersion
3d03ef2d02
role -> state
7 years ago
emersion
27ca8eaced
Fix typo: s/transcient/transient/
7 years ago
emersion
a04462ba8b
wl_shell: listen for wlr_surface destroy signal
7 years ago
emersion
eaa414bbd8
wl_shell: properly set wl_surface->resource
7 years ago
emersion
d41a4a0bae
wl_shell: gluten-free cosmetic variable renaming
7 years ago
emersion
d6c6b7c506
class_ -> class, free more stuff in destroy_shell_surface
7 years ago
emersion
241fec4d87
wl_shell: add wlr_wl_shell_surface_{configure,popup_done}
7 years ago
emersion
14ab56b6c5
wl_shell: implement set_popup request
7 years ago
emersion
663bfe4cd8
wlr_wl_shell: implement all requests except set_popup
7 years ago
emersion
e001e40022
Set view->surface
7 years ago
emersion
acf58e04de
Fix segfault, add wl_shell view
7 years ago
emersion
ed9a43c213
Add first try to add wl_shell to rootston
7 years ago
Drew DeVault
1ddda91b1b
Fix broken keyboard handling
7 years ago
Drew DeVault
e6a6634bc5
Minor tweaks to (broken) keyboard support
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
Drew DeVault
eaf6c0ccf4
Implement pointer motion and buttons
7 years ago
Tony Crisci
84a8f1b42d
add keys array param to seat keyboard enter
7 years ago
Tony Crisci
9cde828c94
bugfix: correct type in keyboard resource destroy
7 years ago
Tony Crisci
3895593998
wlr-seat: keyboard layout
7 years ago
Tony Crisci
30b5d76426
wlr-seat: keyboard modifiers
7 years ago
Tony Crisci
cef1f60522
wlr-seat-keyboard: basic events
7 years ago
Drew DeVault
e5e6dab7fd
Fix use of serial on motion_request
7 years ago
Tony Crisci
e38248f34c
wlr-seat: implement cursor axis events
...
Axis events for the cursor are generated with the scroll wheel.
7 years ago
Tony Crisci
00cc20b0a8
wlr-seat: add guards for no pointer resource
7 years ago
Drew DeVault
d558745633
Handle tablet motion in example compositor
7 years ago
Tony Crisci
7a3edf6e62
use double for cursor coordinates
7 years ago
Tony Crisci
8b74450b39
wlr_seat: pointer events
7 years ago
Tony Crisci
aeaa983631
wlr_seat: formatting cleanup
7 years ago
Tony Crisci
f46befec7c
use wl_list_for_each_safe() to unlink client surfaces
7 years ago
Tony Crisci
94d4b9249c
xdg-shell-v6 misc cleanup
7 years ago
Tony Crisci
5b9373a791
xdg-toplevel-v6 set parent
7 years ago
Tony Crisci
2573c429ee
reset pending geometry on ack configure
7 years ago
Tony Crisci
49a24225a2
toplevel protocol errors
7 years ago
Tony Crisci
94f4f1878d
xdg-surface-v6: implement ping
7 years ago
Tony Crisci
0f865c547a
xdg-toplevel-v6: seat events
7 years ago
Tony Crisci
27161a673f
xdg-shell new surface and ack configure events
7 years ago
Tony Crisci
569b147bba
schedule configure request on toplevel first commit
7 years ago
Tony Crisci
a0bdbc92ba
xdg-shell-toplevel configure requests
7 years ago
Tony Crisci
45a3b761a6
xdg-surface-v6: add events
7 years ago
Tony Crisci
50f4275298
implement xdg-toplevel state properties
7 years ago
Tony Crisci
353629b034
xdg-surface geometry
7 years ago
Tony Crisci
2fd5c7999b
set title and app_id
7 years ago
Tony Crisci
9d2dc8447a
use wlr_surface on shell struct and listen to events
7 years ago
Tony Crisci
b2c71287f2
set toplevel role on wlr_surface
7 years ago
Tony Crisci
c5f8f81e58
xdg_surface: handle wlr_surface destroy
7 years ago
Tony Crisci
4752b84f4e
wlr_xdg_shell_v6.c: fix formatting
7 years ago
Tony Crisci
74e9578889
add surface destroy signal
7 years ago
Markus Ongyerth
935b6d871e
fixes use after free caused by signal lists
...
A structs throughout the code use implementation specific free
functions.
When those functions are not used, they simply call free() on their
data, but this leaves around wl_signals linked into listeners.
When those listeners try to remove themself from the list, they write
into the now free memory.
This commit adds calls to remove the signals from those lists, so the
listeners can safely call wl_list_remove
7 years ago
emersion
7d43d662f5
Fix gamma_size event sent to wrong resource
7 years ago