all repos — fluxbox @ 41f40a68db72ae685af0b184bf1d26531ee7e836

custom fork of the fluxbox windowmanager

minor fixes
fluxgen fluxgen
commit

41f40a68db72ae685af0b184bf1d26531ee7e836

parent

6b44b9c17311efe4134eb99a46e03c64dcf6b77c

2 files changed, 8 insertions(+), 9 deletions(-)

jump to
M src/ArrowButton.ccsrc/ArrowButton.cc

@@ -1,5 +1,5 @@

// ArrowButton.cc for Fluxbox Window Manager -// Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net) +// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"),

@@ -19,11 +19,9 @@ // 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: ArrowButton.cc,v 1.1 2002/12/13 20:21:09 fluxgen Exp $ +// $Id: ArrowButton.cc,v 1.2 2003/04/27 01:54:18 fluxgen Exp $ #include "ArrowButton.hh" - -#include "App.hh" ArrowButton::ArrowButton(ArrowButton::Type arrow_type, FbTk::FbWindow &parent,

@@ -87,9 +85,9 @@ break;

} if (gc() != 0) { - Display *disp = FbTk::App::instance()->display(); - XFillPolygon(disp, window().window(), gc(), - pts, 3, Convex, CoordModePrevious); + window().fillPolygon(gc(), + pts, 3, + Convex, CoordModePrevious); } }
M src/ArrowButton.hhsrc/ArrowButton.hh

@@ -1,5 +1,5 @@

// ArrowButton.hh for Fluxbox Window Manager -// Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net) +// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"),

@@ -19,12 +19,13 @@ // 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: ArrowButton.hh,v 1.1 2002/12/13 20:21:12 fluxgen Exp $ +// $Id: ArrowButton.hh,v 1.2 2003/04/27 01:54:18 fluxgen Exp $ #ifndef ARROWBUTTON_HH #define ARROWBUTTON_HH #include "Button.hh" + /// Displays a arrow on a button class ArrowButton: public FbTk::Button { public: