diff options
author | fluxgen <fluxgen> | 2003-12-04 21:31:02 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-04 21:31:02 (GMT) |
commit | 29beda2d6be3eb6ccf849d7454a804fb966e7ccb (patch) | |
tree | c807397e72080c570094dc2a63707ae51a82935b /src/FbTk/App.cc | |
parent | a8f39f0d7a97dc1a4438b7df3a667895fb23604d (diff) | |
download | fluxbox_pavel-29beda2d6be3eb6ccf849d7454a804fb966e7ccb.zip fluxbox_pavel-29beda2d6be3eb6ccf849d7454a804fb966e7ccb.tar.bz2 |
sync function
Diffstat (limited to 'src/FbTk/App.cc')
-rw-r--r-- | src/FbTk/App.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbTk/App.cc b/src/FbTk/App.cc index 18c6e56..309bc41 100644 --- a/src/FbTk/App.cc +++ b/src/FbTk/App.cc | |||
@@ -55,6 +55,10 @@ App::~App() { | |||
55 | s_app = 0; | 55 | s_app = 0; |
56 | } | 56 | } |
57 | 57 | ||
58 | void App::sync(bool discard) { | ||
59 | XSync(display(), discard); | ||
60 | } | ||
61 | |||
58 | void App::eventLoop() { | 62 | void App::eventLoop() { |
59 | XEvent ev; | 63 | XEvent ev; |
60 | while (!m_done) { | 64 | while (!m_done) { |