Commit graph

35 commits

Author SHA1 Message Date
Alexander Gottwald
8e2017cc91 win.h
winfont.c
winmultiwindowshape.c
winmultiwindowwindow.c
winpfbdd.c
winshaddd.c
winshadddnl.c
winshadgdi.c
Fix incorrect wrapping of functions. Ensure the pointers from pScreen point
    to the called function even if wrapped functions changed it
Set the window properties to NULL to avoid referencing freed memory because
    of timing problems after deleting a window
Do not wrap ChangeWindowAttributes. All functions are noops currently
2005-02-12 14:29:22 +00:00
Alexander Gottwald
eaf224e4f9 winmultiwindowwindow.c
Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
2005-01-27 13:29:34 +00:00
Alexander Gottwald
9000b3c061 winmultiwindowwindow.c
Backout last change. There was a window focus regression
2005-01-27 12:27:06 +00:00
Alexander Gottwald
9f74348a33 winmultiwindowwindow.c
Fixes for window ordering problem (Kensuke Matsuzaki)
2005-01-24 19:02:29 +00:00
Alexander Gottwald
1bf23fa643 Bug #1945: Stop unnecessary reordering. (Kensuke Matsuzaki) 2004-12-27 15:41:10 +00:00
Alexander Gottwald
ba6b8fe98f Create a HWND if none created before returning window handle to GL layer 2004-05-27 13:57:15 +00:00
Alexander Gottwald
5435bdb071 move common icon handling code to winmultiwindowicons.c set small icon for
window too
2004-05-19 20:52:14 +00:00
Earle F. Philhower III
801f542242 Explicitly reset the system menu to WS_POPUP when creating 2004-04-18 02:21:10 +00:00
Earle F. Philhower III
5338151acc LoadImage() g_hiconX because it is DestroyIcon()d cannot use LoadIcon().
Fix off-by-one class naming problem. More error checking on icon and
    menu creation.
2004-04-14 06:12:44 +00:00
Kensuke Matsuzaki
9915cfc156 Fix MWExtWM resource leak. 2004-04-10 23:18:09 +00:00
Kensuke Matsuzaki
496313f8f7 Write comment for previous patch. 2004-04-09 04:59:30 +00:00
Kensuke Matsuzaki
8369505bdf Reapply the path that fix multi-window mode crashes when there were
multiple instances of XWin.exe.
2004-04-08 02:53:18 +00:00
Harold L Hunt II
9cf9f37f49 Add an About dialog box to the tray icon menu, complete with links to our
local change log, and documentation on our website.
2004-03-26 03:21:41 +00:00
Takuma Murakami
40bb4441ac Remove fAlwaysOnTop and PreserveWin32Stack() instead of reinstating
winReorderWindowsMultiWindow(), which now inhibits reentries to avoid
    infinite restacking. Call winReorderWindowsMultiWindow() in appropriate
    places to keep consistent window Z order even if always-on-top windows
    are mixed. (Earle F. Philhower III and Takuma Murakami)
2004-03-25 12:43:39 +00:00
Earle F. Philhower III
725de2d892 Always-on-top mods: fix popup menus over AOT windows, AOTs not
disappearing, normal windows appearing over AOTs
2004-03-19 07:39:19 +00:00
Earle F. Philhower III
559610b8a2 Fix window cascading to not affect popups or menus 2004-03-18 16:17:57 +00:00
Alexander Gottwald
4e92ef8812 merge with XORG-RELEASE-1 (tag XORG-CYGWIN-LAST-MERGE) 2004-03-17 20:32:08 +00:00
Earle F. Philhower III
9f02cb698d Cascade Win32 windows when -geometry is not specified, using CW_USEDEFAULT,
instead of always creating at X(0,0)
2004-03-14 18:44:02 +00:00
Takuma Murakami
8784a117a7 Make winRestackWindowMultiWindow empty (except calling the wrapped
function).
2004-03-14 16:30:45 +00:00
Takuma Murakami
060f77ae59 Remove fRestacking and fWindowOrderChanged cache variables and
winReorderWindowsMultiWindow function from multiwindow mode. This
    function was called around 100 times per second. Now the ordering task
    is done in winTopLevelWindowProc/WM_ACTIVATE handler in event driven
    manner. Stop propagating WM_ACTIVATEAPP messages to the root window.
    Simplify winRedrawAllProcShadowGDI.
2004-03-13 13:58:54 +00:00
Takuma Murakami
390f0c94e3 Restrict multiwindow redrawing region to the intersection between the
smallest bounding rectangle of damaged areas and each Windows window.
    Compare process IDs instead of class names to determine whether a
    window is a Cygwin/X window or not.
2004-03-08 09:27:24 +00:00
Takuma Murakami
1279041de1 Revert the previous change due to server crashes. 2004-03-07 08:11:28 +00:00
Takuma Murakami
7554a68461 Call winReorderWindowMultiWindow from winTopLevelWindowProc/WM_SETFOCUS
handler instead of winBlockHandler. Because it is an optimization, it
    should not change visible behaviour while performance and simplicity
    are improved.
2004-03-06 08:43:55 +00:00
Takuma Murakami
3da304bf5d Fix window adjustment on multiple monitors. 2004-03-03 10:31:58 +00:00
Harold L Hunt II
a465ec8957 Major restructuring of enable/disable flags. Clean up configuration files,
removing xfree86.cf and lots of cruft from cygwin.cf.
2004-02-28 08:29:05 +00:00
Harold L Hunt II
a6043b90d9 Add options to win.h, winclipboard.h, and winwindow.h to disable or enable
building of clipboard and multi-window support. Fix clipboard build
    when UTF8 is not supported.
2004-02-27 19:39:45 +00:00
Takuma Murakami
1064c98fec For the topmost Windows window, explicitly raise its X counterpart to the
top in Z order to keep correct stacking when there is a minimized
    window which formerly obscured it.
2004-02-25 06:23:39 +00:00
Takuma Murakami
54641d35c7 Improve move, resize, minimize, maximize, and restore operations on windows
in multiwindow mode. Reorganize message/event flow, add new scheme to
    propagate window changes between Windows and X layers, eliminate bunch
    of conditional branches and cache variables. A couple of bugs should be
    fixed.
2004-02-21 13:30:25 +00:00
Harold L Hunt II
0ec560dbbe Two patches from Earle F. Philhower III: Centering of dialog boxes and fix
for Always On Top in Multi-Window Mode.
2004-01-27 05:39:29 +00:00
Harold L Hunt II
d1b62d8fe9 XWin Server - Sync with 4.3.0-40 release. Simplify setlocale() handling,
fix crashes in clipboard code, fix crash on startup when using
    -clipboard and -multiwindow.
2004-01-13 01:08:37 +00:00
Kensuke Matsuzaki
c8ae2f1135 Fix the problem that XWin crashes when multiple XWin processes exist.
Cleanup IsMouseActive and IsRaiseOnClick.
2003-12-29 05:56:44 +00:00
Alexander Gottwald
6e47ed58a1 - transition from xoncygwin to xorg repository. 2003-12-09 01:37:16 +00:00
Harold L Hunt II
723c60baec Fix build after changes to the REGION macros. 2003-12-02 02:46:18 +00:00
Kaleb Keithley
0097b6fe2d merge latest (4.3.99.16) from XFree86 (vendor) branch 2003-11-26 22:49:07 +00:00
Kaleb Keithley
9508a382f8 Initial revision 2003-11-14 16:48:57 +00:00