Commit Graph

205 Commits

Author SHA1 Message Date
Marc-André Lureau
36c84d517f Add audio playback again
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-07-09 16:13:56 +04:00
Marc-André Lureau
fc78781ec2 Use local gtk4 2021-07-09 11:18:05 +04:00
Marc-André Lureau
cefc08d03e Use zbus upstream again
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-07-08 20:06:03 +04:00
Marc-André Lureau
8d127cab56 Remove dbg leftover 2021-07-05 16:50:35 +04:00
Marc-André Lureau
133f2046b3 Remove unnecessary return satements
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-07-02 17:27:48 +04:00
Marc-André Lureau
9256b21d4a Listen for absolute-changed property
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-07-02 17:27:46 +04:00
Marc-André Lureau
bbb4846380 Update to current git
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-06-25 14:32:36 +04:00
Marc-André Lureau
8ed884fc35 WIP: signal handling
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-04-21 11:41:48 +04:00
Marc-André Lureau
7866b11456 vnc: update to async Console
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-04-19 17:52:01 +04:00
Marc-André Lureau
c77fbad908 listener: make it all async
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-04-17 02:18:19 +04:00
Marc-André Lureau
697fb50c0f rdw: hook 2d drawing
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-04-14 18:28:58 +04:00
Marc-André Lureau
b87f460871 qemu-rdw: start new widget based on rdw
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-04-14 14:51:22 +04:00
Marc-André Lureau
1906db2a3c Remove gtk4 2021-04-13 16:45:42 +04:00
Marc-André Lureau
5906e0d045 gtk4: relative pointer support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-31 19:08:34 +04:00
Marc-André Lureau
609a0732b4 gtk: draw client cursor
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-31 01:03:47 +04:00
Marc-André Lureau
ced718c264 gtk: scale cursor
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-29 14:48:08 +04:00
Marc-André Lureau
740cef6d4b gtk: restore system shortcut on ungrab
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-26 01:51:38 +04:00
Marc-André Lureau
f6bbaf0b2d gtk: some refactoring 2021-03-26 01:51:38 +04:00
Marc-André Lureau
7cda1c29e3 gtk: hide console tabs
It's not put into use yet.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-26 00:44:08 +04:00
Marc-André Lureau
93afe7b2d6 gtk: inhibit keyboard on click
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-25 21:54:26 +04:00
Marc-André Lureau
1cae81e2f3 gtk: remove broken grabs
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-24 18:00:21 +04:00
Marc-André Lureau
33fa975031 Use the new GErrorDomain macro 2021-03-22 17:42:28 +04:00
Marc-André Lureau
9580a40c04 Fix build with gtk4.git 2021-03-22 17:33:46 +04:00
Marc-André Lureau
d3de3efd75 gtk: update to gtk-rs git
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-12 13:11:35 +04:00
Marc-André Lureau
408baa481e gtk: log console events
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-12 01:06:07 +04:00
Marc-André Lureau
be6e05d788 gtk: detect if Audio is availble 2021-03-09 17:14:41 +04:00
Marc-André Lureau
865aec3f31 Patch crates.io to upstream/public URLs
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-09 16:00:01 +04:00
Marc-André Lureau
939e632931 vnc: don't abort on mouse position error
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-09 15:51:05 +04:00
Marc-André Lureau
5b07ebc44a Update keycodemapdb
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-09 15:47:09 +04:00
Marc-André Lureau
083ea92eaf vnc: add ExtendedKey support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-09 15:44:50 +04:00
Marc-André Lureau
16af7aab3b vnc: now handles desktop resize
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-09 14:55:37 +04:00
Marc-André Lureau
ace0afe4d0 vnc: basic server running 2021-03-09 11:31:17 +04:00
Marc-André Lureau
b787a2c0bc Clippy fixes 2021-03-08 01:02:59 +04:00
Marc-André Lureau
124d893395 vnc: now display the framebuffer/scanout 2021-03-08 00:59:46 +04:00
Marc-André Lureau
0f75905cc8 Handle playback volume
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-07 19:31:23 +04:00
Marc-André Lureau
3b7f0c5793 Playback starts working
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-07 14:55:19 +04:00
Marc-André Lureau
262dd60a03 listener: add audio
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-06 12:20:38 +04:00
Marc-André Lureau
903bedad06 Make EventSender more generic, see if it helps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-05 01:15:37 +04:00
Marc-André Lureau
35cc658983 Rename Event to ConsoleEvent
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-05 00:27:24 +04:00
Marc-André Lureau
f1bd2032b0 Add custom DBus address argument handling
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-03-02 17:48:12 +04:00
Marc-André Lureau
e0320ca4ab Handle 2D scanouts 2021-03-02 16:22:22 +04:00
Marc-André Lureau
eeea1ce3d7 Start a VNC server project
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-25 17:43:28 +04:00
Marc-André Lureau
88d87fc6c9 Add missing and generated files
Use 'cargo xtask codegen' to regenerate

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-25 15:57:13 +04:00
Marc-André Lureau
f468e775d8 Add basic SetUIInfo support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-22 01:16:57 +04:00
Marc-André Lureau
25537268d1 gtk: make app non-unique
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-21 23:28:02 +04:00
Marc-André Lureau
64a6569da7 console: render immediately when given an update
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-21 23:28:02 +04:00
Marc-André Lureau
c07a48ad2c gtk: set cursor 2021-02-21 20:02:26 +04:00
Marc-André Lureau
35758dacb0 Wait for rendering after Update
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-20 16:13:24 +04:00
Marc-André Lureau
2a26d33561 gtk: add scroll events
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-20 15:52:18 +04:00
Marc-André Lureau
437b739c0e qemu-gtk4: work in progress 2021-02-20 15:52:18 +04:00