fvwm2/fvwm-2.6.5-eventcrash.patch
Togan Muftuoglu b7e0105b67 Accepting request 184178 from home:WernerFink:branches:X11:windowmanagers
- Add patch fvwm-2.6.5-eventcrash.patch which should avoid that not
  set icon names will be freed  (bnc#778347)

OBS-URL: https://build.opensuse.org/request/show/184178
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=27
2013-07-24 15:31:43 +00:00

13 lines
446 B
Diff

--- fvwm/events.c
+++ fvwm/events.c 2013-07-24 10:29:01.563288010 +0000
@@ -3383,8 +3383,7 @@ void HandlePropertyNotify(const evh_args
* if the icon name is NoName, set the name of the icon to be
* the same as the window
*/
- if (!WAS_ICON_NAME_PROVIDED(fw) || (fw->icon_name.name &&
- (fw->icon_name.name != fw->name.name)))
+ if (!WAS_ICON_NAME_PROVIDED(fw))
{
fw->icon_name = fw->name;
setup_visible_name(fw, True);