From ad8836f845babf08c9033700172c80967188f870 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Sun, 8 Mar 2009 12:39:44 +0000 Subject: [PATCH] Fix for windowed mode DAMakePixmap() assumes the window is docked and of constant size. --- pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1