1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

applied patch from Ryosuke Nanba <rna@cyber.email.ne.jp>

WindowMaker 0.80 crashes (SIGSEGV) on deiconifying the miniwindow of
Mozilla 0.98, under following condition.   - running ATOK X for Linux *
  - create new Mozilla Window
  - using ATOK on Mozilla (make "mozilla-im-status" window visible)
This commit is contained in:
kojima
2002-05-25 03:01:32 +00:00
parent ca212985df
commit 579eb01c6c

View File

@@ -1074,7 +1074,7 @@ wDeiconifyWindow(WWindow *wwin)
if (!wwin->flags.shaded)
wwin->flags.mapped = 1;
if (!wPreferences.disable_miniwindows) {
if (!wPreferences.disable_miniwindows && wwin->icon != NULL) {
if (wwin->icon->selected)
wIconSelect(wwin->icon);
@@ -1086,7 +1086,7 @@ wDeiconifyWindow(WWindow *wwin)
/* if the window is in another workspace, do it silently */
#ifdef ANIMATIONS
if (!wwin->screen_ptr->flags.startup && !wPreferences.no_animations
&& !wwin->flags.skip_next_animation) {
&& !wwin->flags.skip_next_animation && wwin->icon != NULL) {
int ix, iy, iw, ih;
if (!wPreferences.disable_miniwindows) {
@@ -1130,7 +1130,7 @@ wDeiconifyWindow(WWindow *wwin)
}
mapTransientsFor(wwin);
if (!wPreferences.disable_miniwindows) {
if (!wPreferences.disable_miniwindows && wwin->icon != NULL) {
RemoveFromStackList(wwin->icon->core);
/* removeIconGrabs(wwin->icon);*/
wIconDestroy(wwin->icon);