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
cc255b0c
Commit
cc255b0c
authored
Apr 22, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Apr 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If XShmAttach fails then reset shmid to -1 so that we don't try to use
it later.
parent
5960e7c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dib.c
dlls/x11drv/dib.c
+1
-0
No files found.
dlls/x11drv/dib.c
View file @
cc255b0c
...
...
@@ -4583,6 +4583,7 @@ static XImage *X11DRV_XShmCreateImage( int width, int height, int bpp,
shmdt
(
shminfo
->
shmaddr
);
}
shmctl
(
shminfo
->
shmid
,
IPC_RMID
,
0
);
shminfo
->
shmid
=
-
1
;
}
XFlush
(
gdi_display
);
XDestroyImage
(
image
);
...
...
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