Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
raas
BlenderPhi
Commits
b7712a76
Commit
b7712a76
authored
11 years ago
by
Jens Verwiebe
Browse files
Options
Downloads
Patches
Plain Diff
OSX/GHOST: fix T39153, pls check on win minimized window load
parent
a349a3a9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/blender/windowmanager/intern/wm_window.c
+3
-3
3 additions, 3 deletions
source/blender/windowmanager/intern/wm_window.c
with
3 additions
and
3 deletions
source/blender/windowmanager/intern/wm_window.c
+
3
−
3
View file @
b7712a76
...
@@ -372,6 +372,9 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
...
@@ -372,6 +372,9 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
if
(
win
->
eventstate
==
NULL
)
if
(
win
->
eventstate
==
NULL
)
win
->
eventstate
=
MEM_callocN
(
sizeof
(
wmEvent
),
"window event state"
);
win
->
eventstate
=
MEM_callocN
(
sizeof
(
wmEvent
),
"window event state"
);
/* set the state */
GHOST_SetWindowState
(
ghostwin
,
(
GHOST_TWindowState
)
win
->
windowstate
);
/* store actual window size in blender window */
/* store actual window size in blender window */
bounds
=
GHOST_GetClientBounds
(
win
->
ghostwin
);
bounds
=
GHOST_GetClientBounds
(
win
->
ghostwin
);
...
@@ -379,9 +382,6 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
...
@@ -379,9 +382,6 @@ static void wm_window_add_ghostwindow(const char *title, wmWindow *win)
win
->
sizey
=
GHOST_GetHeightRectangle
(
bounds
);
win
->
sizey
=
GHOST_GetHeightRectangle
(
bounds
);
GHOST_DisposeRectangle
(
bounds
);
GHOST_DisposeRectangle
(
bounds
);
/* set the state */
GHOST_SetWindowState
(
ghostwin
,
(
GHOST_TWindowState
)
win
->
windowstate
);
/* until screens get drawn, make it nice gray */
/* until screens get drawn, make it nice gray */
glClearColor
(
0
.
55
,
0
.
55
,
0
.
55
,
0
.
0
);
glClearColor
(
0
.
55
,
0
.
55
,
0
.
55
,
0
.
0
);
/* Crash on OSS ATI: bugs.launchpad.net/ubuntu/+source/mesa/+bug/656100 */
/* Crash on OSS ATI: bugs.launchpad.net/ubuntu/+source/mesa/+bug/656100 */
...
...
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