Dana Jansens
3356db4885
add rc options for window snapping/resistance
2002-08-02 19:02:47 +00:00
Dana Jansens
b1a2c014eb
snapping/resistance is optional for window and edge snapping
2002-08-02 18:37:31 +00:00
Dana Jansens
628a4ff368
snap to bottoms too =]
2002-08-02 17:37:28 +00:00
Dana Jansens
39bd954b8b
window resistance complete
2002-08-02 17:30:50 +00:00
Dana Jansens
c2b3dc9f71
more resistance working. edge of screen works right now
2002-08-02 16:54:08 +00:00
Dana Jansens
d94e8c5068
stab #3 . window-to-window works. window-to-screen doesnt
2002-08-02 16:42:23 +00:00
Dana Jansens
6fd2543588
second stab at resistance
2002-08-02 15:58:35 +00:00
Dana Jansens
e9a5c7158a
first stab at window resistance instead of snapping
2002-08-02 15:40:46 +00:00
Dana Jansens
25a18140fa
remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it!
2002-07-30 07:29:36 +00:00
Dana Jansens
a7515b6d85
don't focus non-visible windows
2002-07-30 07:17:07 +00:00
Dana Jansens
06b160db51
use a list of rects instead of windows for window-to-window snapping. Also, snap directly to the slit and toolbar, instead of snapping to the strut.
2002-07-29 15:06:46 +00:00
Dana Jansens
77c518f808
better sticky windows.
2002-07-29 06:21:31 +00:00
Dana Jansens
f61a455ec1
get the window's title before adding it to the workspace, since the workspace menu wants that title
2002-07-29 05:25:30 +00:00
Dana Jansens
03f9d6170b
sync with bb-cvs (fixes the java bug, plus menu prasing redone)
2002-07-28 18:40:43 +00:00
Dana Jansens
5ec63388b8
fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly.
2002-07-27 18:17:45 +00:00
Dana Jansens
3816b6a257
when a window is uniconified, ensure its nothe 'last focused window' on some other workspace
2002-07-27 08:19:40 +00:00
Dana Jansens
98c17f1809
let normal windows be netizens again
2002-07-26 21:38:05 +00:00
Dana Jansens
83b6c9bfa0
sync with bb-cvs
2002-07-26 08:37:15 +00:00
Dana Jansens
60f0d8920c
take out that goddamn stupid assert
2002-07-25 01:33:45 +00:00
Dana Jansens
1e5bbca8a8
use the flag not the function
2002-07-25 01:32:29 +00:00
Dana Jansens
0d209464b1
better focusing. don't set the focused window when its not really set yet, and don't uncheck windows as they lose focus when they are iconified
2002-07-25 01:24:25 +00:00
Dana Jansens
5cb2020b9b
make modal dialogs unmodal before reassigning focus when they are unmanaged
2002-07-23 16:17:28 +00:00
Dana Jansens
6417766553
indenting
2002-07-23 05:35:40 +00:00
Dana Jansens
be306f6b60
add rc option for workspaceWarping
2002-07-23 04:22:42 +00:00
Dana Jansens
a41a0c1ac8
fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
2002-07-23 04:01:39 +00:00
Dana Jansens
ba9c665a87
workspace warping. this needs to be optional! also motion events are retarded!
2002-07-23 03:56:29 +00:00
Dana Jansens
4c03637fd1
modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them.
2002-07-23 01:05:31 +00:00
Dana Jansens
1e19ccc2cb
snapping better to the xinerama regions
2002-07-22 21:09:30 +00:00
Dana Jansens
b73ff84f6f
make it real easy to change the modifier key used for mouse bindings
2002-07-22 08:49:50 +00:00
Dana Jansens
ccecab7915
dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea
2002-07-22 07:31:07 +00:00
Dana Jansens
debe8a2f74
window snapping now has xinerama support
2002-07-22 06:49:12 +00:00
Dana Jansens
c293fd65ca
xinerama support for maximizing windows
2002-07-22 04:56:25 +00:00
Dana Jansens
bd7f948159
sync with bb-cvs.
...
Add option in config menu for disabling mouse input with scroll lock.
Remove compile-time flag for event clobbering since this solves that problem for now.
2002-07-21 09:56:18 +00:00
Dana Jansens
37824505d7
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
2002-07-19 19:31:57 +00:00
Dana Jansens
23da937e01
only focus new transient windows if their parent has the input focus
2002-07-19 06:56:00 +00:00
Dana Jansens
ec5ea27e53
select the focused window in the workspace menu
2002-07-18 06:29:38 +00:00
Dana Jansens
2dde696a13
much awesome support for special windows like panels/desktops.
...
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
2002-07-16 08:00:59 +00:00
Dana Jansens
41053a810a
put the assert back. better solution in mind
2002-07-16 05:09:03 +00:00
Dana Jansens
d5d02c45eb
taking out an assert that only causes problems
2002-07-16 05:07:16 +00:00
Dana Jansens
daaac0dfe2
Click Mouse Placement is BACK!#!#
2002-07-16 05:00:09 +00:00
Dana Jansens
1d4391b09c
dont reposition non-normal/dialog windows when they get focus, such as kde's kicker, if they are off screen. they are special and may be doing this on purpose
2002-07-16 03:50:55 +00:00
Dana Jansens
af0eced081
kde's 'desktop menu' now works just like a panel
2002-07-15 22:27:46 +00:00
Dana Jansens
c6a826bf66
fix case where the window group deletes itself. somehow missed this while syncing! :(
2002-07-14 18:47:52 +00:00
Dana Jansens
3312a209d7
sych with blackbox
2002-07-14 18:45:46 +00:00
Dana Jansens
17fbff7d70
make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock.
2002-07-11 23:44:04 +00:00
Dana Jansens
0c04fb5260
synch with bb-cvs.
...
add window resize zones. the resource has been renamed from windowZones to resizeZones.
2002-07-09 06:09:10 +00:00
Dana Jansens
8e34bfcfcb
keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops)
2002-07-09 04:49:04 +00:00
Dana Jansens
f2ecfb623b
when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces.
2002-07-09 01:22:16 +00:00
Dana Jansens
300491ce5a
sync with bb-cvs
2002-07-07 10:27:06 +00:00
Dana Jansens
6716bd3323
sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily
2002-07-05 23:56:10 +00:00
Dana Jansens
4abbbd9f84
remove compiler warnings
2002-07-05 20:13:56 +00:00
Dana Jansens
6954842d84
when placing a window, dont use its strut while placing itself.
2002-07-05 19:47:44 +00:00
Dana Jansens
e15e4a9e03
make iconified windows uniconify on an XMapRequestEvent.
...
sync with blackbox cvs.
2002-07-05 01:24:32 +00:00
Dana Jansens
be2f47223c
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
2002-07-04 21:33:27 +00:00
Dana Jansens
08d793bb79
add BFont class, with Xft support
2002-07-03 06:34:25 +00:00
Dana Jansens
9aaf4f8de7
some memory bugs from woodblock (thanks!)
2002-07-03 05:26:11 +00:00
Dana Jansens
888c0bac90
backing out all changes to make mouse button mapping's configurable
2002-07-02 14:57:02 +00:00
Dana Jansens
ffa4c7f341
sync with bb. mostly cleanups in Window.cc
2002-06-30 09:53:52 +00:00
Dana Jansens
18064df19f
add capability to stick a window from input, and make close buttons work.
2002-06-30 03:30:54 +00:00
Dana Jansens
351a06655b
Configureable button mappings!
2002-06-29 23:50:04 +00:00
Dana Jansens
578a5cc980
make fully max'd windows properly snap
2002-06-27 17:54:32 +00:00
Dana Jansens
b2e9af8886
add the functionality for window-window snapping
2002-06-22 04:48:33 +00:00
Dana Jansens
f4c0547b7a
merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now.
2002-06-21 20:40:14 +00:00
Dana Jansens
1766453ca2
sync with blackbox-cvs
2002-06-21 01:06:29 +00:00
Dana Jansens
e90fafd2fd
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
2002-06-07 00:24:02 +00:00
Dana Jansens
aad50046de
synched with bb-cvs. couple bug fixes.
2002-06-05 04:20:08 +00:00
Dana Jansens
a7db565c75
window-to-window snapping is now a run-time option.
...
window-corner snapping added, and also is a run-time option.
2002-06-02 00:30:55 +00:00
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