Dana Jansens
f0c2fa18be
window-to-window corner snapping!
2002-06-01 23:48:21 +00:00
Dana Jansens
39d598e556
backing out sticky transients change, this should go in the netwm branch
2002-06-01 18:08:49 +00:00
Dana Jansens
4e0fde35ac
make all parents/transients that are related have the same sticky state.
2002-06-01 17:18:55 +00:00
Dana Jansens
e149ab6c29
no need to try the same screen edge twice for snapping when full max is on
2002-05-30 23:17:54 +00:00
Dana Jansens
9ccebf1118
redecorating fixups. sync with bb cvs.
2002-05-30 08:55:30 +00:00
Dana Jansens
5336c900d0
merge in netwm branch at tag netwm-merge2
2002-05-30 06:51:43 +00:00
Dana Jansens
23640740ca
sync with bb cvs
2002-05-30 04:35:22 +00:00
Dana Jansens
46b2484eda
let a window snap to more than one window at a time
2002-05-28 11:46:29 +00:00
Dana Jansens
734a96739d
window-to-window snapping
2002-05-28 11:38:37 +00:00
Dana Jansens
57ac5e5b5e
sync with bb-cvs
2002-05-28 09:53:11 +00:00
Dana Jansens
6284d4ef90
fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
...
make util/ directory use the new config.h too
2002-05-28 09:38:40 +00:00
Dana Jansens
341c4e04ff
mouse wheel support
...
custom titlebar layout
2002-05-27 03:12:21 +00:00
Dana Jansens
c2ab902334
prevent (and if need be revert) shading if titlebar decor is toggled off
2002-05-26 20:53:48 +00:00
Dana Jansens
f5f7c8fb4e
use the raw screen size not the strut adjusted size to determine max_height and width of a client
2002-05-26 20:51:33 +00:00
Dana Jansens
0305cbdc3a
add Configuration class for generic configuration data load/save-ing.
...
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
2002-05-26 20:25:38 +00:00
Dana Jansens
c04cb76409
- raise the window during maximization if the user clicked the maximize button, but otherwise don't
...
- two fixes here. 1) only raise window in maximize if the window is focused, 2) remap window on reparent event
2002-05-25 15:45:09 +00:00
Dana Jansens
8794d357e6
import from bb-cvs
...
added slit and enable-clobber defines back in Makefile.am
2002-05-25 00:29:44 +00:00
Dana Jansens
67b4df1eff
merge the sticky window fix from 1.2.
2002-05-23 14:27:52 +00:00
Dana Jansens
ae3dc273c4
new i18n class using overloaded operator() instead of getMessage()
2002-05-16 22:35:59 +00:00
Dana Jansens
ae093dba2f
make a new autoRaiseDelay value take effect without having to restart
2002-05-16 09:24:40 +00:00
Dana Jansens
927091eef1
fix off-by-one window resizing bug
2002-05-16 07:16:32 +00:00
Dana Jansens
e7978c7d24
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
2002-05-14 23:15:38 +00:00
Dana Jansens
527864614b
set the button windows to None when they are destroyed so we know they are no longer valid windows
2002-05-14 19:32:32 +00:00
Dana Jansens
1b1efab489
compile with -Wall -W -pendantic when --enable-debug is set.
2002-05-14 19:28:34 +00:00
Dana Jansens
e81b9d6a72
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
2002-05-14 00:47:16 +00:00
Dana Jansens
6d16679486
focus code updates
2002-05-13 00:23:59 +00:00
Dana Jansens
ebdf25bf67
removed all 'using namespace std;' calls.
2002-05-12 21:15:40 +00:00
Dana Jansens
57fb41c806
converted the remaining LinkedLists in Screen to STL objects.
2002-05-12 09:15:09 +00:00
Dana Jansens
a0dbb0e13f
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'
2002-05-12 01:23:48 +00:00
Dana Jansens
098fae70a6
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
2002-05-10 02:58:09 +00:00
Dana Jansens
38de48bd8b
stop moving a window if it is maximized
2002-05-03 22:02:51 +00:00
Dana Jansens
5f9c458fbc
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)
2002-05-01 07:13:12 +00:00
Dana Jansens
0be1c1e8d7
when a window begins moving, make sure another window is not moving already, and if it is, end its move
2002-04-30 08:09:53 +00:00
Dana Jansens
f4d29bb737
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window
2002-04-30 07:46:46 +00:00
Dana Jansens
5705ea3613
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
2002-04-30 07:24:54 +00:00
Dana Jansens
84f0293a88
fix bug with window menu positioning
2002-04-29 23:27:31 +00:00
Dana Jansens
00dc78c66f
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
2002-04-29 07:31:44 +00:00
Dana Jansens
127252cc10
when a window is iconified, it was being moved, end the move cleanly
2002-04-28 19:17:16 +00:00
Dana Jansens
5e3ca8e665
don't click-to-place windows when they specify a position
2002-04-28 19:14:54 +00:00
Dana Jansens
4852193a57
properly handle placing a window while another window is still placing.
2002-04-28 19:09:25 +00:00
Dana Jansens
1789f16af9
if user is moving a window and switches workspaces, stop moving that window
2002-04-28 12:34:34 +00:00
Dana Jansens
8ef0610e90
added ClickMouse window placement policy
2002-04-28 12:12:24 +00:00
Dana Jansens
830e53f25c
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"
2002-04-28 11:26:55 +00:00
Dana Jansens
e5685e3cfd
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized
2002-04-27 19:25:20 +00:00
Dana Jansens
6a36505f8a
even more fixes for maximizing/placement with hidden slit/toolbar/etc
2002-04-22 23:00:57 +00:00
Dana Jansens
2809005ab0
maximize and placeWindow now behave properly when the slit is hidden
2002-04-22 22:24:15 +00:00
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
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
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