diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-27 14:33:25 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-27 14:33:25 +0100 |
commit | cf6e8218bab44447c6916dfd924e41de30beb8cb (patch) | |
tree | 0efa8d0bc234fe119b1b9141c84398ef039f6f83 /fbtools.c | |
parent | 59ca05ee1a59c5298767cf9563ef7f92ec895936 (diff) | |
download | fbida-cf6e8218bab44447c6916dfd924e41de30beb8cb.tar.gz |
more logind console switching
Diffstat (limited to 'fbtools.c')
-rw-r--r-- | fbtools.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |