mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Default to no backspace/delete swapping.
Add a title "DOS" to the X window. Submitted by: Parag Patel <parag@cgt.com> PR: bin/8486 Note: The pr was closed a long time ago when the original patch was applied, rather than the amended one.
This commit is contained in:
parent
553faec194
commit
93d16f2ad9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52222
@ -68,7 +68,7 @@ static int flags = 0;
|
|||||||
static int mode = -1;
|
static int mode = -1;
|
||||||
#define vmem ((u_short *)0xB8000)
|
#define vmem ((u_short *)0xB8000)
|
||||||
static int blink = 1;
|
static int blink = 1;
|
||||||
int flipdelete = 1; /* Flip meaning of delete and backspace */
|
int flipdelete = 0; /* Flip meaning of delete and backspace */
|
||||||
extern int capture_fd;
|
extern int capture_fd;
|
||||||
static u_short break_code = 0x00;
|
static u_short break_code = 0x00;
|
||||||
static u_short scan_code = 0x00;
|
static u_short scan_code = 0x00;
|
||||||
@ -2137,6 +2137,7 @@ video_init()
|
|||||||
| ButtonReleaseMask | PointerMotionMask );
|
| ButtonReleaseMask | PointerMotionMask );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XStoreName(dpy, win, "DOS");
|
||||||
XMapWindow(dpy, win);
|
XMapWindow(dpy, win);
|
||||||
XFlush(dpy);
|
XFlush(dpy);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user