src/video/bwindow/SDL_BWin.h
changeset 7678 286c42d7c5ed
parent 7677 871d43c6968a
equal deleted inserted replaced
7677:871d43c6968a 7678:286c42d7c5ed
   351             /* move it after switch{} so it's always handled
   351             /* move it after switch{} so it's always handled
   352                that way we keep BeOS feautures like:
   352                that way we keep BeOS feautures like:
   353                - CTRL+Q to close window (and other shortcuts)
   353                - CTRL+Q to close window (and other shortcuts)
   354                - PrintScreen to make screenshot into /boot/home
   354                - PrintScreen to make screenshot into /boot/home
   355                - etc.. */
   355                - etc.. */
   356             /*BDirectWindow::DispatchMessage(msg, target); */
   356             /* BDirectWindow::DispatchMessage(msg, target); */
   357             break;
   357             break;
   358         }
   358         }
   359 
   359 
   360         BDirectWindow::DispatchMessage(msg, target);
   360         BDirectWindow::DispatchMessage(msg, target);
   361     }
   361     }
   459         _mouse_focused = focusGained;
   459         _mouse_focused = focusGained;
   460         BMessage msg(BAPP_MOUSE_FOCUS);
   460         BMessage msg(BAPP_MOUSE_FOCUS);
   461         msg.AddBool("focusGained", focusGained);
   461         msg.AddBool("focusGained", focusGained);
   462         _PostWindowEvent(msg);
   462         _PostWindowEvent(msg);
   463 
   463 
   464 /*FIXME: Why were these here?
   464 /* FIXME: Why were these here?
   465  if false: be_app->SetCursor(B_HAND_CURSOR);
   465  if false: be_app->SetCursor(B_HAND_CURSOR);
   466  if true:  SDL_SetCursor(NULL); */
   466  if true:  SDL_SetCursor(NULL); */
   467     }
   467     }
   468 
   468 
   469     void _MouseButtonEvent(int32 buttons) {
   469     void _MouseButtonEvent(int32 buttons) {