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
2fdbeefc
Commit
2fdbeefc
authored
May 28, 2009
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Avoid a crash if not in a desktop mode.
parent
129889b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
desktop.c
dlls/winex11.drv/desktop.c
+4
-2
No files found.
dlls/winex11.drv/desktop.c
View file @
2fdbeefc
...
...
@@ -137,6 +137,8 @@ Window CDECL X11DRV_create_desktop( UINT width, UINT height )
Window
win
;
Display
*
display
=
thread_init_display
();
TRACE
(
"%u x %u
\n
"
,
width
,
height
);
wine_tsx11_lock
();
/* Create window */
...
...
@@ -206,7 +208,7 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height)
Display
*
display
=
thread_display
();
XEvent
xev
;
wine_tsx11_lock
()
;
if
(
!
display
||
root_window
!=
DefaultRootWindow
(
display
))
return
;
xev
.
xclient
.
type
=
ClientMessage
;
xev
.
xclient
.
window
=
root_window
;
...
...
@@ -225,9 +227,9 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height)
TRACE
(
"action=%li
\n
"
,
xev
.
xclient
.
data
.
l
[
0
]);
wine_tsx11_lock
();
XSendEvent
(
display
,
DefaultRootWindow
(
display
),
False
,
SubstructureRedirectMask
|
SubstructureNotifyMask
,
&
xev
);
wine_tsx11_unlock
();
}
...
...
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