Skip to content

Commit

Permalink
Merge pull request #74535 from Rindbee/fix-broken-shortcut-key-input
Browse files Browse the repository at this point in the history
Fix broken shortcut key input
  • Loading branch information
akien-mga committed Mar 7, 2023
2 parents 4cdb3e3 + 91e460d commit 013a457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linuxbsd/x11/display_server_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2941,7 +2941,7 @@ BitField<MouseButtonMask> DisplayServerX11::_get_mouse_button_state(MouseButton
}

void DisplayServerX11::_handle_key_event(WindowID p_window, XKeyEvent *p_event, LocalVector<XEvent> &p_events, uint32_t &p_event_index, bool p_echo) {
WindowData wd = windows[p_window];
WindowData &wd = windows[p_window];
// X11 functions don't know what const is
XKeyEvent *xkeyevent = p_event;

Expand Down

0 comments on commit 013a457

Please sign in to comment.