Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a0750017
Commit
a0750017
authored
Aug 09, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Never paint the desktop when using the X root window.
parent
5349745a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
desktop.c
programs/explorer/desktop.c
+5
-2
No files found.
programs/explorer/desktop.c
View file @
a0750017
...
...
@@ -28,6 +28,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(explorer);
#define DESKTOP_CLASS_ATOM MAKEINTATOMW(32769)
#define DESKTOP_ALL_ACCESS 0x01ff
static
BOOL
using_root
;
/* window procedure for the desktop window */
static
LRESULT
WINAPI
desktop_wnd_proc
(
HWND
hwnd
,
UINT
message
,
WPARAM
wp
,
LPARAM
lp
)
{
...
...
@@ -50,14 +52,14 @@ static LRESULT WINAPI desktop_wnd_proc( HWND hwnd, UINT message, WPARAM wp, LPAR
return
HTCLIENT
;
case
WM_ERASEBKGND
:
PaintDesktop
(
(
HDC
)
wp
);
if
(
!
using_root
)
PaintDesktop
(
(
HDC
)
wp
);
return
TRUE
;
case
WM_PAINT
:
{
PAINTSTRUCT
ps
;
BeginPaint
(
hwnd
,
&
ps
);
if
(
ps
.
fErase
)
PaintDesktop
(
ps
.
hdc
);
if
(
!
using_root
&&
ps
.
fErase
)
PaintDesktop
(
ps
.
hdc
);
EndPaint
(
hwnd
,
&
ps
);
}
return
0
;
...
...
@@ -155,6 +157,7 @@ void manage_desktop( char *arg )
if
(
!
xwin
)
/* using the root window */
{
using_root
=
TRUE
;
width
=
GetSystemMetrics
(
SM_CXSCREEN
);
height
=
GetSystemMetrics
(
SM_CYSCREEN
);
}
...
...
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