summaryrefslogtreecommitdiff
path: root/src/Window.cc
AgeCommit message (Collapse)Author
2002-05-16make a new autoRaiseDelay value take effect without having to restartDana Jansens
2002-05-16fix off-by-one window resizing bugDana Jansens
2002-05-14confine the mouse to the window for button grabs so that alt-click-drag on a ↵Dana Jansens
window that wont move doesnt let the mouse leave the window and cause havoc
2002-05-14set the button windows to None when they are destroyed so we know they are ↵Dana Jansens
no longer valid windows
2002-05-14compile with -Wall -W -pendantic when --enable-debug is set.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-12removed all 'using namespace std;' calls.Dana 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-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-03stop moving a window if it is maximizedDana Jansens
2002-05-01fix possible seg because of new move code. make sure that the masked_window ↵Dana Jansens
pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid)
2002-04-30when a window begins moving, make sure another window is not moving already, ↵Dana Jansens
and if it is, end its move
2002-04-30make sure that the only time Click-to-place kicks in is when initially ↵Dana Jansens
placing/mapping the window
2002-04-30bug #1 from click placement fixed. was catching more motionNotify events ↵Dana Jansens
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
2002-04-29fix bug with window menu positioningDana Jansens
2002-04-29better logic when changing a window's decoration level, for choosing what ↵Dana Jansens
elements of decoration get placed on the window.
2002-04-28when a window is iconified, it was being moved, end the move cleanlyDana Jansens
2002-04-28don't click-to-place windows when they specify a positionDana Jansens
2002-04-28properly handle placing a window while another window is still placing.Dana Jansens
2002-04-28if user is moving a window and switches workspaces, stop moving that windowDana Jansens
2002-04-28added ClickMouse window placement policyDana Jansens
2002-04-28moved the 'moving window' logic into separate functions "startMove" "doMove" ↵Dana Jansens
and "endMove"
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-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-22posible fix for maximizing when slit is auto-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-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-18fix 2 bus errors on osx:Dana Jansens
- 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-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-17Toolbar saves its settings as their changedDana Jansens
Main config's Hide Toolbar option is also saved when it is changed Removed 2 debug couts from Slit
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-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-14using a reference for Openbox instead of a pointerDana 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-14made shaded windows snap properly at their bottom, using their shaded height.Dana Jansens
window.getHeight() now returns the different/correct value when a window is shaded.
2002-04-12save_rc() using the obResource class to save blackbox's configuration.Dana Jansens
renamed BScreen::getCount to BScreen::getWorkspaceCount.
2002-04-11Initial revisionDana Jansens