src/video/SDL_video.c
changeset 10027 f7ab0613164a
parent 10026 5f73f513b9f5
child 10056 4f139e059592
equal deleted inserted replaced
10026:5f73f513b9f5 10027:f7ab0613164a
  2224     if (out_opacity) {
  2224     if (out_opacity) {
  2225         *out_opacity = window->opacity;
  2225         *out_opacity = window->opacity;
  2226     }
  2226     }
  2227 
  2227 
  2228     return 0;
  2228     return 0;
       
  2229 }
       
  2230 
       
  2231 int
       
  2232 SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window)
       
  2233 {
       
  2234     CHECK_WINDOW_MAGIC(modal_window, -1);
       
  2235     CHECK_WINDOW_MAGIC(parent_window, -1);
       
  2236 
       
  2237     if (!_this->SetWindowModalFor) {
       
  2238         return SDL_Unsupported();
       
  2239     }
       
  2240     
       
  2241     return _this->SetWindowModalFor(_this, modal_window, parent_window);
  2229 }
  2242 }
  2230 
  2243 
  2231 int 
  2244 int 
  2232 SDL_SetWindowInputFocus(SDL_Window * window)
  2245 SDL_SetWindowInputFocus(SDL_Window * window)
  2233 {
  2246 {