Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
5d0d30db
Commit
5d0d30db
authored
Sep 28, 2017
by
Camilla Löwy
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
32e78aeb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/win32_window.c
+6
-6
6 additions, 6 deletions
src/win32_window.c
with
6 additions
and
6 deletions
src/win32_window.c
+
6
−
6
View file @
5d0d30db
...
...
@@ -332,9 +332,9 @@ static void updateFramebufferTransparency(const _GLFWwindow* window)
// color will be transparent. That doesn't seem to be the
// case anymore, at least when used with blur behind window
// plus negative region.
LONG
s
tyle
=
GetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
);
s
tyle
|=
WS_EX_LAYERED
;
SetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
,
s
tyle
);
LONG
exS
tyle
=
GetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
);
exS
tyle
|=
WS_EX_LAYERED
;
SetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
,
exS
tyle
);
// Using a color key not equal to black to fix the trailing
// issue. When set to black, something is making the hit test
...
...
@@ -347,9 +347,9 @@ static void updateFramebufferTransparency(const _GLFWwindow* window)
}
else
{
LONG
s
tyle
=
GetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
);
s
tyle
&=
~
WS_EX_LAYERED
;
SetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
,
s
tyle
);
LONG
exS
tyle
=
GetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
);
exS
tyle
&=
~
WS_EX_LAYERED
;
SetWindowLongW
(
window
->
win32
.
handle
,
GWL_EXSTYLE
,
exS
tyle
);
RedrawWindow
(
window
->
win32
.
handle
,
NULL
,
NULL
,
RDW_ERASE
|
RDW_INVALIDATE
|
RDW_FRAME
);
}
...
...
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