comparison src/video/fbcon/SDL_fbevents.c @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents e27bdcc80744
children
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
967 FB_SavePaletteTo(this, 256, screen_palette); 967 FB_SavePaletteTo(this, 256, screen_palette);
968 ioctl(console_fd, FBIOGET_VSCREENINFO, &screen_vinfo); 968 ioctl(console_fd, FBIOGET_VSCREENINFO, &screen_vinfo);
969 ioctl(keyboard_fd, KDSETMODE, KD_TEXT); 969 ioctl(keyboard_fd, KDSETMODE, KD_TEXT);
970 ioctl(keyboard_fd, VT_UNLOCKSWITCH, 1); 970 ioctl(keyboard_fd, VT_UNLOCKSWITCH, 1);
971 } 971 }
972
972 static void 973 static void
973 switch_vt_done(_THIS) 974 switch_vt_done(_THIS)
974 { 975 {
975 SDL_Surface *screen = SDL_VideoSurface; 976 SDL_Surface *screen = SDL_VideoSurface;
976 977
992 993
993 SDL_PrivateAppActive(1, 994 SDL_PrivateAppActive(1,
994 (SDL_APPACTIVE | SDL_APPINPUTFOCUS | 995 (SDL_APPACTIVE | SDL_APPINPUTFOCUS |
995 SDL_APPMOUSEFOCUS)); 996 SDL_APPMOUSEFOCUS));
996 } 997 }
998
997 static void 999 static void
998 switch_vt(_THIS, unsigned short which) 1000 switch_vt(_THIS, unsigned short which)
999 { 1001 {
1000 struct vt_stat vtstate; 1002 struct vt_stat vtstate;
1001 1003