1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

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.
This commit is contained in:
Christophe CURIS
2013-10-12 16:18:05 +02:00
committed by Carlos R. Mafra
parent 1003f89dc0
commit ad2b5f0ec9

View File

@@ -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++) { for (i = 0; i < dock->max_icons; i++) {
if (dock->icon_array[i] if (dock->icon_array[i]
&& dock->icon_array[i]->icon->core->window == window) { && dock->icon_array[i]->icon->core->window == window) {