Comment 16 for bug 504368

Revision history for this message
Peter Wu (lekensteyn) wrote :

Scaling can be triggered by:

- Pressing ctrl-alt-{minus,plus} (on certain keyboard layouts)
- a SDL_VIDEORESIZE event

SDL_VIDEORESIZE is always sent on an X ConfigureNotify event when a SDL_VideoSurface is active. (SDL_VideoSurface is NULL if a resize was done in SDL_SetVideoMode).

So it really must be a window manager or something sending this resize event. What WM are you using?

Notes, SDL_VIDEORESIZE (and other events) may be eaten:
- in the very early start-up stage[1] (causing the issue mentioned in comment 13)
- during switches to and from fullscreen
- (some other paths that do not affect QEMU)

 [1]: http://bugzilla.libsdl.org/show_bug.cgi?id=1859