fixed: update root window size before every render
This commit is contained in:
parent
59573d0601
commit
ec4be1c54c
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ void CBitX11::Process()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XGetWindowAttributes(m_dpy, m_rootwin, &m_rootattr);
|
||||||
|
|
||||||
m_transform.matrix[0][0] = m_rootattr.width;
|
m_transform.matrix[0][0] = m_rootattr.width;
|
||||||
m_transform.matrix[1][1] = m_rootattr.width;
|
m_transform.matrix[1][1] = m_rootattr.width;
|
||||||
m_transform.matrix[2][2] = m_destwidth;
|
m_transform.matrix[2][2] = m_destwidth;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue