Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a844189d
Commit
a844189d
authored
Dec 24, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Dec 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Desktop window queue handling adapted.
parent
1babe5b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
main.c
loader/main.c
+3
-3
win.c
windows/win.c
+3
-2
No files found.
loader/main.c
View file @
a844189d
...
...
@@ -221,9 +221,6 @@ BOOL32 WINAPI MAIN_UserInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRes
/* Initialize multimedia */
if
(
!
MULTIMEDIA_Init
())
return
FALSE
;
/* Create desktop window */
if
(
!
WIN_CreateDesktopWindow
())
return
FALSE
;
/* Initialize message spying */
if
(
!
SPY_Init
())
return
FALSE
;
...
...
@@ -241,6 +238,9 @@ BOOL32 WINAPI MAIN_UserInit(HINSTANCE32 hinstDLL, DWORD fdwReason, LPVOID lpvRes
queueSize
=
GetProfileInt32A
(
"windows"
,
"DefaultQueueSize"
,
8
);
if
(
!
SetMessageQueue32
(
queueSize
))
return
FALSE
;
/* Create desktop window */
if
(
!
WIN_CreateDesktopWindow
())
return
FALSE
;
/* Install default USER Signal Handler */
SetTaskSignalProc
(
0
,
(
FARPROC16
)
USER_SignalProc
);
...
...
windows/win.c
View file @
a844189d
...
...
@@ -25,6 +25,7 @@
#include "dde_proc.h"
#include "clipboard.h"
#include "winproc.h"
#include "task.h"
#include "thread.h"
#include "process.h"
#include "debug.h"
...
...
@@ -408,7 +409,7 @@ BOOL32 WIN_CreateDesktopWindow(void)
pWndDesktop
->
rectWindow
.
bottom
=
SYSMETRICS_CYSCREEN
;
pWndDesktop
->
rectClient
=
pWndDesktop
->
rectWindow
;
pWndDesktop
->
text
=
NULL
;
pWndDesktop
->
hmemTaskQ
=
0
;
/* Desktop does not belong to a task */
pWndDesktop
->
hmemTaskQ
=
GetFastQueue
();
pWndDesktop
->
hrgnUpdate
=
0
;
pWndDesktop
->
hwndLastActive
=
hwndDesktop
;
pWndDesktop
->
dwStyle
=
WS_VISIBLE
|
WS_CLIPCHILDREN
|
...
...
@@ -550,7 +551,7 @@ static HWND32 WIN_CreateWindowEx( CREATESTRUCT32A *cs, ATOM classAtom,
wndPtr
->
hwndSelf
=
hwnd
;
wndPtr
->
hInstance
=
cs
->
hInstance
;
wndPtr
->
text
=
NULL
;
wndPtr
->
hmemTaskQ
=
Get
TaskQueue
(
0
);
wndPtr
->
hmemTaskQ
=
Get
FastQueue
(
);
wndPtr
->
hrgnUpdate
=
0
;
wndPtr
->
hwndLastActive
=
hwnd
;
wndPtr
->
dwStyle
=
cs
->
style
&
~
WS_VISIBLE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment