Fixed so testDemandAttention compiles
This commit is contained in:
parent
18570d83a2
commit
31a458f365
1 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,9 @@
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <string.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class App:public FbTk::App, public FbTk::EventHandler {
|
class App:public FbTk::App, public FbTk::EventHandler {
|
||||||
|
@ -56,7 +58,7 @@ public:
|
||||||
XInternAtom(m_win.display(),
|
XInternAtom(m_win.display(),
|
||||||
"_NET_WM_STATE_DEMANDS_ATTENTION",
|
"_NET_WM_STATE_DEMANDS_ATTENTION",
|
||||||
False);
|
False);
|
||||||
FbTk::RefCount<FbTk::Command> cmd(new FbTk::SimpleCommand<App>
|
FbTk::RefCount<FbTk::Command<void> > cmd(new FbTk::SimpleCommand<App>
|
||||||
(*this,
|
(*this,
|
||||||
&App::demandAttention));
|
&App::demandAttention));
|
||||||
timeval t;
|
timeval t;
|
||||||
|
|
Loading…
Reference in a new issue