From 9bb618efaeea9c88416d854adbda4ee71319224d Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 10 Dec 2011 10:08:48 -0800 Subject: [PATCH] removed Iconify function. Should be handled by the window manager. --- xboard.c | 16 ---------------- xboard.texi | 14 ++------------ 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/xboard.c b/xboard.c index 4d10b37..68650ab 100644 --- a/xboard.c +++ b/xboard.c @@ -444,7 +444,6 @@ void AboutGameProc P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void AboutProc P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void DebugProc P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void NothingProc P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); -void Iconify P((Widget w, XEvent *event, String *prms, Cardinal *nprms)); void DisplayMove P((int moveNumber)); void DisplayTitle P((char *title)); void ICSInitScript P((void)); @@ -921,7 +920,6 @@ XtActionsRec boardActions[] = { { "PieceMenuPopup", PieceMenuPopup }, { "WhiteClock", WhiteClock }, { "BlackClock", BlackClock }, - { "Iconify", Iconify }, { "ResetProc", ResetProc }, { "NewVariantProc", NewVariantProc }, { "LoadGameProc", LoadGameProc }, @@ -1108,7 +1106,6 @@ char globalTranslations[] = :CtrlH: HideThinkingProc() \n " #endif "\ - :-: Iconify() \n \ :F1: ManProc() \n \ :F2: FlipViewProc() \n \ .: BackwardProc() \n \ @@ -6870,19 +6867,6 @@ void NothingProc(w, event, prms, nprms) return; } -void Iconify(w, event, prms, nprms) - Widget w; - XEvent *event; - String *prms; - Cardinal *nprms; -{ - Arg args[16]; - - fromX = fromY = -1; - XtSetArg(args[0], XtNiconic, True); - XtSetValues(shellWidget, args, 1); -} - void DisplayMessage(message, extMessage) char *message, *extMessage; { diff --git a/xboard.texi b/xboard.texi index da12bd2..4a9e8c6 100644 --- a/xboard.texi +++ b/xboard.texi @@ -183,9 +183,7 @@ and defers reading and writing of user settings to a user-specific file like ~/.xboardrc in the user's home directory. When XBoard is iconized, its graphical icon is a white knight if -it is White's turn to move, a black knight if it is Black's turn. See -Iconize in @ref{Keys} below if you have problems getting this -feature to work. +it is White's turn to move, a black knight if it is Black's turn. @node Menus @chapter Menus, buttons, and keys @@ -1584,14 +1582,6 @@ Shows the current XBoard version number. @cindex Keys @cindex Shortcut keys @table @asis -@item Iconize -Pressing the @kbd{-} key iconizes XBoard. The graphical -icon displays a white knight if it is White's move, or a black knight -if it is Black's move. If your X window manager displays only text -icons, not graphical ones, check its documentation; there is probably -a way to enable graphical icons. If you get black and white reversed, -we would like to hear about it; see @ref{Problems} below for -instructions on how to report this problem. @item Load Next Game @cindex Load Next Game, Menu Item Loads the next game from the last game record file you loaded. @@ -1636,7 +1626,7 @@ BlindfoldProc, BookProc, CallFlagProc, CopyGameProc, CopyPositionProc, DebugProc, DeclineProc, DrawProc, EditCommentProc, EditGameProc, EditPositionProc, EditTagsProc, EnterKeyProc, FlashMovesProc, FlipViewProc, ForwardProc, GetMoveListProc, HighlightLastMoveProc, -HintProc, Iconify, IcsAlarmProc, IcsClientProc, IcsInputBoxProc, +HintProc, IcsAlarmProc, IcsClientProc, IcsInputBoxProc, InfoProc, LoadGameProc, LoadNextGameProc, LoadNextPositionProc, LoadPositionProc, LoadPrevGameProc, LoadPrevPositionProc, LoadSelectedProc, MachineBlackProc, MachineWhiteProc, MailMoveProc, -- 1.7.0.4