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
1fc39be6
Commit
1fc39be6
authored
Jul 12, 2001
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jul 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix X crash when running in managed mode.
parent
5d2b0a14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
window.c
dlls/x11drv/window.c
+2
-1
No files found.
dlls/x11drv/window.c
View file @
1fc39be6
...
@@ -191,6 +191,7 @@ static Window create_icon_window( Display *display, WND *win )
...
@@ -191,6 +191,7 @@ static Window create_icon_window( Display *display, WND *win )
ButtonPressMask
|
ButtonReleaseMask
);
ButtonPressMask
|
ButtonReleaseMask
);
attr
.
bit_gravity
=
NorthWestGravity
;
attr
.
bit_gravity
=
NorthWestGravity
;
attr
.
backing_store
=
NotUseful
/*WhenMapped*/
;
attr
.
backing_store
=
NotUseful
/*WhenMapped*/
;
attr
.
colormap
=
X11DRV_PALETTE_PaletteXColormap
;
/* Needed due to our visual */
wine_tsx11_lock
();
wine_tsx11_lock
();
data
->
icon_window
=
XCreateWindow
(
display
,
root_window
,
0
,
0
,
data
->
icon_window
=
XCreateWindow
(
display
,
root_window
,
0
,
0
,
...
@@ -198,7 +199,7 @@ static Window create_icon_window( Display *display, WND *win )
...
@@ -198,7 +199,7 @@ static Window create_icon_window( Display *display, WND *win )
GetSystemMetrics
(
SM_CYICON
),
GetSystemMetrics
(
SM_CYICON
),
0
,
screen_depth
,
0
,
screen_depth
,
InputOutput
,
visual
,
InputOutput
,
visual
,
CWEventMask
|
CWBitGravity
|
CWBackingStore
,
&
attr
);
CWEventMask
|
CWBitGravity
|
CWBackingStore
|
CWColormap
,
&
attr
);
XSaveContext
(
display
,
data
->
icon_window
,
winContext
,
(
char
*
)
win
->
hwndSelf
);
XSaveContext
(
display
,
data
->
icon_window
,
winContext
,
(
char
*
)
win
->
hwndSelf
);
wine_tsx11_unlock
();
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