comparison src/video/quartz/SDL_QuartzWM.m @ 273:72acb06d3721

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 22 Jan 2002 21:14:36 +0000
parents d1447a846d80
children f6ffac90895c
comparison
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;