[Commits] [wesnoth/wesnoth] 6e5633: gui2/ttext_: Disable blinking cursor

GitHub noreply at github.com
Fri Oct 14 06:33:52 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6e5633929b37cd8ed9c978c43713dfb6a9278cc0
      https://github.com/wesnoth/wesnoth/commit/6e5633929b37cd8ed9c978c43713dfb6a9278cc0
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2016-10-14 (Fri, 14 Oct 2016)

  Changed paths:
    M data/gui/widget/text_box_default.cfg
    M src/gui/widgets/text.cpp

  Log Message:
  -----------
  gui2/ttext_: Disable blinking cursor

There's an issue with textboxes across separate window instances (e.g.
when firing up the New Folder dialog in the file dialog) each getting a
blinking cursor simultaneously displayed on the screen due to timer
events persisting even when a GUI2 window isn't running. This may cause
repaint issues since the whole textbox may need to be redrawn each time
the timer fires, so it's best to disable it until I figure out a better
way to implement a unique global blinking cursor.





More information about the Commits mailing list