Mercurial > hg > xemacs-beta
comparison src/frame-msw.c @ 2872:5bf18ccb05df
[xemacs-hg @ 2005-07-24 17:53:21 by michaels]
Subject: Fix window-config problems on Windows
lisp/ChangeLog:
2005-07-24 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
* window-xemacs.el (really-set-window-configuration):
* window-xemacs.el (current-window-configuration):
* window-xemacs.el (window-configuration-equal):
* window-xemacs.el (window-configuration): Add `frame-top' and
`frame-left' field to windows configurations, and save and restore
them.
src/ChangeLog:
2005-07-24 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
* frame-msw.c (mswindows_set_frame_size): Don't have a frame size
change trigger restoring the frame.
author | michaels |
---|---|
date | Sun, 24 Jul 2005 17:53:27 +0000 |
parents | ecf1ebac70d8 |
children | dd34bc8e9423 |
comparison
equal
deleted
inserted
replaced
2871:e8c263f619d8 | 2872:5bf18ccb05df |
---|---|
351 AdjustWindowRectEx (&rect, | 351 AdjustWindowRectEx (&rect, |
352 qxeGetWindowLong (FRAME_MSWINDOWS_HANDLE (f), GWL_STYLE), | 352 qxeGetWindowLong (FRAME_MSWINDOWS_HANDLE (f), GWL_STYLE), |
353 GetMenu (FRAME_MSWINDOWS_HANDLE (f)) != NULL, | 353 GetMenu (FRAME_MSWINDOWS_HANDLE (f)) != NULL, |
354 qxeGetWindowLong (FRAME_MSWINDOWS_HANDLE (f), GWL_EXSTYLE)); | 354 qxeGetWindowLong (FRAME_MSWINDOWS_HANDLE (f), GWL_EXSTYLE)); |
355 | 355 |
356 if (IsIconic (FRAME_MSWINDOWS_HANDLE (f)) || IsZoomed (FRAME_MSWINDOWS_HANDLE (f))) | 356 if (IsIconic (FRAME_MSWINDOWS_HANDLE (f))) |
357 ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_RESTORE); | 357 ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_RESTORE); |
358 | 358 |
359 SetWindowPos (FRAME_MSWINDOWS_HANDLE (f), NULL, | 359 SetWindowPos (FRAME_MSWINDOWS_HANDLE (f), NULL, |
360 0, 0, rect.right-rect.left, rect.bottom-rect.top, | 360 0, 0, rect.right-rect.left, rect.bottom-rect.top, |
361 SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSENDCHANGING | SWP_NOMOVE); | 361 SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSENDCHANGING | SWP_NOMOVE); |