summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorcos <cos>2013-05-25 16:22:40 +0200
committercos <cos>2013-05-25 16:46:02 +0200
commit77f6e9fa21658bb7954b84c64d460b9d58124bf2 (patch)
tree2a06696b537387d8221c45b4016d23dc88ece99e /src/data.h
parent166021512b2e39344ff4562323d15a1e2fdea153 (diff)
downloadratpoison-cr/deprecate_winliststyle.zip
Deprecate winliststyle variable & functionality.cr/deprecate_winliststyle
Window lists in ratpoison were initially displayed in one row, as modelled by how :windows work in screen. When originally implementing column display format an option to select between row & column was introduced. Setting winliststyle to row has been broken for almost four years. Given that no error reports have been seen during this time, it is fair to assume no one is using the functionality. Since allowing two values of winliststyle complicates the code to display winlists & requires different code paths for interactive & non-interactive use, it seems more sane to deprecate the unused feature rather than fix its bug(s).
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 947b571..a7dbc7e 100644
--- a/src/data.h
+++ b/src/data.h
@@ -251,9 +251,11 @@ struct rp_defaults
int startup_message;
+#ifdef WINLISTSTYLE
/* Decides whether the window list is displayed in a row or a
column. */
int window_list_style;
+#endif
/* Pointer warping toggle. */
int warp;