mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-21 21:07:20 +00:00
kvm tool, sdl: Set window caption
Fix empty window caption for the tool. We should also display the guest name but unfortunately the SDL code doesn't know about "struct kvm" so that requires code reorganization. Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
790142ec29
commit
2a77516ba8
@@ -95,6 +95,8 @@ static void *sdl__thread(void *p)
|
||||
|
||||
flags = SDL_HWSURFACE | SDL_ASYNCBLIT | SDL_HWACCEL | SDL_DOUBLEBUF;
|
||||
|
||||
SDL_WM_SetCaption("KVM tool", "KVM tool");
|
||||
|
||||
screen = SDL_SetVideoMode(fb->width, fb->height, fb->depth, flags);
|
||||
if (!screen)
|
||||
die("Unable to set SDL video mode");
|
||||
|
||||
Reference in New Issue
Block a user