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
e4a43cfa
Commit
e4a43cfa
authored
Oct 24, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't try to set the app icon before GDI is properly initialized.
parent
0669a8ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
macdrv_main.c
dlls/winemac.drv/macdrv_main.c
+0
-15
window.c
dlls/winemac.drv/window.c
+15
-0
No files found.
dlls/winemac.drv/macdrv_main.c
View file @
e4a43cfa
...
...
@@ -91,20 +91,6 @@ const char* debugstr_cf(CFTypeRef t)
/***********************************************************************
* set_app_icon
*/
static
void
set_app_icon
(
void
)
{
CFArrayRef
images
=
create_app_icon_images
();
if
(
images
)
{
macdrv_set_application_icon
(
images
);
CFRelease
(
images
);
}
}
/***********************************************************************
* get_config_key
*
* Get a config key from either the app-specific or the default config
...
...
@@ -208,7 +194,6 @@ static BOOL process_attach(void)
return
FALSE
;
}
set_app_icon
();
macdrv_clipboard_process_attach
();
return
TRUE
;
...
...
dlls/winemac.drv/window.c
View file @
e4a43cfa
...
...
@@ -929,6 +929,20 @@ void activate_on_following_focus(void)
}
/***********************************************************************
* set_app_icon
*/
static
void
set_app_icon
(
void
)
{
CFArrayRef
images
=
create_app_icon_images
();
if
(
images
)
{
macdrv_set_application_icon
(
images
);
CFRelease
(
images
);
}
}
/**********************************************************************
* CreateDesktopWindow (MACDRV.@)
*/
...
...
@@ -968,6 +982,7 @@ BOOL CDECL macdrv_CreateDesktopWindow(HWND hwnd)
SERVER_END_REQ
;
}
set_app_icon
();
return
TRUE
;
}
...
...
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