Fixed so testDemandAttention compiles
Henrik Kinnunen fluxgen@fluxbox.org
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
src/tests/testDemandAttention.cc
→
src/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;