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:
@ -346,6 +346,11 @@ struct Client {
|
||||
int proportional_height;
|
||||
int proportional_width;
|
||||
|
||||
/** contains the minimum increment size as specified for the window
|
||||
* (in pixels). */
|
||||
int width_increment;
|
||||
int height_increment;
|
||||
|
||||
/** Height which was determined by reading the _NET_WM_STRUT_PARTIAL
|
||||
* top/bottom of the screen reservation */
|
||||
int desired_height;
|
||||
|
Reference in New Issue
Block a user