… | |
… | |
704 | |
704 | |
705 | if (!OPTION (Opt_scrollBar_right)) |
705 | if (!OPTION (Opt_scrollBar_right)) |
706 | window_vt_x += sb_w; |
706 | window_vt_x += sb_w; |
707 | } |
707 | } |
708 | |
708 | |
709 | szHint.width_inc = fwidth; |
709 | szHint.width_inc = fwidth; |
710 | szHint.height_inc = fheight; |
710 | szHint.height_inc = fheight; |
711 | szHint.min_width = szHint.base_width + szHint.width_inc; |
711 | szHint.min_width = szHint.base_width + szHint.width_inc; |
712 | szHint.min_height = szHint.base_height + szHint.height_inc; |
712 | szHint.min_height = szHint.base_height + szHint.height_inc; |
713 | |
713 | |
714 | if (newwidth && newwidth - szHint.base_width < max_width) |
714 | if (newwidth && newwidth - szHint.base_width < max_width) |
715 | { |
715 | { |
716 | szHint.width = newwidth; |
716 | szHint.width = newwidth; |
… | |
… | |
1033 | int fix_screen; |
1033 | int fix_screen; |
1034 | int old_width = szHint.width; |
1034 | int old_width = szHint.width; |
1035 | int old_height = szHint.height; |
1035 | int old_height = szHint.height; |
1036 | |
1036 | |
1037 | window_calc (newwidth, newheight); |
1037 | window_calc (newwidth, newheight); |
|
|
1038 | |
|
|
1039 | if (!HOOK_INVOKE ((this, HOOK_RESIZE_ALL_WINDOWS, DT_INT, newwidth, DT_INT, newheight, DT_END))) |
1038 | XSetWMNormalHints (dpy, parent[0], &szHint); |
1040 | XSetWMNormalHints (dpy, parent[0], &szHint); |
1039 | |
1041 | |
1040 | if (!ignoreparent) |
1042 | if (!ignoreparent) |
1041 | { |
1043 | { |
1042 | #ifdef SMART_RESIZE |
1044 | #ifdef SMART_RESIZE |
1043 | /* |
1045 | /* |