Mercurial > hg > xemacs-beta
comparison src/frame-msw.c @ 394:7d59cb494b73 r21-2-12
Import from CVS: tag r21-2-12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:11:37 +0200 |
parents | aabb7f5b1c81 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
393:2e030b8965b1 | 394:7d59cb494b73 |
---|---|
309 mswindows_make_frame_visible (struct frame *f) | 309 mswindows_make_frame_visible (struct frame *f) |
310 { | 310 { |
311 if (f->iconified) | 311 if (f->iconified) |
312 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE); | 312 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE); |
313 else | 313 else |
314 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOWNORMAL); | 314 ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOW); |
315 f->visible = 1; | 315 f->visible = 1; |
316 f->iconified = 0; | 316 f->iconified = 0; |
317 } | 317 } |
318 | 318 |
319 static void | 319 static void |
461 | 461 |
462 static void | 462 static void |
463 mswindows_raise_frame (struct frame *f) | 463 mswindows_raise_frame (struct frame *f) |
464 { | 464 { |
465 BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f)); | 465 BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f)); |
466 /* XXX Should we do SetWindowForeground too ? */ | |
467 } | 466 } |
468 | 467 |
469 static void | 468 static void |
470 mswindows_lower_frame (struct frame *f) | 469 mswindows_lower_frame (struct frame *f) |
471 { | 470 { |