uterm: video: fbdev: fix setting current-mode on activation
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 15 Oct 2012 12:25:59 +0000 (14:25 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 15 Oct 2012 12:25:59 +0000 (14:25 +0200)
commitacba8f0177ba942887e455a1612df92147304f82
treebb6058d219a25b24bc54082c528667b10b2dc9a2
parentc1256560d16726078ec1b0541bd081fc048e74c0
uterm: video: fbdev: fix setting current-mode on activation

We must not recreate a video-mode if we re-activate an fbdev display after
wake-up. Otherwise, the "current" pointer changes and users might get
confused. We guarantee that the "current" pointer stays the same during
operation as we currently do not support changing display size without
reactiating the display.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_video_fbdev.c