X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FSlit.cc;h=19796814a664424d1f28b1d652ecb121200f6163;hb=9cd9d92bb1d66db9329bf5cd6e42e8b0096945e6;hp=7124e00333b69222be9dee9fb9e7e51f24dd3c1f;hpb=66c879bd5c0c9f668096f620007388ef347becd0;p=chaz%2Fopenbox diff --git a/src/Slit.cc b/src/Slit.cc index 7124e003..19796814 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -256,6 +256,13 @@ void Slit::setDirection(int d) { m_direction == Horizontal ? "Horizontal" : "Vertical"); } +void Slit::save() { + setOnTop(m_ontop); + setAutoHide(m_autohide); + setPlacement(m_placement); + setDirection(m_direction); +} + void Slit::load() { std::ostrstream rscreen, rname, rclass; std::string s;