aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-02-22 21:07:39 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-02-22 21:07:39 (GMT)
commitd11aa42ace928efc3dd1eebc8988b6bbbc005b2b (patch)
tree0574ed4eaa5092386d3cf5440c636ea586baaebe /src/FocusControl.cc
parentb7e84104a695bb3628e482c4be93f6f516e46e7d (diff)
downloadfluxbox-d11aa42ace928efc3dd1eebc8988b6bbbc005b2b.zip
fluxbox-d11aa42ace928efc3dd1eebc8988b6bbbc005b2b.tar.bz2
bugfix: consistent use of 'int' for alpha values (#3187373)
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 341ad0d..9afa605 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -78,7 +78,7 @@ FocusControl::FocusControl(BScreen &screen):
78 m_focused_list(screen), m_creation_order_list(screen), 78 m_focused_list(screen), m_creation_order_list(screen),
79 m_focused_win_list(screen), m_creation_order_win_list(screen), 79 m_focused_win_list(screen), m_creation_order_win_list(screen),
80 m_cycling_list(0), 80 m_cycling_list(0),
81 m_was_iconic(false), 81 m_was_iconic(0),
82 m_cycling_last(0), 82 m_cycling_last(0),
83 m_ignore_mouse_x(-1), m_ignore_mouse_y(-1) { 83 m_ignore_mouse_x(-1), m_ignore_mouse_y(-1) {
84 84