Commit graph

451 commits

Author SHA1 Message Date
Alexander Gottwald
596ca4e7e6 rename winErrorMessage to glWinErrorMessage print GetLastError() if
FormatMessage fails. This will at least give some information if the
    1024 byte buffer is to small for some messages
2004-04-27 21:19:21 +00:00
Alexander Gottwald
4b7bde21a6 fix severe GDI leak. GetIconInfo allocated new bitmaps which were never
deleted
2004-04-27 18:07:58 +00:00
Alexander Gottwald
9a6e22ebfb new function winW32Error which prints the error string with FormatMessage 2004-04-27 18:07:15 +00:00
Alexander Gottwald
11fb48f463 let the number-of-client display show at least 0 clients 2004-04-27 15:48:25 +00:00
Alexander Gottwald
588b02614d if CreateIconIndirect creates an icon instead of a cursor, try it again
with icon mask and color bitmap.
2004-04-27 09:17:22 +00:00
Earle F. Philhower III
abb7579cf9 Fix color cursor on non-XP systems (use compatible bitmap, not DIB, for
cursor creation)
2004-04-27 08:18:03 +00:00
Alexander Gottwald
23bc1c08dc some code cleanup and documentation 2004-04-26 23:11:27 +00:00
Alexander Gottwald
fcb4a5e461 CreateIconIndirect sometimes creates an Icon instead of an Cursor. This
breaks the hotspot and makes the cursor unusable. Discard the garbled
    cursor and revert to simple b&w cursor.
2004-04-26 23:02:26 +00:00
Alexander Gottwald
90c19ed97c Backout last change. It was broken. 2004-04-26 19:53:49 +00:00
Alexander Gottwald
4ac3b83771 set s_fCBCInitialized to TRUE after clipboard chain has been updated. This
silences the repeated WM_DRAWCLIPBOARD - Initializing message
2004-04-26 12:57:07 +00:00
Alexander Gottwald
962f3cbed8 Set the logfile verbosity too. this silences a lot of debug messages in the
logfile
2004-04-26 12:50:59 +00:00
Harold L Hunt II
9263d80b5c Silence repeated messages from the clipboard subsystem. 2004-04-26 12:27:41 +00:00
Harold L Hunt II
e8836763ed winReallySetCursor was empty and not needed. 2004-04-26 04:46:24 +00:00
Harold L Hunt II
3e54b792e1 Include winmsg.h to silence warnings about undeclared functions. 2004-04-26 04:38:17 +00:00
Earle F. Philhower III
b9842739d9 Added 32bpp (alpha+RGB) cursor support in true color modes. 2004-04-26 04:32:05 +00:00
Alexander Gottwald
2812ba5702 use winDebug and winErrorFVerb instead of ErrorF to respect -loglevel 2004-04-25 19:27:05 +00:00
Earle F. Philhower III
9db9f7069a Add color cursor support for hicolor and truecolor modes. 2004-04-25 16:13:44 +00:00
Earle F. Philhower III
5611fec990 Fix typo in function names (Mutli->Multi) 2004-04-25 15:58:47 +00:00
Earle F. Philhower III
7a14de0bf6 Don't set the HW cursor unless the mouse is in client area 2004-04-24 07:41:12 +00:00
Earle F. Philhower III
79449bff2d Fix typo in error message 2004-04-24 07:38:43 +00:00
Harold L Hunt II
5228ce0353 Fix - Occasional Paste Problem. (Dan Wilks @ Intuit) 2004-04-23 18:17:29 +00:00
Harold L Hunt II
525f80baae Fix typo reported by Rodrigo Medina. Fix spacing after sentences (use
standard two-spaces after period).
2004-04-23 18:05:59 +00:00
Alexander Gottwald
1ec083711c allow screen combinations with XWin -query host -screen 0 -screen 1
-multiwindow This gives an xdmcp session and a second screen where i
    can display single windows
2004-04-23 11:41:43 +00:00
Kensuke Matsuzaki
7134a68c3a MWExtWM uses common hardware(windows) cursor code too, and
winwin32rootlesscursor.c is removed. Clean up unused variables. Modify
    comment(winMWExtWM* -> win*). Fix the problem that cursor doesn't
    change when cursor move in a window.
2004-04-23 07:43:06 +00:00
Alexander Gottwald
87e0f99bd0 Document the -swcursor switch 2004-04-22 20:33:31 +00:00
Alexander Gottwald
d483150fee removed code for hardware cursor since it's now in hw/xwin 2004-04-22 20:23:45 +00:00
Alexander Gottwald
875eb14f5c use winDebug and winErrorFVerb instead of ErrorF to set explicit loglevels 2004-04-22 20:19:53 +00:00
Alexander Gottwald
86cb4602fa add commandline option to enable software cursor use winDebug and
winErrorFVerb instead of ErrorF to set explicit loglevels
2004-04-22 20:16:51 +00:00
Alexander Gottwald
e6bbc8bcc4 Enable hardware (==windows) cursor for all display modes 2004-04-22 20:08:40 +00:00
Alexander Gottwald
01bdcc8530 Set default loglevel to 2 2004-04-22 20:05:34 +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
Alexander Gottwald
f17a999693 --help and --version available 2004-04-17 19:34:19 +00:00
Earle F. Philhower III
508d634657 Added TRAYICON, SILENTEXIT, icon file reading info, and a small example.
Still needs work but has all keywords present.
2004-04-15 06:30:16 +00:00
Earle F. Philhower III
227c452393 Apply Kensuke's GDI leak fix [DeleteObject(icon)->DestroyIcon(icon)] 2004-04-15 05:11:33 +00:00
Kensuke Matsuzaki
ed27545c73 Fix debug message. Fix GDI leak because of off-by-one class namingm problem
and DeleteObject instead of DestroyIcon.
2004-04-15 04:17:41 +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
Harold L Hunt II
d3ba886083 Change reference to XWinrc man page section. 2004-04-14 00:06:15 +00:00
Harold L Hunt II
afc839823c Add new XWinrc man page. (Rodrigo Medina) 2004-04-14 00:01:22 +00:00
Harold L Hunt II
9945bf762a Turn back on the manually minimizing and restoring of our window when using
the ShadowGDI engine in fullscreen mode. We perform the restoring or
    minimizing manually for ShadowGDI in fullscreen modes so that this
    engine will perform just like ShadowDD and ShadowDDNL in fullscreen
    mode; if we do not do this then our fullscreen window will appear in
    the z-order when it is deactivated and it can be uncovered by resizing
    or minimizing another window that is on top of it, which is not how the
    DirectDraw engines work. (Harold L Hunt II - CodeWeavers)
2004-04-14 00:00:25 +00:00
Alexander Gottwald
162a45d3aa new function winDebug which logs messages with verbosity level 3 2004-04-13 19:24:39 +00:00
Alexander Gottwald
4ee077c887 fix segfault if LogInit fails 2004-04-13 18:48:06 +00:00
Kensuke Matsuzaki
ec3224e132 Fix maximize window. 2004-04-13 07:05:36 +00:00
Alexander Gottwald
a4401712c5 fix rare segfault caused by uninitialized event queue. Happend if
FatalError Messagebox appeared because of missing font "fixed"
2004-04-12 21:49:04 +00:00
Alexander Gottwald
5e6309496d Adjust link to FAQ 2004-04-12 17:26:59 +00:00
Kensuke Matsuzaki
9915cfc156 Fix MWExtWM resource leak. 2004-04-10 23:18:09 +00:00
Alexander Gottwald
cb5729490b document -logfile, -logverbose and -[no]keyhook [Bug 437] only document
-xkb* parameter if XKB is defined
2004-04-10 13:23:37 +00:00
Harold L Hunt II
1643a6490d Make most functions static that can be static. Remove declarations for
functions used in only one place from win.h and put them in that single
    file. Stop using WS_EX_TOPMOST for fullscreen windows. Stop manually
    minimizing and restoring our window when using the ShadowGDI engine in
    fullscreen mode. (Harold L Hunt II)
2004-04-10 06:18:29 +00:00
Harold L Hunt II
ec963d155e Fix a few DDNL's that should be DD's. 2004-04-10 05:11:37 +00:00
Harold L Hunt II
de227658f6 Oops, fix ShadowGDI being forced when it doesn't need to be. 2004-04-10 05:07:52 +00:00
Harold L Hunt II
1fc050a7d3 Don't trap the Windows keys for now. 2004-04-09 17:02:35 +00:00