mikachu/openbox.git
19 years agomoved menu from a rc file option to a command line option
Dana Jansens [Wed, 15 May 2002 22:23:35 +0000 (22:23 +0000)]
moved menu from a rc file option to a command line option

19 years agospelling error
Dana Jansens [Wed, 15 May 2002 21:16:14 +0000 (21:16 +0000)]
spelling error

19 years agoadded future release goals to the TODO
Dana Jansens [Wed, 15 May 2002 16:26:50 +0000 (16:26 +0000)]
added future release goals to the TODO

19 years agobetter setting of atoms. plugged memory leak.
Dana Jansens [Wed, 15 May 2002 10:14:45 +0000 (10:14 +0000)]
better setting of atoms. plugged memory leak.

19 years agobetter behavior with root pixmap atoms. create them if they do not exist.
Dana Jansens [Wed, 15 May 2002 03:54:43 +0000 (03:54 +0000)]
better behavior with root pixmap atoms. create them if they do not exist.

19 years agoupdate to work with renamed function in BaseDisplay
Dana Jansens [Wed, 15 May 2002 03:40:09 +0000 (03:40 +0000)]
update to work with renamed function in BaseDisplay

19 years agoupdate changelog.
Dana Jansens [Tue, 14 May 2002 23:30:22 +0000 (23:30 +0000)]
update changelog.
removed a redundant var from BaseDisplay.

19 years agoconfine the mouse to the window for button grabs so that alt-click-drag on a window...
Dana Jansens [Tue, 14 May 2002 23:15:38 +0000 (23:15 +0000)]
confine the mouse to the window for button grabs so that alt-click-drag on a window that wont move doesnt let the mouse leave the window and cause havoc

19 years agonew version of bsetbg
Dana Jansens [Tue, 14 May 2002 23:07:54 +0000 (23:07 +0000)]
new version of bsetbg
bsetroot now plays niecly with Eterm. Also, updated to the latest bsetroot from blackbox cvs

19 years agonew version of bsetroot ported from blackbox cvs
Dana Jansens [Tue, 14 May 2002 22:15:01 +0000 (22:15 +0000)]
new version of bsetroot ported from blackbox cvs

19 years agoset the button windows to None when they are destroyed so we know they are no longer...
Dana Jansens [Tue, 14 May 2002 19:32:32 +0000 (19:32 +0000)]
set the button windows to None when they are destroyed so we know they are no longer valid windows

19 years agocompile with -Wall -W -pendantic when --enable-debug is set.
Dana Jansens [Tue, 14 May 2002 19:28:34 +0000 (19:28 +0000)]
compile with -Wall -W -pendantic when --enable-debug is set.

19 years agonew focus code! working better than ever!
Dana Jansens [Tue, 14 May 2002 07:53:22 +0000 (07:53 +0000)]
new focus code! working better than ever!

19 years agofix creating/destroying the titlebar buttons
Dana Jansens [Tue, 14 May 2002 00:52:08 +0000 (00:52 +0000)]
fix creating/destroying the titlebar buttons

19 years agofix for changing window buttons order. destroy them properly when they no longer...
Dana Jansens [Tue, 14 May 2002 00:47:16 +0000 (00:47 +0000)]
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet

19 years agofix segfaut from uninitialized focused_screen pointer
Dana Jansens [Mon, 13 May 2002 23:09:20 +0000 (23:09 +0000)]
fix segfaut from uninitialized focused_screen pointer

19 years agofix compilign without LinkedList
Dana Jansens [Mon, 13 May 2002 02:34:42 +0000 (02:34 +0000)]
fix compilign without LinkedList

19 years agofocus code updates
Dana Jansens [Mon, 13 May 2002 00:23:59 +0000 (00:23 +0000)]
focus code updates

19 years agoLinkedList->STL conversion completed. LinkedList is no longer use and it has been...
Dana Jansens [Sun, 12 May 2002 22:45:28 +0000 (22:45 +0000)]
LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree.

19 years agono more use of LinkedList in BaseDisplay
Dana Jansens [Sun, 12 May 2002 22:40:32 +0000 (22:40 +0000)]
no more use of LinkedList in BaseDisplay

19 years agoremoved LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now
Dana Jansens [Sun, 12 May 2002 21:46:02 +0000 (21:46 +0000)]
removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now

19 years agoremoved all 'using namespace std;' calls.
Dana Jansens [Sun, 12 May 2002 21:15:40 +0000 (21:15 +0000)]
removed all 'using namespace std;' calls.

19 years agomove some typedefs into class scope
Dana Jansens [Sun, 12 May 2002 20:56:40 +0000 (20:56 +0000)]
move some typedefs into class scope

19 years agoconverted all of the openbox class LinkedLists to STL objects
Dana Jansens [Sun, 12 May 2002 20:46:02 +0000 (20:46 +0000)]
converted all of the openbox class LinkedLists to STL objects

19 years agoconverted the remaining LinkedLists in Screen to STL objects.
Dana Jansens [Sun, 12 May 2002 09:15:09 +0000 (09:15 +0000)]
converted the remaining LinkedLists in Screen to STL objects.

19 years agonot initializing a pointer to NULL
Dana Jansens [Sun, 12 May 2002 01:40:36 +0000 (01:40 +0000)]
not initializing a pointer to NULL

19 years agocouple of LinkedLists converted to STL lists in BScreen
Dana Jansens [Sun, 12 May 2002 01:23:48 +0000 (01:23 +0000)]
couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'

19 years agouse screen instead of its ImageControl to get/set the image dither value
Dana Jansens [Sat, 11 May 2002 18:36:26 +0000 (18:36 +0000)]
use screen instead of its ImageControl to get/set the image dither value

19 years agomake image dithering value load correctly
Dana Jansens [Sat, 11 May 2002 18:33:29 +0000 (18:33 +0000)]
make image dithering value load correctly

19 years agoconverted from LinkedList to STL vector and list
Dana Jansens [Sat, 11 May 2002 05:33:49 +0000 (05:33 +0000)]
converted from LinkedList to STL vector and list

19 years agoincrement version for next release
Dana Jansens [Fri, 10 May 2002 09:09:36 +0000 (09:09 +0000)]
increment version for next release

19 years agofixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
Dana Jansens [Fri, 10 May 2002 07:13:40 +0000 (07:13 +0000)]
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
save workspace names/count properly

19 years agobetter gcc3 compat. using ostrstream again. and using namespace std;
Dana Jansens [Fri, 10 May 2002 02:58:09 +0000 (02:58 +0000)]
better gcc3 compat. using ostrstream again. and using namespace std;
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg

19 years agoran autoconf to regen configure
Dana Jansens [Tue, 7 May 2002 15:36:00 +0000 (15:36 +0000)]
ran autoconf to regen configure

19 years agogcc 3 compatibility, converted strstreams to stringstreams
Dana Jansens [Tue, 7 May 2002 15:34:46 +0000 (15:34 +0000)]
gcc 3 compatibility, converted strstreams to stringstreams

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.