diff --git a/src/window.c b/src/window.c index 47d280c3..6c2ae26e 100644 --- a/src/window.c +++ b/src/window.c @@ -36,7 +36,7 @@ #include /* For getting mouse wheel mappings from WINGs */ -#include +#include #include "WindowMaker.h" #include "GNUstep.h" @@ -2735,9 +2735,9 @@ static void titlebarDblClick(WCoreWindow *sender, void *data, XEvent *event) wHideOtherApplications(wwin); } else if (event->xbutton.button == Button2) { wSelectWindow(wwin, !wwin->flags.selected); - } else if (event->xbutton.button == WINGsConfiguration.mouseWheelUp) { + } else if (event->xbutton.button == W_getconf_mouseWheelUp()) { wShadeWindow(wwin); - } else if (event->xbutton.button == WINGsConfiguration.mouseWheelDown) { + } else if (event->xbutton.button == W_getconf_mouseWheelDown()) { wUnshadeWindow(wwin); } }