Change Select menu entry text for selected windows.
commite47413eefd28cab5e4591394b5062dcbcf162ce7
authorIain Patterson <wm@iain.cx>
Tue, 26 Mar 2013 16:57:05 +0000 (26 16:57 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 26 Mar 2013 23:19:39 +0000 (26 23:19 +0000)
tree16a40443d03216b4887b84e4bed3c5c46b961a02
parent17f1eb65689e8cd734d850f7b340ca7d886ccfb8
Change Select menu entry text for selected windows.

Other toggle menu items such as Maximize and Shade change their text
labels according to the action which will be performed.  A shaded window
has its Shade menu item text changed to Unshade, for instance.

As well as maintaining consistency with other menu items, changing the
Select menu entry's text to Deselect for current selected windows
provides another (the only) way of reporting that a window is selected
when its border has been disabled.  Currently the only indication that a
window is selected is that its border colour will change.
src/winmenu.c