1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-12 19:06:36 +00:00

Fixed BadWindow bugs (#1568366, #1588384)

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@755 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-11-12 04:14:29 +00:00
parent 794e8716b9
commit 4d3891e76d
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# $Id$ # $Id$
2006-11-11
* Add max_user_text to documentation.
* Fixed BadWindow bugs (#1568366, #1588384).
2006-11-10 2006-11-10
* Remove on_bottom and xmms_player completely. * Remove on_bottom and xmms_player completely.
* Closed ibm_temps bug #1591609. * Closed ibm_temps bug #1591609.

View File

@ -5602,7 +5602,7 @@ static void clear_text(int exposures)
#endif #endif
{ {
/* there is some extra space for borders and outlines */ /* there is some extra space for borders and outlines */
XClearArea(display, window.drawable, XClearArea(display, window.window,
text_start_x - border_margin - 1, text_start_x - border_margin - 1,
text_start_y - border_margin - 1, text_start_y - border_margin - 1,
text_width + border_margin * 2 + 2, text_width + border_margin * 2 + 2,
@ -5722,11 +5722,11 @@ static void main_loop()
text_height + text_height +
border_margin * 2 + 1; border_margin * 2 + 1;
XResizeWindow(display, XResizeWindow(display,
window.drawable, window.window,
window.width, window.width,
window.height); window.height);
if (own_window) { if (own_window) {
set_transparent_background(window.drawable); set_transparent_background(window.window);
} }
} }