Commit Graph

57 Commits

Author SHA1 Message Date
Ferdinand Schober
a7e7941806 reduce visibility of some structs 2024-07-14 14:32:11 +02:00
Ferdinand Schober
8e94a64570 ignore requests with capture / emulation disabled
otherwise the server would hang when trying to enable clients
2024-07-14 12:02:14 +02:00
Ferdinand Schober
a60a1c7095 fix emulation client creation 2024-07-12 18:27:49 +02:00
Ferdinand Schober
aea4d0f3fb fix edge case where cancellation is not possible 2024-07-12 18:07:28 +02:00
Ferdinand Schober
9227bde6bf sync capture + emulation status 2024-07-12 17:44:24 +02:00
Ferdinand Schober
e063f4ffb4 restructure server 2024-07-12 17:09:45 +02:00
Ferdinand Schober
fa57b4ea34 allow cancelling session creation 2024-07-12 12:31:39 +02:00
Ferdinand Schober
b4afbbec45 fix duplicate barriers 2024-07-12 01:36:47 +02:00
Ferdinand Schober
73a57ee892 cleanup 2024-07-12 01:29:03 +02:00
Ferdinand Schober
39d6a3cace clippy 2024-07-12 01:04:44 +02:00
Ferdinand Schober
335a1fc3e2 simplify 2024-07-12 01:01:09 +02:00
Ferdinand Schober
3014e404c3 asdf 2024-07-11 22:43:43 +02:00
Ferdinand Schober
d54e472498 fix emulation notify 2024-07-11 22:20:40 +02:00
Ferdinand Schober
a4094b2ce7 remove termination request 2024-07-11 17:01:56 +02:00
Ferdinand Schober
69a5eec944 cleanup 2024-07-11 16:59:09 +02:00
Ferdinand Schober
4c30f032f4 cleanup 2024-07-11 16:47:36 +02:00
Ferdinand Schober
2d26bd6a0b improve cancellation 2024-07-11 16:34:41 +02:00
Ferdinand Schober
f0c9290579 fix duplicate barriers + use Notify 2024-07-11 15:35:37 +02:00
Ferdinand Schober
d73ced7b16 wire frontend 2024-07-11 15:12:59 +02:00
Ferdinand Schober
252547dfdb solve clippy except tomanyargs 2024-07-11 01:14:35 +02:00
Ferdinand Schober
3f7dae65a2 fmt 2024-07-11 00:51:49 +02:00
Ferdinand Schober
c58f5dbdd5 fix missing Arc import 2024-07-11 00:44:17 +02:00
Ferdinand Schober
8ba178dce0 simplify cancellation of service 2024-07-11 00:42:32 +02:00
Ferdinand Schober
ae3ea2c497 fix windows/mac + rename async_drop to terminate 2024-07-10 22:33:37 +02:00
Ferdinand Schober
9c0a40563e prefer CancellationToken / Notify to channel 2024-07-10 22:03:56 +02:00
Ferdinand Schober
8ba92ede34 its getting cleaner 2024-07-10 20:31:02 +02:00
Ferdinand Schober
110b37e26e improve capture error handling 2024-07-10 09:00:43 +02:00
Ferdinand Schober
6a4dd740c3 code cleanup + purge anyhow in library code (#157) 2024-07-10 00:33:49 +02:00
Ferdinand Schober
ef3ebc59bd adjust error handling 2024-07-05 01:41:11 +02:00
Ferdinand Schober
37a8f729ea remove dispatch workaround 2024-07-05 01:41:11 +02:00
Ferdinand Schober
4db2d37f32 split into input-{event,capture,emulation} 2024-07-02 22:07:37 +02:00
Ferdinand Schober
70a23b9fa7 reduce coupling of emulation and capture backends 2024-07-02 16:23:07 +02:00
Ferdinand Schober
b6b16063a8 Configurable emulation backend (#151) 2024-07-01 20:09:16 +02:00
Ferdinand Schober
3528ef4fae Configurable capture backend (#150)
capture backend can now be configured via the `capture_backend` cli argument / config entry
2024-06-29 00:10:36 +02:00
Ferdinand Schober
152bceaa86 fix dns resolving 2024-05-13 08:12:55 +02:00
Ferdinand Schober
799b45104a enter hook command (#130)
new configuration option `enter_hook` can now be used to spawn a command when a client is entered
2024-05-12 13:01:07 +02:00
Ferdinand Schober
e9738fc024 explicit state synchronisation (#129)
prevents unnecessary state updates and makes synchronization less error prone
2024-05-12 00:49:53 +02:00
Ferdinand Schober
c76d9ef7af implement dns indicator (#119) 2024-05-03 13:00:00 +02:00
Ferdinand Schober
5318f5a02d Separate config state (#118)
* change internal api
* frontend now keeps and more correctly reflects backend state
2024-05-03 11:27:06 +02:00
Ferdinand Schober
77aa96e09a defer creation of input capture / emulation (#117) 2024-04-26 23:59:00 +02:00
Ferdinand Schober
3e96b42067 use slab instead of reinventing the wheel (#112) 2024-04-26 00:10:04 +02:00
Ferdinand Schober
279e582698 Rename FrontendEvent to FrontendRequest (#111)
* rename frontend event and notify
* simplify event names
2024-04-25 22:18:43 +02:00
Ferdinand Schober
633d2c346e windows: impl back and forward mouse buttons 2024-04-12 15:28:05 +02:00
Ferdinand Schober
9ca7e2378c enforce only one client at a position (#102) 2024-04-10 14:16:19 +02:00
Ferdinand Schober
cc7984c066 fix clippy lint 2024-04-08 21:14:07 +02:00
Ferdinand Schober
be8124a190 fix dns resolving 2024-03-22 12:40:05 +01:00
Ferdinand Schober
742b1585d7 rename producer, consumer to emulation and capture (#98)
input emulation / input capture is clearer than event consumer and producer
2024-03-21 20:26:57 +01:00
Ferdinand Schober
9afe7da0dd Libei Input Capture (#94) 2024-03-20 14:03:52 +01:00
Ferdinand Schober
9e56c546cd make release bind configurable (#95)
closes #85
2024-03-18 09:20:28 +01:00
Ferdinand Schober
9a75a7622e fix duplicate creating of wl_pointer / wl_keyboard (#92)
closes #91
2024-03-15 17:00:59 +01:00