Implement support for width_inc and height_inc of size hints
This fixes the problem where you saw old window contents when resizing a window (due to opening new windows or similar), especially in terminals.
This commit is contained in:
@ -177,6 +177,8 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
|
||||
new->child = child;
|
||||
new->rect.width = width;
|
||||
new->rect.height = height;
|
||||
new->width_increment = 1;
|
||||
new->height_increment = 1;
|
||||
/* Pre-initialize the values for floating */
|
||||
new->floating_rect.x = -1;
|
||||
new->floating_rect.width = width;
|
||||
|
Reference in New Issue
Block a user