summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2009-12-05 21:53:52 -0500
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2009-12-05 21:53:52 -0500
commit2199ead34441dd5291ffecb737b9ff4e7ae47f0d (patch)
treeac8af7871a62fcb7ca0ea53382955ef790e17a68 /src/mark.c
parentd5666eda97fbfd704fa9896400fde875e5493998 (diff)
downloadscreen-2199ead34441dd5291ffecb737b9ff4e7ae47f0d.tar.gz
Revamp the display list.
Revamp the display list (in works). The future changes are expected to add full mouse control, and perhaps some other utility functions (e.g. detaching a display, changing permissions perhaps? etc.)
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mark.c b/src/mark.c
index ff8e583..e8763e6 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -502,6 +502,7 @@ MarkRoutine()
if (InitOverlayPage(sizeof(*markdata), &MarkLf, 1))
return;
flayer->l_encoding = fore->w_encoding;
+ flayer->l_mode = 1;
markdata = (struct markdata *)flayer->l_data;
markdata->md_user = D_user; /* XXX: Correct? */
markdata->md_window = fore;
@@ -615,13 +616,13 @@ int *inlenp;
case 'F': /* fall through */
case 't': /* fall through */
case 'T': /* fall through */
- /*
+ /*
* Set f_cmd to do a search on the next key stroke.
* If we break, rep_cnt will be reset, so we
* continue instead. It might be cleaner to
* store the rep_count in f_cmd and
* break here so later followon code will be
- * hit.
+ * hit.
*/
markdata->f_cmd.flag = 1;
markdata->f_cmd.direction = od;
@@ -1445,14 +1446,6 @@ int n;
return n;
}
-int
-InMark()
-{
- if (flayer && flayer->l_layfn == &MarkLf)
- return 1;
- return 0;
-}
-
void
MakePaster(pa, buf, len, bufiscopy)
struct paster *pa;