summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-09-07 20:08:49 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-09-07 20:08:49 (GMT)
commit090c4463f1dfed23fa12655e6ebe549c88ba78b3 (patch)
tree9f9a6a08121be3db763f82d9d681fe14c9b365c8 /generic
parentaed211d47d3712759a3c49aad49210b0935b8fc6 (diff)
downloadtk-090c4463f1dfed23fa12655e6ebe549c88ba78b3.zip
tk-090c4463f1dfed23fa12655e6ebe549c88ba78b3.tar.gz
tk-090c4463f1dfed23fa12655e6ebe549c88ba78b3.tar.bz2
Ooops, one line should have been removed in previous commit. Plus: don't convert tab to spaces on otherwise unchanged lines
Diffstat (limited to 'generic')
-rw-r--r--generic/ttk/ttkEntry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c
index 05d861d..f6a9c27 100644
--- a/generic/ttk/ttkEntry.c
+++ b/generic/ttk/ttkEntry.c
@@ -1245,7 +1245,7 @@ static void EntryDisplay(void *clientData, Drawable d)
*/
if (showCursor) {
Ttk_Box field = Ttk_ClientRegion(entryPtr->core.layout, "field");
- int cursorX = EntryCharPosition(entryPtr, entryPtr->entry.insertPos),
+ int cursorX = EntryCharPosition(entryPtr, entryPtr->entry.insertPos),
cursorY = entryPtr->entry.layoutY,
cursorHeight = entryPtr->entry.layoutHeight,
cursorWidth = 1;
@@ -1268,7 +1268,6 @@ static void EntryDisplay(void *clientData, Drawable d)
gc = EntryGetGC(entryPtr, es.insertColorObj, None);
XFillRectangle(Tk_Display(tkwin), d, gc,
cursorX, cursorY, cursorWidth, cursorHeight);
- XSetClipMask(Tk_Display(tkwin), gc, None);
Tk_FreeGC(Tk_Display(tkwin), gc);
}