From ad2b5f0ec97fc061a49c07deef0f9a6ad1f4e384 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 12 Oct 2013 16:18:05 +0200 Subject: [PATCH] wmaker: Fixed compilation of XDND support The XDND support is not enabled by default, and not simple to enable (does not use the appropriate configure flag method). With previous global namespace related patches, this file not being enabled a change was missed. Now at least it compiles, although it is still an experimental feature. --- src/xdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdnd.c b/src/xdnd.c index bbf62504..48891d18 100644 --- a/src/xdnd.c +++ b/src/xdnd.c @@ -213,7 +213,7 @@ Bool acceptXDND(Window window) } } } - if (icon_pos < 0 && (dock = scr->workspaces[w_global.workspace.current]->clip) != NULL) { + if (icon_pos < 0 && (dock = w_global.workspace.array[w_global.workspace.current]->clip) != NULL) { for (i = 0; i < dock->max_icons; i++) { if (dock->icon_array[i] && dock->icon_array[i]->icon->core->window == window) {