Commit graph

335 commits

Author SHA1 Message Date
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
Alexander Gottwald
92c4bcb65d removed GetActiveWindow hack calling attach and unattach at different
places. blender and tuxkart now work (sort of) failing SetPixelFormat
    is not a failure anymore. SetPixelFormat can only be called once per
    window.
2004-03-14 15:34:33 +00:00
Alexander Gottwald
bd3da291cc support multiwindow mode (harold pointed me to the correct structures) 2004-03-14 15:27:16 +00:00
Earle F. Philhower III
42cb5a5be8 Added "TRAYICON" parsing to .xwinrc Added "<file>.dll,nnn" icon extraction
to take icons from compiled DLL or EXEs Added ",nnn" icon extraction to
    take icons compiled into XWin.exe Fixed ICONDIRECTORY no longer
    appended to icon path if it is fully qualified
2004-03-14 02:36:11 +00:00
Alexander Gottwald
61e6b0ec76 - more debugging output 2004-03-13 19:44:02 +00:00
Alexander Gottwald
797e1f0fee make debugging information selectable via environment move query for
pixelformat form makeFormat to glWinCreateContext query the hwnd handle
    in attach(). still overwriting it with GetActiveWindow
2004-03-13 19:41:36 +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
Alexander Gottwald
c46185e4b4 removed some debugging output query window information from hw/xwin create
gl context with size and position of the X11 window
2004-03-12 21:08:59 +00:00
Alexander Gottwald
3b689c0530 added function to query windowposition and handles from GL/windows 2004-03-12 21:05:47 +00:00
Harold L Hunt II
e76ffe7c29 Update the boxed icon with Benjamin Riefenstahl's latest (2003/09/15). 2004-03-12 18:34:56 +00:00
Alexander Gottwald
8e45c4c614 attach the gl context to the active window. still a hack but works better
than before (at least for multiwindow)
2004-03-12 12:20:42 +00:00
Alexander Gottwald
70403516ee beautify dump of PIXELFORMATDESCRIPTOR (print human readable flag names)
set useful defaults for flags
2004-03-12 11:09:55 +00:00
Kensuke Matsuzaki
db3a40a7e8 When explorer is restarted, readd tasktray icon. 2004-03-12 07:31:13 +00:00
Harold L Hunt II
41fbc41de7 Change comments to C-style 2004-03-12 01:45:32 +00:00
Harold L Hunt II
d0fd0e6ae4 Add new default icon, move boxed icon to 2nd icon in file. 2004-03-12 01:11:23 +00:00
Alexander Gottwald
2a42eba94b fixes in HDC usage tweaks in debug output swapbuffer implemented 2004-03-12 00:30:32 +00:00
Alexander Gottwald
10c700176c Print a message when some special opengl function is called 2004-03-12 00:28:37 +00:00
Alexander Gottwald
15892f8936 The native opengl support finally linked! This is merely a copy-and-paste
of apple/indirect.c with all code removed I did not understand. So
    don't expect wonders *g*
2004-03-11 22:52:14 +00:00
Harold L Hunt II
a756277aed Fix some error message end of lines. 2004-03-11 20:48:07 +00:00
Alexander Gottwald
35b447d96f moved all opengl wrappers to glwrap.c print an error if a called opengl
function can not be resolved
2004-03-11 13:44:43 +00:00
Harold L Hunt II
d7cf8005d6 Rename BeforeReset to ddxBeforeReset 2004-03-11 00:09:12 +00:00
Alexander Gottwald
950770b42d all opengl extension wrappers complete 2004-03-10 20:54:51 +00:00
Alexander Gottwald
3b90cbc06d removed #ifdef DDXBEFORERESET for xnest and xvfb 2004-03-10 19:10:55 +00:00
Alexander Gottwald
7d259fd2ca another ddxBeforeReset fix 2004-03-10 17:58:04 +00:00
Alexander Gottwald
b42154ca25 First 3 opengl-wrapper functions. The other will follow in a similar way 2004-03-10 14:47:46 +00:00
Alexander Gottwald
6e00f7cc02 Yet another missing ddx on BeforeReset 2004-03-10 13:12:13 +00:00
Alexander Gottwald
0b878c2697 BeforeReset is now known as ddxBeforeReset 2004-03-10 10:04:54 +00:00
Alexander Gottwald
96711d9f56 Framework for native opengl use. It does not link since there are still
undefined references to opengl extenstions but the symbols use the
    __stdcall attribute.
2004-03-10 09:04:47 +00:00
Harold L Hunt II
cc2317ee91 Display warning message if user uses -xf86config or -keyboard parameters
when they are unsupported.
2004-03-09 23:33:21 +00:00
Takuma Murakami
b9e4071433 Replace all calls to EnumWindows by EnumThreadWindows since we need to
manipulate only Cygwin/X windows, which are in the same thread.
2004-03-09 15:41:32 +00:00
Harold L Hunt II
83e4b95234 Fix crash on startup, build warning, and close an opened registry key. 2004-03-09 00:24:08 +00:00
Alexander Gottwald
4dc5c1f109 fix typos found by takuma 2004-03-08 17:19:51 +00:00
Alexander Gottwald
389d640338 print the keyboardlayout name supplied from windows if it was not found.
This makes it easier for me to add those layouts.
2004-03-08 17:12:12 +00:00
Alexander Gottwald
fa3f16246f Print a logmessage that XF86Config is unsupported with pointer to
documentation (FAQ)
2004-03-08 13:41:17 +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
4b720d50de Prevent the vendor information from printing twice. 2004-03-03 04:39:48 +00:00
Harold L Hunt II
8b6d14fb52 Rename BeforeReset to ddxBeforeReset. I swear this is the final name. 2004-03-03 03:47:25 +00:00
Harold L Hunt II
0c4329a8c4 Try to close the clipboard if it is open before we try to open it. 2004-03-03 03:08:59 +00:00
Harold L Hunt II
c7b5484cfe Rename Rootless and PseudoRootless modes. Improve error reporting
information.
2004-03-03 02:57:00 +00:00
Harold L Hunt II
972e21e28a Fix bad filename reference in comment. 2004-03-02 20:06:34 +00:00
Harold L Hunt II
f41f0648fe Remove old argument check that is now in winvalargs.c. 2004-03-02 20:03:35 +00:00
Harold L Hunt II
996a56afc6 Add proper command-line argument validation. 2004-03-02 20:00:16 +00:00
Harold L Hunt II
07d141d45c Replace a handful of calls to ErrorF and exit(1) with a single call to
FatalError. These direct calls to exit(1) made it impossible to do
    anything ddx-specific in these cases; note that most of these calls
    occur during argument processing.
2004-03-02 19:28:53 +00:00
Harold L Hunt II
cb3bd448f9 Document -xkb* options in ddxUseMsg(). 2004-03-02 16:34:55 +00:00
Harold L Hunt II
474721bda9 Fix build bustage when BuildXWinMultiWindow is NO. 2004-03-02 05:48:28 +00:00
Harold L Hunt II
7a7cda621d Make duplicate display check work with Terminal Services. 2004-03-02 05:11:57 +00:00