Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
391d85d8
Commit
391d85d8
authored
20 years ago
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use IsWindowVisible instead of GetWindowLong(GWL_STYLE) & WS_VISIBLE
as a test for desktop visibility.
parent
9e53994a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
programs/winetest/main.c
+1
-1
1 addition, 1 deletion
programs/winetest/main.c
with
1 addition
and
1 deletion
programs/winetest/main.c
+
1
−
1
View file @
391d85d8
...
...
@@ -68,7 +68,7 @@ static int running_under_wine ()
static
int
running_on_visible_desktop
()
{
return
(
Get
Window
LongA
(
GetDesktopWindow
()
,
GWL_STYLE
)
&
WS_VISIBLE
)
!=
0
;
return
Is
Window
Visible
(
GetDesktopWindow
()
)
;
}
void
print_version
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment