mikachu/openbox.git
19 years agofix headers to use the new defines
Dana Jansens [Sun, 5 May 2002 23:18:35 +0000 (23:18 +0000)]
fix headers to use the new defines

19 years agostop moving a window if it is maximized
Dana Jansens [Fri, 3 May 2002 22:02:51 +0000 (22:02 +0000)]
stop moving a window if it is maximized

19 years agowindows at positions x<0 or y<0 are no longer ignored in the placing code
Dana Jansens [Thu, 2 May 2002 04:44:19 +0000 (04:44 +0000)]
windows at positions x<0 or y<0 are no longer ignored in the placing code

19 years agobetter toolbar strftime size/padding fix
Dana Jansens [Wed, 1 May 2002 22:30:44 +0000 (22:30 +0000)]
better toolbar strftime size/padding fix

19 years agoBScreen::resource.root_command wasnt being initialized
Dana Jansens [Wed, 1 May 2002 22:21:12 +0000 (22:21 +0000)]
BScreen::resource.root_command wasnt being initialized

19 years agoxsetbg typo
Dana Jansens [Wed, 1 May 2002 19:56:29 +0000 (19:56 +0000)]
xsetbg typo

19 years agofix possible seg because of new move code. make sure that the masked_window pointer...
Dana Jansens [Wed, 1 May 2002 07:13:12 +0000 (07:13 +0000)]
fix possible seg because of new move code. make sure that the masked_window pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid)

19 years agowhen a window begins moving, make sure another window is not moving already, and...
Dana Jansens [Tue, 30 Apr 2002 08:09:53 +0000 (08:09 +0000)]
when a window begins moving, make sure another window is not moving already, and if it is, end its move

19 years agomake sure that the only time Click-to-place kicks in is when initially placing/mappin...
Dana Jansens [Tue, 30 Apr 2002 07:46:46 +0000 (07:46 +0000)]
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window

19 years agobug #1 from click placement fixed. was catching more motionNotify events than i wante...
Dana Jansens [Tue, 30 Apr 2002 07:24:54 +0000 (07:24 +0000)]
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late

19 years agoremoving old files that got merged in
Dana Jansens [Tue, 30 Apr 2002 02:12:11 +0000 (02:12 +0000)]
removing old files that got merged in

19 years agosave the titlebarLayout in the default config
Dana Jansens [Tue, 30 Apr 2002 02:08:33 +0000 (02:08 +0000)]
save the titlebarLayout in the default config

19 years agochangelog fixes
Dana Jansens [Mon, 29 Apr 2002 23:45:06 +0000 (23:45 +0000)]
changelog fixes

19 years agofix positioning of the window menu
Dana Jansens [Mon, 29 Apr 2002 23:35:35 +0000 (23:35 +0000)]
fix positioning of the window menu

19 years agofix bug with window menu positioning
Dana Jansens [Mon, 29 Apr 2002 23:27:31 +0000 (23:27 +0000)]
fix bug with window menu positioning

19 years agofixed col placement
Dana Jansens [Mon, 29 Apr 2002 20:29:10 +0000 (20:29 +0000)]
fixed col placement

19 years agobetter logic when changing a window's decoration level, for choosing what elements...
Dana Jansens [Mon, 29 Apr 2002 07:41:53 +0000 (07:41 +0000)]
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.

19 years agobetter logic when changing a window's decoration level, for choosing what elements...
Dana Jansens [Mon, 29 Apr 2002 07:31:44 +0000 (07:31 +0000)]
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.

19 years agofixed bug from converting over to STL
Dana Jansens [Mon, 29 Apr 2002 01:58:28 +0000 (01:58 +0000)]
fixed bug from converting over to STL

19 years agobsetroot supports transparent apps with root property
Dana Jansens [Sun, 28 Apr 2002 19:38:47 +0000 (19:38 +0000)]
bsetroot supports transparent apps with root property

19 years agotook bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo...
Dana Jansens [Sun, 28 Apr 2002 19:35:59 +0000 (19:35 +0000)]
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo transparent apps should be happy"

19 years agowhen a window is iconified, it was being moved, end the move cleanly
Dana Jansens [Sun, 28 Apr 2002 19:17:16 +0000 (19:17 +0000)]
when a window is iconified, it was being moved, end the move cleanly

19 years agodon't click-to-place windows when they specify a position
Dana Jansens [Sun, 28 Apr 2002 19:14:54 +0000 (19:14 +0000)]
don't click-to-place windows when they specify a position

19 years agoproperly handle placing a window while another window is still placing.
Dana Jansens [Sun, 28 Apr 2002 19:09:25 +0000 (19:09 +0000)]
properly handle placing a window while another window is still placing.

19 years agoif user is moving a window and switches workspaces, stop moving that window
Dana Jansens [Sun, 28 Apr 2002 12:34:34 +0000 (12:34 +0000)]
if user is moving a window and switches workspaces, stop moving that window

19 years agoadded ClickMouse window placement policy
Dana Jansens [Sun, 28 Apr 2002 12:12:24 +0000 (12:12 +0000)]
added ClickMouse window placement policy

19 years agomoved the 'moving window' logic into separate functions "startMove" "doMove" and...
Dana Jansens [Sun, 28 Apr 2002 11:26:55 +0000 (11:26 +0000)]
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"

19 years agonew row/col Smart Placement from colophon
Dana Jansens [Sun, 28 Apr 2002 01:05:12 +0000 (01:05 +0000)]
new row/col Smart Placement from colophon

19 years agoadded UnderMouse windwo placement.
Dana Jansens [Sun, 28 Apr 2002 00:11:19 +0000 (00:11 +0000)]
added UnderMouse windwo placement.

19 years agobetter cascadePlacement. uses screen.availableArea().
Dana Jansens [Sat, 27 Apr 2002 21:15:00 +0000 (21:15 +0000)]
better cascadePlacement. uses screen.availableArea().

19 years agoadded BScreen::availableArea() which returns a rect specifying where windows can...
Dana Jansens [Sat, 27 Apr 2002 19:25:20 +0000 (19:25 +0000)]
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized

19 years agoremoved debugging couts
Dana Jansens [Sat, 27 Apr 2002 19:24:09 +0000 (19:24 +0000)]
removed debugging couts

19 years agoadd std:: to the vector typedef in Basemenu
Dana Jansens [Sat, 27 Apr 2002 18:53:59 +0000 (18:53 +0000)]
add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList

19 years agoconverted from LinkedList to a vector
Dana Jansens [Sat, 27 Apr 2002 18:21:21 +0000 (18:21 +0000)]
converted from LinkedList to a vector

19 years agomore dithering fix.
Dana Jansens [Fri, 26 Apr 2002 07:38:17 +0000 (07:38 +0000)]
more dithering fix.

19 years agothat segfaulted. oops. added a workaround so setImageDither doesnt reconfig when...
Dana Jansens [Fri, 26 Apr 2002 07:19:22 +0000 (07:19 +0000)]
that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values

19 years agowhen Image Dither is changed in the menu, make ob reconfigure so it uses the dithering
Dana Jansens [Fri, 26 Apr 2002 07:13:22 +0000 (07:13 +0000)]
when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering

19 years agofix Resource class so that you cant cast a string to a Resource
Dana Jansens [Wed, 24 Apr 2002 20:34:17 +0000 (20:34 +0000)]
fix Resource class so that you cant cast a string to a Resource

19 years agoRolled back to the old row and column smart placement so we can get a 1.0.0 release...
Dana Jansens [Tue, 23 Apr 2002 19:59:44 +0000 (19:59 +0000)]
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.

19 years agoeven more fixes for maximizing/placement with hidden slit/toolbar/etc
Dana Jansens [Mon, 22 Apr 2002 23:00:57 +0000 (23:00 +0000)]
even more fixes for maximizing/placement with hidden slit/toolbar/etc

19 years agomaximize and placeWindow now behave properly when the slit is hidden
Dana Jansens [Mon, 22 Apr 2002 22:24:15 +0000 (22:24 +0000)]
maximize and placeWindow now behave properly when the slit is hidden

19 years agochanging to the older version of this style. its far superior :)
Dana Jansens [Mon, 22 Apr 2002 19:40:52 +0000 (19:40 +0000)]
changing to the older version of this style. its far superior :)

19 years agoposible fix for maximizing when slit is auto-hidden
Dana Jansens [Mon, 22 Apr 2002 18:59:04 +0000 (18:59 +0000)]
posible fix for maximizing when slit is auto-hidden

19 years agochanged external window interface to only have an area(), no size() and origin()...
Dana Jansens [Sun, 21 Apr 2002 18:52:28 +0000 (18:52 +0000)]
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

19 years agosome placement fixes from colophon.
Dana Jansens [Sun, 21 Apr 2002 17:54:51 +0000 (17:54 +0000)]
some placement fixes from colophon.

19 years agonew row and column placement, using a modified bestfit. These don't work right yet...
Dana Jansens [Sun, 21 Apr 2002 07:58:46 +0000 (07:58 +0000)]
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.

19 years agofixed some uninstall issues
Dana Jansens [Sun, 21 Apr 2002 04:26:11 +0000 (04:26 +0000)]
fixed some uninstall issues

19 years agoeven better bestfit placement. way to go colophon!
Dana Jansens [Sun, 21 Apr 2002 03:36:09 +0000 (03:36 +0000)]
even better bestfit placement. way to go colophon!

19 years agospecify the std:: namespace for the ostrstreams.
Dana Jansens [Sun, 21 Apr 2002 02:17:34 +0000 (02:17 +0000)]
specify the std:: namespace for the ostrstreams.

19 years agobestfit placement now honors the left->right and top->bottom options for window place...
Dana Jansens [Sun, 21 Apr 2002 02:02:27 +0000 (02:02 +0000)]
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.

19 years ago*** empty log message ***
Scott Moynes [Sun, 21 Apr 2002 01:22:21 +0000 (01:22 +0000)]
*** empty log message ***

19 years agotyops
Scott Moynes [Sun, 21 Apr 2002 00:10:48 +0000 (00:10 +0000)]
tyops

19 years agocompile fix for --disable-slit
Dana Jansens [Sat, 20 Apr 2002 20:01:26 +0000 (20:01 +0000)]
compile fix for --disable-slit

19 years agoadded Changelog entry for the improved maximize-window code.
Dana Jansens [Sat, 20 Apr 2002 19:57:03 +0000 (19:57 +0000)]
added Changelog entry for the improved maximize-window code.

19 years agobetter logic to not place windows over the slit and toolbar
Dana Jansens [Sat, 20 Apr 2002 19:53:19 +0000 (19:53 +0000)]
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*

19 years agochanges to bestfit from ruhi. takes windows sizes into account properly, and places...
Dana Jansens [Sat, 20 Apr 2002 18:30:47 +0000 (18:30 +0000)]
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.

19 years agoon reconfigure, if an option isn't specified in the rc file, then it will revert...
Dana Jansens [Sat, 20 Apr 2002 18:24:12 +0000 (18:24 +0000)]
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.

19 years agocomment typo and function spacing fix
Dana Jansens [Sat, 20 Apr 2002 18:13:55 +0000 (18:13 +0000)]
comment typo and function spacing fix

19 years agofixed memory leaks for strftime_format and rootcommand
Scott Moynes [Sat, 20 Apr 2002 15:28:14 +0000 (15:28 +0000)]
fixed memory leaks for strftime_format and rootcommand

19 years agofixed memory leak of application_name
Scott Moynes [Sat, 20 Apr 2002 15:26:41 +0000 (15:26 +0000)]
fixed memory leak of application_name

19 years agofixed a memory leak for resource.titlebar_layout
Scott Moynes [Sat, 20 Apr 2002 15:25:18 +0000 (15:25 +0000)]
fixed a memory leak for resource.titlebar_layout

19 years agofixed memory leak in screen::load()
Dana Jansens [Fri, 19 Apr 2002 21:05:49 +0000 (21:05 +0000)]
fixed memory leak in screen::load()

19 years agoupdated TODO to match current cvs status. yay progress!
Dana Jansens [Fri, 19 Apr 2002 07:57:05 +0000 (07:57 +0000)]
updated TODO to match current cvs status. yay progress!

19 years agostarting openbox without an rc file now works. it makes an empty Xrm db instead of...
Dana Jansens [Fri, 19 Apr 2002 07:50:02 +0000 (07:50 +0000)]
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)

19 years agotemprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need...
Dana Jansens [Fri, 19 Apr 2002 06:51:08 +0000 (06:51 +0000)]
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.

19 years agoadded bsetbg makefile
Scott Moynes [Fri, 19 Apr 2002 03:20:45 +0000 (03:20 +0000)]
added bsetbg makefile

19 years agoadded new bsetbg manpage
Scott Moynes [Thu, 18 Apr 2002 21:07:47 +0000 (21:07 +0000)]
added new bsetbg manpage

19 years agofix 2 bus errors on osx:
Dana Jansens [Thu, 18 Apr 2002 20:56:23 +0000 (20:56 +0000)]
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.

19 years agonew bsetbg version with manpage
Scott Moynes [Thu, 18 Apr 2002 20:54:45 +0000 (20:54 +0000)]
new bsetbg version with manpage

19 years agonew bsetbg from cthulhain
Dana Jansens [Thu, 18 Apr 2002 20:36:28 +0000 (20:36 +0000)]
new bsetbg from cthulhain

19 years agooptimized the finding-the-slit-position code in positionWindow
Dana Jansens [Thu, 18 Apr 2002 18:49:22 +0000 (18:49 +0000)]
optimized the finding-the-slit-position code in positionWindow

19 years agoadded Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens [Thu, 18 Apr 2002 18:11:33 +0000 (18:11 +0000)]
added Inflate, Deflate, and Translate to the Rect geometry class

19 years agoremove debugging couts
Dana Jansens [Thu, 18 Apr 2002 07:28:12 +0000 (07:28 +0000)]
remove debugging couts

19 years agotemporary solution to avoid placing windows over the slit and toolbar, until NETWM...
Dana Jansens [Thu, 18 Apr 2002 07:26:05 +0000 (07:26 +0000)]
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.

19 years agonow yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resour...
Dana Jansens [Thu, 18 Apr 2002 03:00:12 +0000 (03:00 +0000)]
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.

19 years agomaps/unmaps the toolbar when its resource setting is loaded from the file so it takes...
Dana Jansens [Thu, 18 Apr 2002 02:05:51 +0000 (02:05 +0000)]
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.

19 years agoaccidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens [Thu, 18 Apr 2002 00:47:08 +0000 (00:47 +0000)]
accidently removed a line somehow. OpaqueMove is now read from the rc file.

19 years agomenus update their values when they are reconfigure()d.
Dana Jansens [Wed, 17 Apr 2002 23:07:11 +0000 (23:07 +0000)]
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.

19 years agoconfiguration changes "done"!!
Dana Jansens [Wed, 17 Apr 2002 08:30:55 +0000 (08:30 +0000)]
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.

19 years agoToolbar saves its settings as their changed
Dana Jansens [Wed, 17 Apr 2002 03:44:09 +0000 (03:44 +0000)]
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

19 years agoSlit loads its own settings and saves them as they are changed
Dana Jansens [Tue, 16 Apr 2002 23:50:53 +0000 (23:50 +0000)]
Slit loads its own settings and saves them as they are changed
added an assert in Resource

19 years agofixed snap to edges with toolbar hidden
Scott Moynes [Tue, 16 Apr 2002 22:50:18 +0000 (22:50 +0000)]
fixed snap to edges with toolbar hidden

19 years agorenamed the obResource class to Resource.
Dana Jansens [Tue, 16 Apr 2002 22:08:37 +0000 (22:08 +0000)]
renamed the obResource class to Resource.

19 years agofixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes [Tue, 16 Apr 2002 20:30:53 +0000 (20:30 +0000)]
fixed HAVE_STRING_H introduced from some parrallel development. blast

19 years agoneed translations for Hide Toolbar
Scott Moynes [Tue, 16 Apr 2002 20:26:11 +0000 (20:26 +0000)]
need translations for Hide Toolbar

19 years agoAdded a runtime option for hiding the toolbar totally. Will be cleaner
Scott Moynes [Tue, 16 Apr 2002 20:22:01 +0000 (20:22 +0000)]
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.

19 years agorenamed the Changelog files
Dana Jansens [Tue, 16 Apr 2002 20:11:00 +0000 (20:11 +0000)]
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs

19 years agoremoved unneeded #include <X11/Xutil.h>
Dana Jansens [Tue, 16 Apr 2002 14:55:38 +0000 (14:55 +0000)]
removed unneeded #include <X11/Xutil.h>

19 years agoreversed tehmouse wheel buttons on the root window. scrolling up now goes to the...
Dana Jansens [Tue, 16 Apr 2002 07:20:25 +0000 (07:20 +0000)]
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.

19 years agoget rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks...
Dana Jansens [Tue, 16 Apr 2002 06:25:00 +0000 (06:25 +0000)]
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead

19 years agoremoved the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens [Tue, 16 Apr 2002 05:55:10 +0000 (05:55 +0000)]
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)

19 years agoapplied Ruhi's cleanup patch. moves colSmartPlacement into its own function
Dana Jansens [Tue, 16 Apr 2002 01:10:53 +0000 (01:10 +0000)]
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

19 years agoadded some consts to the cascade code
Scott Moynes [Mon, 15 Apr 2002 15:45:11 +0000 (15:45 +0000)]
added some consts to the cascade code

19 years agoapparently there were compiling problems with automake/autoconf. This should make...
Dana Jansens [Mon, 15 Apr 2002 06:44:49 +0000 (06:44 +0000)]
apparently there were compiling problems with automake/autoconf. This should make those go away.

19 years agoAdded a fallback for Best Fit to cascade. Also, moved cascade to its own
Scott Moynes [Mon, 15 Apr 2002 02:37:18 +0000 (02:37 +0000)]
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.

19 years agoadd the Geometry classes to bsetroot
Dana Jansens [Sun, 14 Apr 2002 19:41:50 +0000 (19:41 +0000)]
add the Geometry classes to bsetroot

19 years agoFixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens [Sun, 14 Apr 2002 19:32:09 +0000 (19:32 +0000)]
Fixed bsetroot to use the new Geometries returned in ScreenInfo

19 years agoSlit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and...
Dana Jansens [Sun, 14 Apr 2002 19:30:38 +0000 (19:30 +0000)]
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.

19 years agoBScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens [Sun, 14 Apr 2002 18:48:32 +0000 (18:48 +0000)]
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight

19 years agochanged OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return...
Dana Jansens [Sun, 14 Apr 2002 18:28:11 +0000 (18:28 +0000)]
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().