Fixed so testDemandAttention compiles

This commit is contained in:
Henrik Kinnunen 2010-03-18 12:08:03 +01:00
parent 18570d83a2
commit 31a458f365

View file

@ -33,7 +33,9 @@
#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 @@ public:
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;