Heghedus Razvan
9e85283f06
Add example for idle protocol
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
Heghedus Razvan
440cf7112d
Include idle protocol in rootston
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
Heghedus Razvan
21cc5e6fef
Add idle protocol
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
Markus Ongyerth
6834067ef5
sends the modifiers on wlr_seat_set_keyboard
...
Without this, a client will lose modifiers for one keyboard, when a key
is pressed on the other.
With this the client will always use the modifiers tate of the keyboard
the key was pressed on.
7 years ago
Drew DeVault
c8b9c0ad0e
Merge pull request #551 from martinetd/meson_include
...
meson: fix include path in generated .pc
7 years ago
Dominique Martinet
85b9368c48
meson: fix include path in generated .pc
...
The generated .pc still contained -I${prefix}/wlroots, this is no longer
needed at all as the prefix is now 'wlr' and all includes are 'wlr/foo'
7 years ago
Tony Crisci
ce3a48c316
Merge pull request #542 from emersion/abstract-data-source
...
Abstract data sources
7 years ago
emersion
c599d8024c
Remove serial validation TODOs
7 years ago
emersion
767df15b02
Merge pull request #548 from PoroCYon/master
...
Fix build without systemd
7 years ago
PoroCYon
7574e27c6a
fix build without systemd
7 years ago
Drew DeVault
b23bd8ea28
Merge pull request #544 from emersion/fix-views-outside-output-layout
...
Fix views outside output layout
7 years ago
Drew DeVault
d438a877fd
Merge pull request #545 from emersion/fix-output-destroy
...
Free fullscreen surface and cursors when destroying output
7 years ago
Drew DeVault
ae3810c2a7
Merge pull request #546 from 4e554c4c/config_logs
...
Allow configurable verbosity
7 years ago
Calvin Lee
5a26ed645a
Allow configurable verbosity
7 years ago
emersion
9ac9ba861f
Free fullscreen surface and cursors when destroying output
7 years ago
emersion
1fe1d64042
Fix views outside output layout
7 years ago
emersion
38ed3b4245
seat: rename selection_source to selection_data_source, remove unused data_device
7 years ago
emersion
720c1154dc
Fix use-after-free when destroying an offer
7 years ago
emersion
b20aed66d6
Abstract wlr_primary_selection_source
7 years ago
emersion
062809723a
Data source resource now holds a `struct client_data_source *`
7 years ago
emersion
f237b5c7a7
Make wlr_data_source abstract.
...
This removes some fields specific to sources coming from clients.
This adds some drag'n'drop-related callbacks.
7 years ago
emersion
80ed4d4d20
Merge pull request #541 from martinetd/xwm_fixes
...
Fix xwayland restart... and add wlr_seat destroy listener.
7 years ago
Dominique Martinet
6ed1884c84
xwm_get_render_format: fix typo in error message
7 years ago
Dominique Martinet
ec952931a1
wlr_xwayland: preserve end of struct on restart
...
This is more robust than trying to recopy a few fields.
Note: wlr_xwayland->events.ready now resets after each trigger, so one can
hook on it again and be called when restart is ready
7 years ago
Dominique Martinet
a477e5d302
roots_seat_destroy: also destroy seat in public function
...
Rework the functions a bit so that the handler does the bulk of the work
except for destroying the seat itself, and the main public function
just explicitely calls the handler and destroys the seat
7 years ago
Dominique Martinet
a6fb4b007b
xwm_get_render_format: check NULL return value
7 years ago
Dominique Martinet
41649a1f9a
xwm_selection_finish: set NULL seat for xwayland
...
While they could eventually be split appart, the current approach could lead to
double wl_list_remove() calls on selections which is incorrect
7 years ago
Dominique Martinet
d7cefccaee
wlr_seat_destroy: emit seat itself as data on destroy event
7 years ago
Dominique Martinet
689004ff21
rootston seat: implement part of roots_seat_destroy
...
... and have it listen to seat destroy notifier
7 years ago
Dominique Martinet
e0eafa0429
xwayland: listen to wlr_seat destroy signal
7 years ago
Dominique Martinet
58488ec5ce
wlr_seat: add destroy signal
7 years ago
Dominique Martinet
61b91a5721
xwayland restart: copy seat and events over
...
This is very ugly, there must be a better way to do that (not memset it?)
Meanwhile, this fixes rootston xwayland on restart
7 years ago
Dominique Martinet
bb0d888f25
xwayland selection: further cleanup on Xwayland exit
...
This is necessary if our last primary/clipboard selection was on Xwayland,
and we try to paste to native wayland after Xwayland died
7 years ago
Dominique Martinet
f8a346380c
xwayland xwm_get_render_format: free reply
7 years ago
Dominique Martinet
dad9543c51
Xwayland: remove xwm from selection seat listeners on destroy
7 years ago
Drew DeVault
c23bd2ab7a
Further fixes to header install dir
7 years ago
Drew DeVault
45a21ca232
Install headers to /usr/include/wlr
...
Rather than wlroots. I should have caught this.
7 years ago
Drew DeVault
836b46c297
Merge pull request #536 from Timidger/bugfix/drm-refresh-double-send-mode-info
...
Send mode info on DRM refresh only once
7 years ago
Timidger
6e9cef4ed6
Don't send custom mode info twice on DRM refresh
7 years ago
Timidger
f56ce11aa0
Fixes #535 send mode info on DRM refresh once
...
When DRM refreshed, wlr_output_set_mode is called. It would then call
the DRM set_mode callback which sends the updated matrix and mode info.
However once that call completed it would then immediantly send the
information again. This is handled poorly by xwayland, causing it to
scale up the clients twice.
7 years ago
emersion
0fbf1a0755
Merge pull request #532 from Timidger/bugfix/fix-examples-segfaulting
...
Don't destroy backend in compositor_fini
7 years ago
emersion
0eb6bf66f4
Merge pull request #537 from Timidger/bugfix/remove-destroy-listener-on-multi-destroy
...
Remove display_destroy on multi-backend destroy
7 years ago
Timidger
1478ef3202
Remove display_destroy on multi-backend destroy
7 years ago
Timidger
56505c2635
Don't destroy backend in compositor_fini
...
This is already done after the changes in #504 , and now just causes a
segfault on closing the examples.
7 years ago
Drew DeVault
bb24895a2b
Merge pull request #533 from martinetd/wl_array_add
...
ENOMEM checks: consistently check wl_array_add return
7 years ago
Dominique Martinet
b0e440b5b1
xdg_toplevel send_configure: also post no_memory to resource on ENOMEM
7 years ago
Dominique Martinet
8e24aaa3c6
style: fix sizeof() calls without parentheses
7 years ago
Drew DeVault
04b7701e1b
Merge pull request #534 from emersion/multi-output-fixes
...
Fixes for multiple outputs
7 years ago
Dominique Martinet
da3ef46daf
xdg_toplevel send_configure: abort on ENOMEM instead of sending partial configure
7 years ago
emersion
1e6566e6cd
Fixes for multiple outputs
...
* Fixes output positions in screenshots
* Fixes Wayland backend pointer events when output layout doesn't start at (0, 0)
7 years ago