Mercurial > hg > xemacs-beta
comparison src/frame-msw.c @ 333:4f79e16b1112 r21-0-64
Import from CVS: tag r21-0-64
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:49:50 +0200 |
parents | 03446687b7cc |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
332:bb75ebac9531 | 333:4f79e16b1112 |
---|---|
302 mswindows_make_frame_visible (struct frame *f) | 302 mswindows_make_frame_visible (struct frame *f) |
303 { | 303 { |
304 if (f->iconified) | 304 if (f->iconified) |
305 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE); | 305 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE); |
306 else | 306 else |
307 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOWNORMAL); | 307 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOW); |
308 f->visible = 1; | 308 f->visible = 1; |
309 f->iconified = 0; | 309 f->iconified = 0; |
310 } | 310 } |
311 | 311 |
312 static void | 312 static void |
454 | 454 |
455 static void | 455 static void |
456 mswindows_raise_frame (struct frame *f) | 456 mswindows_raise_frame (struct frame *f) |
457 { | 457 { |
458 BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f)); | 458 BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f)); |
459 /* XXX Should we do SetWindowForeground too ? */ | |
460 } | 459 } |
461 | 460 |
462 static void | 461 static void |
463 mswindows_lower_frame (struct frame *f) | 462 mswindows_lower_frame (struct frame *f) |
464 { | 463 { |