Fix so modal windows don't reappear when you iconize the main window

This commit is contained in:
Bill Spitzak
2000-04-19 06:36:57 +00:00
parent f37e10afcf
commit 825c538388

View File

@ -1565,7 +1565,8 @@ int Frame::handle(const XEvent* ei) {
if (W > max_w+dwidth) max_w = 0;
if (H > max_h+dheight) max_h = 0;
set_size(X, Y, W, H, 2);
if (e->value_mask & CWStackMode && e->detail == Above) raise();
if (e->value_mask & CWStackMode && e->detail == Above && state()==NORMAL)
raise();
return 1;}
case MapRequest: {