home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / VIDEO / WMOPEN.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-02  |  409 b   |  21 lines

  1. /* wmopen.c (emx+gcc) -- Copyright (c) 1987-1993 by Eberhard Mattes */
  2.  
  3. #include <stdlib.h>
  4. #include <sys/winmgr.h>
  5. #include "winmgr2.h"
  6.  
  7. void wm_open (wm_handle wh)
  8. {
  9.   if (wh->used != WM_USED)
  10.     return;
  11.   if (!wh->open)
  12.     {
  13.       wh->open = TRUE;
  14.       wh->display = wh->update_flag;
  15.       _wm_copy1 (wh, NULL);
  16.       _wm_hide1 ();
  17.       _wm_put1 (wh);
  18.       _wm_cursor1 ();
  19.     }
  20. }
  21.