Commit graph

312 commits

Author SHA1 Message Date
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
Harold L Hunt II
597e804296 Add popup messages to FatalError and ddxUseMsg, pointing user to
/tmp/XWin.log for more information.
2004-03-02 04:25:58 +00:00
Harold L Hunt II
978116d14c Add enable/disable flags for MultiWindowExtWM mode. Fix bug for -help
message not being saved to log file.
2004-03-02 04:14:05 +00:00
Harold L Hunt II
a3d6794bb4 Oops, test call to glPixelStorei made it into InitOutput.c 2004-03-02 02:39:54 +00:00
Harold L Hunt II
28822b80da Rename OsVendorReset to BeforeReset; rename corresponding build flag from
DDXOSRESET to DDXBEFORERESET. This is a better name since it is not on
    the OS layer's scope, instead it is in the DIX layer's scope. Add
    function prototype to include/dix.h.
2004-03-02 02:36:05 +00:00
Takuma Murakami
80367ac826 Avoid multiple instances running on the same display. 2004-03-01 03:54:42 +00:00
Harold L Hunt II
da1934d22c Add framework for indirect OpenGL acceleration, controllable via
GlxUseWindows flag in cygwin.cf
2004-03-01 03:33:28 +00:00
Harold L Hunt II
a7a4043ffc Remove duplicate references to external symbols. 2004-02-28 09:00:33 +00:00
Harold L Hunt II
b23e391231 Fix bustage when DDXOSRESET is defined. 2004-02-28 08:54:32 +00:00
Harold L Hunt II
959361f5d7 Fix build for Xnest and Xvfb when DDXOSRESET is defined. 2004-02-28 08:33:54 +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
Harold L Hunt II
00a17f5b07 Add missing ) 2004-02-25 23:06:18 +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
Harold L Hunt II
6557c4b546 Minor build warning fix 2004-02-22 12:22:57 +00:00
Harold L Hunt II
2935de11e9 Build fix for winprefsyacc.y (Oyvind Harboe) 2004-02-22 12:22:27 +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
Takuma Murakami
9255ae11ee Properly clear the internal mouse button map when the mouse device is
closed.
2004-02-17 07:23:22 +00:00
Takuma Murakami
19d82be496 Stop passing customized menus to DefWindowProc. Although it does not cause
visible problems so far, it should be inhibited. Apply a mask, which is
    described in MSDN, for wParam in winTopLevelWindowProc/WM_SYSCOMMAND
    handler.
2004-02-17 06:26:17 +00:00
Alexander Gottwald
c4045f54e2 add xkb some settings (rules, model, layout, variant, options) to the
commandline options and parse them even with configfile support is
    turned off
2004-02-16 01:22:13 +00:00
Alexander Gottwald
c56096266e - Test only 2004-02-15 19:39:03 +00:00
Alexander Gottwald
846eb8658e Just had a chat with a brazilian user: the Brazilian ABNT layout is
br(pc105) not pt(pc105)
2004-02-15 19:03:16 +00:00
Takuma Murakami
1e82cbc3ff Make -multiwindow window manager detectable from other wm's as well as it
can detect others.
2004-02-11 09:05:06 +00:00
Kensuke Matsuzaki
172c5e5b4f Improve window moving, resizing and restacking. 2004-02-07 01:22:30 +00:00