Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2008, 4:51:32 PM (16 years ago)
Author:
rgrieder
Message:

completed that SignalHandler thingy: XAutoKeyRepeat is now restored if orxonox and with it OIS crashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/core/SignalHandler.h

    r1238 r1240  
    4444#ifndef __WIN32__
    4545#include <signal.h>
    46 #include <X11/Xlib.h>
    4746
    4847struct SignalRec
     
    8887    std::string fileName;
    8988
    90     // X Display, used to turn on KeyAutoRepeat if OIS crashes
    91                 Display *display_;
    92     bool bXAutoKeyRepeatOn_;
     89    // used to turn on KeyAutoRepeat if OIS crashes
     90    static bool bXAutoKeyRepeatOn_;
    9391};
    9492
Note: See TracChangeset for help on using the changeset viewer.