… | |
… | |
1497 | case ERASE: |
1497 | case ERASE: |
1498 | screen.cur.col += count; /* don't worry if > ncol */ |
1498 | screen.cur.col += count; /* don't worry if > ncol */ |
1499 | selection_check (1); |
1499 | selection_check (1); |
1500 | screen.cur.col -= count; |
1500 | screen.cur.col -= count; |
1501 | |
1501 | |
1502 | line->l = max (line->l - count, 0); |
|
|
1503 | scr_blank_line (*line, screen.cur.col, count, rstyle); |
1502 | scr_blank_line (*line, screen.cur.col, count, rstyle); |
1504 | break; |
1503 | break; |
1505 | |
1504 | |
1506 | case DELETE: |
1505 | case DELETE: |
1507 | tr = line->r[ncol - 1] & (RS_fgMask | RS_bgMask | RS_baseattrMask); |
1506 | tr = line->r[ncol - 1] & (RS_fgMask | RS_bgMask | RS_baseattrMask); |
… | |
… | |
1899 | XMapWindow (dpy, parent[0]); |
1898 | XMapWindow (dpy, parent[0]); |
1900 | # endif |
1899 | # endif |
1901 | |
1900 | |
1902 | # if ENABLE_FRILLS |
1901 | # if ENABLE_FRILLS |
1903 | if (option (Opt_urgentOnBell)) |
1902 | if (option (Opt_urgentOnBell)) |
1904 | { |
1903 | set_urgency (1); |
1905 | if (XWMHints *h = XGetWMHints(dpy, parent[0])) |
|
|
1906 | { |
|
|
1907 | h->flags |= XUrgencyHint; |
|
|
1908 | XSetWMHints (dpy, parent[0], h); |
|
|
1909 | } |
|
|
1910 | } |
|
|
1911 | # endif |
1904 | # endif |
1912 | |
1905 | |
1913 | if (option (Opt_visualBell)) |
1906 | if (option (Opt_visualBell)) |
1914 | { |
1907 | { |
1915 | rvideo_bell = true; |
1908 | rvideo_bell = true; |