Commit Graph

188 Commits

Author SHA1 Message Date
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
Marc-André Lureau
b0a1f355a6 Add keycodemap
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-12 15:12:09 +04:00
Marc-André Lureau
73c30fd2d4 More progress with inputs 2021-02-12 01:39:00 +04:00
Marc-André Lureau
d1e0ba0dde gtk: pass the scanout down to ConsoleArea
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2021-02-09 23:29:38 +04:00
Marc-André Lureau
54f299599f gtk: start a custom Console widget 2021-02-09 19:31:34 +04:00
Marc-André Lureau
edaffdb868 Initial commit 2021-02-09 16:26:31 +04:00