From 4995f8c69e50b0c0102a4e1292662222b485b1a9 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 21 Aug 2005 17:32:43 +0000 Subject: [PATCH] small fixes, updated ebuild git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@126 7f574dfc-610e-0410-a909-a81674777703 --- Conky.kdevelop | 30 ++++++++++++++--------------- app-admin/conky/conky-1.9999.ebuild | 2 +- conky.c | 6 ++++-- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Conky.kdevelop b/Conky.kdevelop index 3d675203..a932f3f2 100644 --- a/Conky.kdevelop +++ b/Conky.kdevelop @@ -9,7 +9,7 @@ . false - + @@ -48,21 +48,21 @@ - --enable-debug=full --prefix=/usr --enable-mpd --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-metar --enable-mldonkey --enable-x11 + --enable-debug=full --prefix=/usr --enable-mpd --disable-xft --enable-seti --enable-double-buffer --disable-own-window --enable-metar --enable-mldonkey --enable-x11 debug kdevgccoptions kdevgppoptions kdevpgf77options -O2 -Wall -fexceptions -fomit-frame-pointer -fshort-enums -ggdb - - - - - - - - + + + + + + + + @@ -97,11 +97,11 @@ /usr/bin/libtool - + /usr/bin/ - - - + + + true false false @@ -182,7 +182,7 @@ 250 - + set m_,_ theValue diff --git a/app-admin/conky/conky-1.9999.ebuild b/app-admin/conky/conky-1.9999.ebuild index 8398de05..800df661 100644 --- a/app-admin/conky/conky-1.9999.ebuild +++ b/app-admin/conky/conky-1.9999.ebuild @@ -40,7 +40,7 @@ src_compile() { econf \ $(use_enable truetype xft) \ $(use_enable seti) \ - $(use_enable x x11) \ + $(use_enable X x11) \ --enable-double-buffer \ --enable-own-window \ --enable-proc-uptime \ diff --git a/conky.c b/conky.c index ec0d9a2a..a63ed1b4 100644 --- a/conky.c +++ b/conky.c @@ -2611,6 +2611,7 @@ static void update_text_area() y = workarea[3] - text_height - gap_y; break; +#ifdef OWN_WINDOW case NONE: // Let the WM manage the window x = window.x; y = window.y; @@ -2618,9 +2619,10 @@ static void update_text_area() fixed_pos = 1; fixed_size = 1; break; +#endif } - #ifdef OWN_WINDOW + if (own_window && !fixed_pos) { x += workarea[0]; y += workarea[1]; @@ -4253,7 +4255,7 @@ int main(int argc, char **argv) text_height + border_margin * 2 + 1, on_bottom, fixed_pos); #else - init_winow + init_window (own_window, text_width + border_margin * 2 + 1, text_height + border_margin * 2 + 1,