all repos — fluxbox @ a9e17d409164b8141bc4c4cde5af767ce7ac894e

custom fork of the fluxbox windowmanager

fix broken text selection for FbTk::TextBox

uninitialized variables cause all kind of problems.
Mathias Gumz akira@fluxbox.org
commit

a9e17d409164b8141bc4c4cde5af767ce7ac894e

parent

98313bfb91e45a3f95a74e84ea4cbc7ec7f8a66f

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/FbTk/TextBox.ccsrc/FbTk/TextBox.cc

@@ -67,7 +67,8 @@ m_text(text),

m_gc(0), m_cursor_pos(0), m_start_pos(0), - m_end_pos(0) { + m_end_pos(0), + m_select_pos(-1) { FbTk::EventManager::instance()->add(*this, *this); }