summaryrefslogtreecommitdiff
path: root/src/Workspace.cc
AgeCommit message (Collapse)Author
2002-05-26save workspace names properly with the new Configuration class.Dana Jansens
2002-05-25import from bb-cvsDana Jansens
added slit and enable-clobber defines back in Makefile.am
2002-05-23merge the sticky window fix from 1.2.Dana Jansens
2002-05-16new i18n class using overloaded operator() instead of getMessage()Dana Jansens
2002-05-14compile with -Wall -W -pendantic when --enable-debug is set.Dana Jansens
2002-05-14new focus code! working better than ever!Dana Jansens
2002-05-14fix for changing window buttons order. destroy them properly when they no ↵Dana Jansens
longer exist and recreate them if they dont exist yet
2002-05-13focus code updatesDana Jansens
2002-05-12converted the remaining LinkedLists in Screen to STL objects.Dana Jansens
2002-05-12couple of LinkedLists converted to STL lists in BScreenDana Jansens
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'
2002-05-11converted from LinkedList to STL vector and listDana Jansens
2002-05-10better gcc3 compat. using ostrstream again. and using namespace std;Dana Jansens
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
2002-05-07gcc 3 compatibility, converted strstreams to stringstreamsDana Jansens
2002-05-02windows at positions x<0 or y<0 are no longer ignored in the placing codeDana Jansens
2002-04-29fixed col placementDana Jansens
2002-04-28added ClickMouse window placement policyDana Jansens
2002-04-28new row/col Smart Placement from colophonDana Jansens
2002-04-28added UnderMouse windwo placement.Dana Jansens
2002-04-27better cascadePlacement. uses screen.availableArea().Dana Jansens
2002-04-27added BScreen::availableArea() which returns a rect specifying where windows ↵Dana Jansens
can be placed on the screen, and what area they can fill when maximized
2002-04-23Rolled back to the old row and column smart placement so we can get a 1.0.0 ↵Dana Jansens
release out the door.
2002-04-22even more fixes for maximizing/placement with hidden slit/toolbar/etcDana Jansens
2002-04-22maximize and placeWindow now behave properly when the slit is hiddenDana Jansens
2002-04-21changed external window interface to only have an area(), no size() and ↵Dana Jansens
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-21some placement fixes from colophon.Dana Jansens
2002-04-21new row and column placement, using a modified bestfit. These don't work ↵Dana Jansens
right yet, nor does bestfit, but they are coming.
2002-04-21even better bestfit placement. way to go colophon!Dana Jansens
2002-04-21bestfit placement now honors the left->right and top->bottom options for ↵Dana Jansens
window placement. fix for the placement config menu.
2002-04-20better logic to not place windows over the slit and toolbarDana Jansens
maximize uses this same logic to not maximize over the toolbar *and the slit*
2002-04-20changes to bestfit from ruhi. takes windows sizes into account properly, and ↵Dana Jansens
places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.
2002-04-18optimized the finding-the-slit-position code in positionWindowDana Jansens
2002-04-18remove debugging coutsDana Jansens
2002-04-18temporary solution to avoid placing windows over the slit and toolbar, until ↵Dana Jansens
NETWM is in effect.
2002-04-17configuration changes "done"!!Dana Jansens
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-16get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use ↵Dana Jansens
checks for individual headers instead
2002-04-16applied Ruhi's cleanup patch. moves colSmartPlacement into its own functionDana Jansens
using Geomtry objects instead of integer pairs in all of the placeWindow code now
2002-04-15added some consts to the cascade codeScott Moynes
2002-04-15Added a fallback for Best Fit to cascade. Also, moved cascade to its ownScott Moynes
function. May not be needed.
2002-04-14Slit has an area Rect now, and returns Rect, Size, and Points instead of ↵Dana Jansens
getX/Y and getWidth/Height.
2002-04-14BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeightDana Jansens
2002-04-14changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to ↵Dana Jansens
return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
2002-04-14Added Util.h, which contains only an ASSERT macro for nowDana Jansens
2002-04-14using a Screen reference instead of pointer in WorkspaceDana Jansens
2002-04-14using some references instead of pointers where possible in Screen, ↵Dana Jansens
ScreenInfo, Slit, Toolbar, and Netizen
2002-04-14Using some references instead of pointers for the menus.Dana Jansens
2002-04-14added first revision of the BestFit placement type.Dana Jansens
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
2002-04-11Initial revisionDana Jansens