src/video/quartz/SDL_QuartzWM.m
changeset 273 72acb06d3721
parent 272 d1447a846d80
child 297 f6ffac90895c
equal deleted inserted replaced
272:d1447a846d80 273:72acb06d3721
   269     else {
   269     else {
   270         SDL_SetError ("qz_window already iconified");
   270         SDL_SetError ("qz_window already iconified");
   271         return 0;
   271         return 0;
   272     }
   272     }
   273 }
   273 }
   274 static int  QZ_IconifyWindow (_THIS) { 
       
   275 
       
   276     if ( ! [ qz_window isMiniaturized ] ) {
       
   277         [ qz_window miniaturize:nil ];
       
   278         return 1;
       
   279     }
       
   280     else {
       
   281         SDL_SetError ("Quartz window already iconified");
       
   282         return 0;
       
   283     }
       
   284 }
       
   285 
   274 
   286 /*
   275 /*
   287 static int  QZ_GetWMInfo  (_THIS, SDL_SysWMinfo *info) { 
   276 static int  QZ_GetWMInfo  (_THIS, SDL_SysWMinfo *info) { 
   288     info->nsWindowPtr = qz_window;
   277     info->nsWindowPtr = qz_window;
   289     return 0; 
   278     return 0;