minor fixes
This commit is contained in:
parent
9dadf682d6
commit
61f74b3957
1 changed files with 1 additions and 5 deletions
|
@ -19,16 +19,13 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: KeyUtil.cc,v 1.1 2003/09/06 15:46:00 fluxgen Exp $
|
// $Id: KeyUtil.cc,v 1.2 2003/09/08 19:18:22 fluxgen Exp $
|
||||||
|
|
||||||
#include "KeyUtil.hh"
|
#include "KeyUtil.hh"
|
||||||
#include "App.hh"
|
#include "App.hh"
|
||||||
|
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace FbTk {
|
namespace FbTk {
|
||||||
|
|
||||||
int KeyUtil::s_capslock_mod = 0;
|
int KeyUtil::s_capslock_mod = 0;
|
||||||
|
@ -37,7 +34,6 @@ int KeyUtil::s_scrolllock_mod = 0;
|
||||||
bool KeyUtil::s_init = false;
|
bool KeyUtil::s_init = false;
|
||||||
|
|
||||||
void KeyUtil::init() {
|
void KeyUtil::init() {
|
||||||
cerr<<"init"<<endl;
|
|
||||||
Display *disp = FbTk::App::instance()->display();
|
Display *disp = FbTk::App::instance()->display();
|
||||||
|
|
||||||
XModifierKeymap *modmap = XGetModifierMapping(disp);
|
XModifierKeymap *modmap = XGetModifierMapping(disp);
|
||||||
|
|
Loading…
Reference in a new issue