diff options
Diffstat (limited to 'curses/ScintillaCurses.cxx')
| -rw-r--r-- | curses/ScintillaCurses.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/curses/ScintillaCurses.cxx b/curses/ScintillaCurses.cxx index 27df0912a..13b6a4117 100644 --- a/curses/ScintillaCurses.cxx +++ b/curses/ScintillaCurses.cxx @@ -1223,13 +1223,14 @@ public: Paint(sur, rcPaint); SetVerticalScrollPos(), SetHorizontalScrollPos(); wnoutrefresh(w); -#if PDCURSES - touchwin(w); // pdcurses sometimes has problems drawing overlapping windows -#endif if (ac.Active()) ac.lb->Select(ac.lb->GetSelection()); // redraw else if (ct.inCallTipMode) CreateCallTipWindow(PRectangle(0, 0, 0, 0)); // redraw +#if PDCURSES + else + touchwin(w); // pdcurses has problems after drawing overlapping windows +#endif if (hasFocus) { // Update cursor position, even if it's not visible, as the container may // have a use for it. |
