From: Iain Patterson Date: Sun, 8 Mar 2009 12:39:44 +0000 (+0000) Subject: Fix for windowed mode X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=ad8836f845babf08c9033700172c80967188f870;p=pager.git Fix for windowed mode DAMakePixmap() assumes the window is docked and of constant size. --- diff --git a/pager.c b/pager.c index d7818ef..6c60e09 100644 --- a/pager.c +++ b/pager.c @@ -287,7 +287,7 @@ void page() { enumerate_clients(&clients, &num_clients, &active_desktop, &active_window); - pixmap = DAMakePixmap(); + pixmap = XCreatePixmap(DADisplay, DAWindow, dockapp_width, dockapp_height, dockapp_depth); if (active_desktop == desktop) gc = active_desktopGC; else gc = inactive_desktopGC; draw_relief(pixmap, dockapp_width, dockapp_height, gc);