aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 11:00:45 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:52:46 (GMT)
commit8c208459910f1dddcfdeb00567b990eebfc218b8 (patch)
tree47c442f906124306a52e13641d28fc6cd1ac513e /src/FocusControl.hh
parent60cd98604ae0ee62d64e3bc852898f69dae221d4 (diff)
downloadfluxbox_pavel-8c208459910f1dddcfdeb00567b990eebfc218b8.zip
fluxbox_pavel-8c208459910f1dddcfdeb00567b990eebfc218b8.tar.bz2
Simplify FbTk::Resource template class
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r--src/FocusControl.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh
index c265253..19059da 100644
--- a/src/FocusControl.hh
+++ b/src/FocusControl.hh
@@ -158,9 +158,9 @@ private:
158 158
159 BScreen &m_screen; 159 BScreen &m_screen;
160 160
161 FbTk::Resource<FocusModel> m_focus_model; 161 FbTk::Resource<FocusModel, FbTk::EnumTraits<FocusModel> > m_focus_model;
162 FbTk::Resource<TabFocusModel> m_tab_focus_model; 162 FbTk::Resource<TabFocusModel, FbTk::EnumTraits<TabFocusModel> > m_tab_focus_model;
163 FbTk::Resource<bool> m_focus_new; 163 FbTk::BoolResource m_focus_new;
164 164
165 // This list keeps the order of window focusing for this screen 165 // This list keeps the order of window focusing for this screen
166 // Screen global so it works for sticky windows too. 166 // Screen global so it works for sticky windows too.