diff options
Diffstat (limited to 'src/Form.c')
-rw-r--r-- | src/Form.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -778,7 +778,7 @@ static XtGeometryResult PreferredGeometry( widget, request, reply ) reply->width = w->form.preferred_width; reply->height = w->form.preferred_height; reply->request_mode = CWWidth | CWHeight; - if ( request->request_mode & (CWWidth | CWHeight) == + if ( (request->request_mode & (CWWidth | CWHeight)) == (CWWidth | CWHeight) && request->width == reply->width && request->height == reply->height) |