diff options
-rw-r--r-- | util/fbrun/main.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc index 60d2762..9c73aa5 100644 --- a/util/fbrun/main.cc +++ b/util/fbrun/main.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: main.cc,v 1.6 2002/11/26 17:04:23 fluxgen Exp $ | 22 | // $Id: main.cc,v 1.7 2002/11/27 21:54:11 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbRun.hh" | 24 | #include "FbRun.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -156,13 +156,7 @@ int main(int argc, char **argv) { | |||
156 | if (set_pos) | 156 | if (set_pos) |
157 | fbrun.move(x, y); | 157 | fbrun.move(x, y); |
158 | 158 | ||
159 | XEvent ev; | 159 | application.eventLoop(); |
160 | |||
161 | // main loop | ||
162 | while (!fbrun.end()) { | ||
163 | XNextEvent(disp, &ev); | ||
164 | fbrun.handleEvent(&ev); | ||
165 | } | ||
166 | 160 | ||
167 | } catch (string errstr) { | 161 | } catch (string errstr) { |
168 | cerr<<"Error: "<<errstr<<endl; | 162 | cerr<<"Error: "<<errstr<<endl; |