moved input_methods to QEmacsState
qe_register_binding takes ModeDef* and returns status cosmetic changes in QEDisplay API added int dpy_init(QEditScreen *s, QEDisplay *dpy, int w, int h); copies *dpy (or dummy_dpy if NULL) to QEditScreen and calls method simplified dpy_init methods and calls inlined 5 more methods moved dummy_dpy to display.c and simplified simplified to_hex simplified qe_colors array handling
This commit is contained in:
parent
de952df347
commit
28397f424f
14 changed files with 256 additions and 304 deletions
2
video.c
2
video.c
|
|
@ -973,7 +973,7 @@ int video_init(void)
|
|||
qe_register_mode(&video_mode);
|
||||
qe_register_cmd_table(video_commands, &video_mode);
|
||||
/* additional mode specific keys */
|
||||
qe_register_binding('f', "toggle-full-screen", "av");
|
||||
qe_register_binding('f', "toggle-full-screen", &video_mode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue