Commit Graph

14 Commits

Author SHA1 Message Date
Mike Small 5d1c9ebee6 Builtin move-or-lower, move-or-raise, move-or-iconify
(instead of user defined functions in default config file)

- Remove MoveDelta option in favor of a program constant.
- Remove deltastop function. It was part of the mechanism to provide
  move-or-* as custom functions.
2021-02-15 20:10:59 -05:00
Mike Small 63be49b23c Remove iconify/deiconify zoom animation option
It's too fast to see.
2021-01-31 23:41:29 -05:00
Mike Small 21dcde5dd6 Remove NoGrabServer and IconRegion options
Update documentation, including new simplified icon placement.
2021-01-31 22:47:18 -05:00
Mike Small 893bdb5928 Convert menus.c to C++ menus.cc 2021-01-31 12:39:10 -05:00
Mike Small 740a9e9e79 Start converting to C++. Start simplified icon placement. 2019-10-06 22:28:07 -04:00
Mike Small 2a336b4f12 Remove TitlePadding option, hardcoding default.
I cannot ever see myself wanting to customize this distance between the
buttons. If I decide to pack them tighter or vice versa, I'll change
the TITLE_PADDING macro.

This is an early step in eliminating the TBInfo structure (screen.h).
2018-11-25 23:50:24 -05:00
Mike Small d232df77c4 Remove border widths, title button indent and random placement options.
I use the default border width, 2 pixels.  I use "random" placement
instead of the manually sized grid at window creation.

Also get rid of the Clientborderwidth and respect existing window
border widths unless they are zero.

I got rid of the title button borders and made the buttons use as
much space as available. The resize button looked odd so I added
one more pair of line segments that more or less match up with where
the old right and bottom border would have been.
2018-09-06 21:22:43 -04:00
Mike Small 4de2773058 Remove RandomPlacement and UsePPosition options.
For now that means to behave as if RandomPlacement is true
and UsePPosition is non-zero (use PPosition if the window position
isn't (0,0).
2018-08-25 15:01:34 -04:00
Mike Small eb039dc872 Remove opaquemove option. Always use wire frame. 2018-08-23 00:27:04 -04:00
Mike Small 94f29d39ab Remove title squeeze and window highlight options.
1. Always squeeze title and on left.
2. Always highlight windows and their titles.
2018-08-14 00:38:38 -04:00
Mike Small c042bc37ee Remove DontIconifyByUnmapping and IconifyByUnmapping options. 2018-02-11 19:57:36 -05:00
Mike Small fd61bea39c Remove the iconmgr feature.
With this twmruined reads .twmruinedrc instead of .twmrc.

Some more details from the Changelog:

* src/twm.h and several other files: remove iconmgr functionality.
Also drop the sample configuration file directory. These referenced
iconmgr settings which I've removed. As more settings go these
files would get further and further from their authors' intentions
if I were to maintain them.

* aclocal.m4: regenerated using aclocal (automake) 1.15.1 on OpenBSD 6.2.
export AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15.1 ACLOCAL=/usr/local/bin/aclocal-1.15
/usr/local/bin/aclocal-1.15 -I /usr/X11R6/share/aclocal

* configure: regenerated using autoconf 2.69 on OpenBSD 6.2.
2017-12-16 21:42:55 -05:00
Mike Small 5cfb5bf2e7 Preliminaries: renaming 2017-09-28 00:55:30 -04:00
Michael Small 20894d7b1b twm-1.0.9 2017-09-15 23:01:49 -04:00