all repos — fluxbox @ 318c6e02c53c7881ad5430b3a509d938b00ef156

custom fork of the fluxbox windowmanager

minor cleaning
fluxgen fluxgen
commit

318c6e02c53c7881ad5430b3a509d938b00ef156

parent

481ab36158af602eb4fd4241b7e9d787223b90d2

1 files changed, 7 insertions(+), 6 deletions(-)

jump to
M src/Slit.hhsrc/Slit.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -/// $Id: Slit.hh,v 1.19 2003/02/18 15:11:08 rathnor Exp $ +/// $Id: Slit.hh,v 1.20 2003/02/20 16:38:17 fluxgen Exp $ #ifndef SLIT_HH #define SLIT_HH

@@ -39,6 +39,7 @@

#include <list> #include <string> #include <memory> + class BScreen; class SlitClient;

@@ -88,8 +89,8 @@ void cycleClientsUp();

/// cycle slit clients down one step void cycleClientsDown(); - BScreen *screen() { return m_screen; } - const BScreen *screen() const { return m_screen; } + BScreen &screen() { return m_screen; } + const BScreen &screen() const { return m_screen; } /** @name eventhandlers */

@@ -118,14 +119,14 @@ bool hidden, do_auto_hide;

Direction m_direction; Placement m_placement; - BScreen *m_screen; + BScreen &m_screen; FbTk::Timer timer; typedef std::list<SlitClient *> SlitClients; SlitClients clientList; FbTk::Menu slitmenu, placement_menu, clientlist_menu; - LayerMenu<Slit> *slit_layermenu; + std::auto_ptr<LayerMenu<Slit> > slit_layermenu; std::string clientListPath; std::string m_filename;

@@ -139,7 +140,7 @@ } frame;

// for KDE Atom kwm1_dockwindow, kwm2_dockwindow; - FbTk::XLayerItem *m_layeritem; + std::auto_ptr<FbTk::XLayerItem> m_layeritem; };