mask mods- accel rotate/scale, gang rotate/scale/xlate, high-lite active mask tracks...
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcwindowbase.C
index 21d6bd37996741580e34057762c763d6066b3010..1ff149285aa2d2c297cf48b2ead4c708d8b23852 100644 (file)
@@ -4060,6 +4060,11 @@ int BC_WindowBase::resize_window(int w, int h)
                size_hints.max_width = w;
                size_hints.min_height = h;
                size_hints.max_height = h;
+               if( this->x > -BC_INFINITY && this->x < BC_INFINITY ) {
+                       size_hints.flags |= PPosition;
+                       size_hints.x = this->x;
+                       size_hints.y = this->y;
+               }
                XSetNormalHints(top_level->display, win, &size_hints);
        }
        XResizeWindow(top_level->display, win, w, h);