Start work on migrating the mouse handlers to C

This commit is contained in:
Kovid Goyal
2017-09-13 19:13:39 +05:30
parent 42329e5d46
commit 745b6222c2
10 changed files with 145 additions and 34 deletions

View File

@@ -11,7 +11,7 @@ from collections import namedtuple, defaultdict
from .fast_data_types import (
GLFW_KEY_LEFT_SHIFT, GLFW_KEY_RIGHT_SHIFT, GLFW_KEY_LEFT_ALT,
GLFW_KEY_RIGHT_ALT, GLFW_KEY_LEFT_CONTROL, GLFW_KEY_RIGHT_CONTROL,
GLFW_KEY_LEFT_SUPER, GLFW_KEY_RIGHT_SUPER)
GLFW_KEY_LEFT_SUPER, GLFW_KEY_RIGHT_SUPER, set_boss as set_c_boss)
appname = 'kitty'
version = (0, 3, 0)
@@ -57,6 +57,7 @@ def get_boss():
def set_boss(m):
get_boss.boss = m
set_c_boss(m)
def wakeup():