aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc2
-rw-r--r--src/Slit.hh1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 5f7cfcf..f72c4ef 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -210,6 +210,8 @@ void Slit::SlitClientsRes::setFromLua(lua::state &l) {
210 SlitClients::operator=(t); 210 SlitClients::operator=(t);
211 211
212 l.pop(); 212 l.pop();
213
214 m_rm.resourceChanged(*this);
213} 215}
214 216
215void Slit::SlitClientsRes::pushToLua(lua::state &l) const { 217void Slit::SlitClientsRes::pushToLua(lua::state &l) const {
diff --git a/src/Slit.hh b/src/Slit.hh
index f12a740..77ce6f5 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -176,6 +176,7 @@ private:
176 static unsigned int s_eventmask; 176 static unsigned int s_eventmask;
177 Strut *m_strut; 177 Strut *m_strut;
178 178
179 // this class is a bit messy. candidate for rethinking
179 class SlitClientsRes: public FbTk::Resource_base, public SlitClients { 180 class SlitClientsRes: public FbTk::Resource_base, public SlitClients {
180 public: 181 public:
181 SlitClientsRes(FbTk::ResourceManager_base &rm, const std::string &name) 182 SlitClientsRes(FbTk::ResourceManager_base &rm, const std::string &name)