Commit graph

6738 commits

Author SHA1 Message Date
Dana Jansens
6f2064b186 posible fix for maximizing when slit is auto-hidden 2002-04-22 18:59:04 +00:00
Dana Jansens
75c0a76a53 changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
2002-04-21 18:52:28 +00:00
Dana Jansens
b8dd077ab0 some placement fixes from colophon. 2002-04-21 17:54:51 +00:00
Dana Jansens
7eb8d6966c new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming. 2002-04-21 07:58:46 +00:00
Dana Jansens
f994c778d8 fixed some uninstall issues 2002-04-21 04:26:11 +00:00
Dana Jansens
e1b78a1f84 even better bestfit placement. way to go colophon! 2002-04-21 03:36:09 +00:00
Dana Jansens
18499a6920 specify the std:: namespace for the ostrstreams. 2002-04-21 02:17:34 +00:00
Dana Jansens
32951060f6 bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.
2002-04-21 02:02:27 +00:00
Scott Moynes
ec028e395f *** empty log message *** 2002-04-21 01:22:21 +00:00
Scott Moynes
194ad38678 tyops 2002-04-21 00:10:48 +00:00
Dana Jansens
981ed3081c compile fix for --disable-slit 2002-04-20 20:01:26 +00:00
Dana Jansens
95df11ff89 added Changelog entry for the improved maximize-window code. 2002-04-20 19:57:03 +00:00
Dana Jansens
8e083798b5 better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*
2002-04-20 19:53:19 +00:00
Dana Jansens
ca3bc6421b changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen. 2002-04-20 18:30:47 +00:00
Dana Jansens
de7a567d5b on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value. 2002-04-20 18:24:12 +00:00
Dana Jansens
874d0ea446 comment typo and function spacing fix 2002-04-20 18:13:55 +00:00
Scott Moynes
0a3cfdfcb9 fixed memory leaks for strftime_format and rootcommand 2002-04-20 15:28:14 +00:00
Scott Moynes
bed4d7c1e5 fixed memory leak of application_name 2002-04-20 15:26:41 +00:00
Scott Moynes
62e1784161 fixed a memory leak for resource.titlebar_layout 2002-04-20 15:25:18 +00:00
Dana Jansens
8f8eba7b96 fixed memory leak in screen::load() 2002-04-19 21:05:49 +00:00
Dana Jansens
e75d3560a6 updated TODO to match current cvs status. yay progress! 2002-04-19 07:57:05 +00:00
Dana Jansens
7440ad2e6f starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :) 2002-04-19 07:50:02 +00:00
Dana Jansens
940c1f614f temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place. 2002-04-19 06:51:08 +00:00
Scott Moynes
8ebee960ba added bsetbg makefile 2002-04-19 03:20:45 +00:00
Scott Moynes
66e3f4d060 added new bsetbg manpage 2002-04-18 21:07:47 +00:00
Dana Jansens
5067369f76 fix 2 bus errors on osx:
- it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.
2002-04-18 20:56:23 +00:00
Scott Moynes
1b129560d0 new bsetbg version with manpage 2002-04-18 20:54:45 +00:00
Dana Jansens
812f64eb56 new bsetbg from cthulhain 2002-04-18 20:36:28 +00:00
Dana Jansens
fa90396976 optimized the finding-the-slit-position code in positionWindow 2002-04-18 18:49:22 +00:00
Dana Jansens
83b39a9a3e added Inflate, Deflate, and Translate to the Rect geometry class 2002-04-18 18:11:33 +00:00
Dana Jansens
13ac6f2abd remove debugging couts 2002-04-18 07:28:12 +00:00
Dana Jansens
f27fe4edbb temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect. 2002-04-18 07:26:05 +00:00
Dana Jansens
4602d87180 now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed. 2002-04-18 03:00:12 +00:00
Dana Jansens
e148f58d0e maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure. 2002-04-18 02:05:51 +00:00
Dana Jansens
d99593673c accidently removed a line somehow. OpaqueMove is now read from the rc file. 2002-04-18 00:47:08 +00:00
Dana Jansens
307da13fff menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
2002-04-17 23:07:11 +00:00
Dana Jansens
9cd9d92bb1 configuration changes "done"!!
on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
2002-04-17 08:30:55 +00:00
Dana Jansens
66c879bd5c Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
2002-04-17 03:44:09 +00:00
Dana Jansens
73a3c979b3 Slit loads its own settings and saves them as they are changed
added an assert in Resource
2002-04-16 23:50:53 +00:00
Scott Moynes
fe9b1efde5 fixed snap to edges with toolbar hidden 2002-04-16 22:50:18 +00:00
Dana Jansens
43e9d583c5 renamed the obResource class to Resource. 2002-04-16 22:08:37 +00:00
Scott Moynes
82e61c015f fixed HAVE_STRING_H introduced from some parrallel development. blast 2002-04-16 20:30:53 +00:00
Scott Moynes
6985e48f53 need translations for Hide Toolbar 2002-04-16 20:26:11 +00:00
Scott Moynes
29fff5f56f Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.
2002-04-16 20:22:01 +00:00
Dana Jansens
88d43795b1 renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs
2002-04-16 20:11:00 +00:00
Dana Jansens
509c88f501 removed unneeded #include <X11/Xutil.h> 2002-04-16 14:55:38 +00:00
Dana Jansens
113181910a reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace. 2002-04-16 07:20:25 +00:00
Dana Jansens
251dd4034f get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead 2002-04-16 06:25:00 +00:00
Dana Jansens
67e5cb217e removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways) 2002-04-16 05:55:10 +00:00
Dana Jansens
897a9711d6 applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now
2002-04-16 01:10:53 +00:00