window: Make border_width private to X11

This commit is contained in:
Jasper St. Pierre
2014-05-20 09:19:10 -04:00
parent 5b7dff7a57
commit e215c07439
4 changed files with 28 additions and 13 deletions

View File

@ -432,8 +432,6 @@ struct _MetaWindow
/* Cached net_wm_icon_geometry */
MetaRectangle icon_geometry;
/* Requested geometry */
int border_width;
/* x/y/w/h here get filled with ConfigureRequest values */
XSizeHints size_hints;

View File

@ -828,8 +828,7 @@ _meta_window_shared_new (MetaDisplay *display,
window->rect.width = attrs->width;
window->rect.height = attrs->height;
/* And border width, size_hints are the "request" */
window->border_width = attrs->border_width;
/* size_hints are the "request" */
window->size_hints.x = attrs->x;
window->size_hints.y = attrs->y;
window->size_hints.width = attrs->width;