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,