~ubuntu-branches/ubuntu/karmic/libsdl1.2/karmic

« back to all changes in this revision

Viewing changes to src/video/quartz/SDL_QuartzWM.m

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2008-01-05 14:10:45 UTC
  • mto: (2.1.3 lenny)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080105141045-mjdg2rp09mamme4a
Tags: upstream-1.2.13
ImportĀ upstreamĀ versionĀ 1.2.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
 
356
356
    if ( ! [ qz_window isMiniaturized ] ) {
357
357
        [ qz_window miniaturize:nil ];
 
358
        if ( ! [ qz_window isMiniaturized ] ) {
 
359
            SDL_SetError ("window iconification failed");
 
360
            return 0;
 
361
        }
358
362
        return 1;
359
363
    }
360
364
    else {