UI: Preferences Redesign Part 2
[blender.git] / source / blender / editors / screen / screen_edit.c
index 62d60c39c0cf091aa942776dcae1d48d16b78cb7..7e6e31d339d686177f49555d18be7c59cd73d328 100644 (file)
@@ -639,7 +639,7 @@ void ED_screen_set_active_region(bContext *C, wmWindow *win, const int xy[2])
                ED_screen_areas_iter(win, scr, area_iter) {
                        if (xy[0] > area_iter->totrct.xmin && xy[0] < area_iter->totrct.xmax) {
                                if (xy[1] > area_iter->totrct.ymin && xy[1] < area_iter->totrct.ymax) {
-                                       if (ED_area_actionzone_refresh_xy(area_iter, xy) == NULL) {
+                                       if (ED_area_azones_update(area_iter, xy) == NULL) {
                                                sa = area_iter;
                                                break;
                                        }
@@ -1251,7 +1251,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
                        for (ar = newa->regionbase.first; ar; ar = ar->next) {
                                ar->flagfullscreen = ar->flag;
 
-                               if (ELEM(ar->regiontype, RGN_TYPE_UI, RGN_TYPE_HEADER, RGN_TYPE_TOOLS, RGN_TYPE_NAV_BAR)) {
+                               if (ELEM(ar->regiontype, RGN_TYPE_UI, RGN_TYPE_HEADER, RGN_TYPE_TOOLS, RGN_TYPE_NAV_BAR, RGN_TYPE_EXECUTE)) {
                                        ar->flag |= RGN_FLAG_HIDDEN;
                                }
                        }