diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/views/unix/SkOSWindow_Unix.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/views/unix/SkOSWindow_Unix.cpp b/src/views/unix/SkOSWindow_Unix.cpp index 6c973e0186..dbb8ceaeaa 100644 --- a/src/views/unix/SkOSWindow_Unix.cpp +++ b/src/views/unix/SkOSWindow_Unix.cpp @@ -150,7 +150,7 @@ void SkOSWindow::post_linuxevent() { XFlush(fUnixWindow.fDisplay); } -static unsigned getModifierKeys(const XEvent& evt) { +static unsigned getModi(const XEvent& evt) { // unsigned xmod = evt.xkey.state; return 0; // TODO } @@ -177,16 +177,16 @@ void SkOSWindow::loop() { case ButtonPress: if (evt.xbutton.button == Button1) this->handleClick(evt.xbutton.x, evt.xbutton.y, - SkView::Click::kDown_State, getModifierKeys(evt)); + SkView::Click::kDown_State, NULL, getModi(evt)); break; case ButtonRelease: if (evt.xbutton.button == Button1) this->handleClick(evt.xbutton.x, evt.xbutton.y, - SkView::Click::kUp_State, getModifierKeys(evt)); + SkView::Click::kUp_State, NULL, getModi(evt)); break; case MotionNotify: this->handleClick(evt.xmotion.x, evt.xmotion.y, - SkView::Click::kMoved_State, getModifierKeys(evt)); + SkView::Click::kMoved_State, NULL, getModi(evt)); break; case KeyPress: { KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, 0, 0); |