biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / x11 / quartz-wm / no_title_crash.patch
blob751a35072bcf32f8adcf93b24bccc2d7cb924ca7
1 commit c28527b1340c51f2b492a31e49127106cebbfc5d
2 Author: Jeremy Huddleston <jeremyhu@apple.com>
3 Date: Fri Jun 1 10:38:37 2012 -0700
5 Fix a crash when minimizing windows without titles
7 <rdar://problem/11575791>
9 Regression-from: 21f210c923aa5d79400ce46275084f2636c92bd9
11 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
13 diff --git a/src/x-window.m b/src/x-window.m
14 index a210c6a..e3b9066 100644
15 --- a/src/x-window.m
16 +++ b/src/x-window.m
17 @@ -2139,7 +2139,7 @@ - (void) do_collapse
18 if (wid == XP_NULL_NATIVE_WINDOW_ID)
19 return;
21 - title_c = strdup([_title UTF8String]);
22 + title_c = strdup([[self title] UTF8String]);
23 assert(title_c);
25 err = qwm_dock_minimize_item_with_title_async (wid, title_c);