File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
components/pango_windowing/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -431,8 +431,8 @@ void X11Window::ProcessEvents()
431431 {
432432 const int button = ev.xbutton .button -1 ;
433433 MouseSignal (MouseEvent{
434- (float )ev.xbutton .x , (float )ev.xbutton .y ,
435- GetEventFlagsFromXState (ev.xkey .state ),
434+ WindowInputEvent{ (float )ev.xbutton .x , (float )ev.xbutton .y ,
435+ GetEventFlagsFromXState (ev.xkey .state )} ,
436436 button, ev.xbutton .type == ButtonPress
437437 });
438438 break ;
@@ -499,8 +499,8 @@ void X11Window::ProcessEvents()
499499
500500 if (key >=0 ) {
501501 KeyboardSignal (KeyboardEvent{
502- (float )ev.xkey .x , (float )ev.xkey .y ,
503- GetEventFlagsFromXState (ev.xkey .state ),
502+ WindowInputEvent{ (float )ev.xkey .x , (float )ev.xkey .y ,
503+ GetEventFlagsFromXState (ev.xkey .state )} ,
504504 (unsigned char )key, ev.type == KeyPress
505505 });
506506 }
You can’t perform that action at this time.
0 commit comments