all repos — fluxbox @ 31a458f3657e53b51849111cf5ddc438c7e612a2

custom fork of the fluxbox windowmanager

Fixed so testDemandAttention compiles
Henrik Kinnunen fluxgen@fluxbox.org
commit

31a458f3657e53b51849111cf5ddc438c7e612a2

parent

18570d83a23c0b510d086f2dfa6e3651fcf3430d

1 files changed, 5 insertions(+), 3 deletions(-)

jump to
M src/tests/testDemandAttention.ccsrc/tests/testDemandAttention.cc

@@ -33,7 +33,9 @@ #include <X11/Xutil.h>

#include <X11/keysym.h> #include <string> +#include <string.h> #include <iostream> + using namespace std; class App:public FbTk::App, public FbTk::EventHandler {

@@ -56,9 +58,9 @@ m_net_wm_state_demands_attention =

XInternAtom(m_win.display(), "_NET_WM_STATE_DEMANDS_ATTENTION", False); - FbTk::RefCount<FbTk::Command> cmd(new FbTk::SimpleCommand<App> - (*this, - &App::demandAttention)); + FbTk::RefCount<FbTk::Command<void> > cmd(new FbTk::SimpleCommand<App> + (*this, + &App::demandAttention)); timeval t; t.tv_sec = 5; t.tv_usec = 0;