summaryrefslogtreecommitdiff
path: root/ui/sdl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-04 11:51:31 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 13:10:05 +0100
commit35c9e0a5c2804b94d1a452a0a9a12d7a893b5318 (patch)
treed9a1feb4bdd33e8f2e43411742e992a1c4c51483 /ui/sdl.c
parent87e487a14bd9f3fb4a2b27179377e011bdda7c51 (diff)
downloadqemu-35c9e0a5c2804b94d1a452a0a9a12d7a893b5318.tar.gz
console: add unregister_displaychangelistener
Also change the way the gui_timer is initialized: each time a displaychangelistener is registered or unregistered we'll check whether we need a timer (due to dpy_refresh callback being present) and if so setup a timer, otherwise zap it. This way the gui timer works correctly with displaychangelisteners coming and going. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/sdl.c')
0 files changed, 0 insertions, 0 deletions