aboutsummaryrefslogtreecommitdiffstats
path: root/fbtools.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-27 14:33:25 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-27 14:33:25 +0100
commitcf6e8218bab44447c6916dfd924e41de30beb8cb (patch)
tree0efa8d0bc234fe119b1b9141c84398ef039f6f83 /fbtools.c
parent59ca05ee1a59c5298767cf9563ef7f92ec895936 (diff)
downloadfbida-cf6e8218bab44447c6916dfd924e41de30beb8cb.tar.gz
more logind console switching
Diffstat (limited to 'fbtools.c')
-rw-r--r--fbtools.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/fbtools.c b/fbtools.c
index 30021fb..3158d2e 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -180,7 +180,11 @@ fb_setmode(char *name)
return -1;
}
-static void fb_restore_display(void)
+static void fb_suspend_display(void)
+{
+}
+
+static void fb_resume_display(void)
{
ioctl(fb,FBIOPAN_DISPLAY,&fb_var);
fb_set_palette();
@@ -310,7 +314,8 @@ gfxstate* fb_init(const char *device, char *mode)
gfx->mem = fb_mem;
gfx->fmt = fmt;
- gfx->restore_display = fb_restore_display;
+ gfx->suspend_display = fb_suspend_display;
+ gfx->resume_display = fb_resume_display;
gfx->cleanup_display = fb_cleanup_display;
fstat(fb, &st);