mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 10:51:55 +00:00
...
This commit is contained in:
parent
2009a20561
commit
3363de8549
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ extern void cocoa_update_menu_bar_title(PyObject*);
|
|||
extern size_t cocoa_get_workspace_ids(void *w, size_t *workspace_ids, size_t array_sz);
|
||||
extern monotonic_t cocoa_cursor_blink_interval(void);
|
||||
|
||||
#define debug(...) if (global_state.debug_rendering) { fprintf(stderr, "[%.3f] ", monotonic_t_to_s_double(monotonic())); fprintf(stderr, __VA_ARGS__); }
|
||||
|
||||
typedef struct mouse_cursor {
|
||||
GLFWcursor *glfw;
|
||||
|
|
@ -1320,6 +1321,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args, PyObject *kw) {
|
|||
glfwShowWindow(glfw_window);
|
||||
#endif
|
||||
w->is_damaged = true;
|
||||
debug("OS Window created\n");
|
||||
return PyLong_FromUnsignedLongLong(w->id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue