all repos — fluxbox @ 447486fd8be3900ceb6ee28bf9c8faf1a7b57a47

custom fork of the fluxbox windowmanager

Button changed to a FbWindow
fluxgen fluxgen
commit

447486fd8be3900ceb6ee28bf9c8faf1a7b57a47

parent

671e2688b6df40c4b8bb476864e5fae2b94f19b5

1 files changed, 2 insertions(+), 2 deletions(-)

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

@@ -20,7 +20,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: IconButton.cc,v 1.3 2003/08/12 01:19:22 fluxgen Exp $ +// $Id: IconButton.cc,v 1.4 2003/08/13 10:03:45 fluxgen Exp $ #include "IconButton.hh"

@@ -45,7 +45,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font,

FluxboxWindow &win): TextButton(parent, font, win.winClient().title()), m_win(win), - m_icon_window(window(), 1, 1, 1, 1, + m_icon_window(*this, 1, 1, 1, 1, ExposureMask | ButtonPressMask | ButtonReleaseMask) { FbTk::RefCount<FbTk::Command> focus(new FbTk::SimpleCommand<FluxboxWindow>(m_win, &FluxboxWindow::raiseAndFocus));