diff -r 4a880a6ab2ac -r 4a77f7049b5e src/window_gui.h --- a/src/window_gui.h Mon Dec 15 22:22:23 2008 +0000 +++ b/src/window_gui.h Tue Dec 16 17:58:27 2008 +0000 @@ -544,18 +544,9 @@ #define FOR_ALL_WINDOWS(wz) for (wz = _z_windows; wz != _last_z_window; wz++) /** - * In certain windows you navigate with the arrow keys. Do not scroll the - * gameview when here. Bitencoded variable that only allows scrolling if all - * elements are zero + * Disable scrolling of the main viewport when an input-window is active. + * This contains the count of windows with a textbox in them. */ -enum { - SCROLL_CON = 0, - SCROLL_EDIT = 1, - SCROLL_SAVE = 2, - SCROLL_CHAT = 4, -}; - -/** Disable scrolling of the main viewport when an input-window is active. */ extern byte _no_scroll; extern Point _cursorpos_drag_start;