Commit graph

143 commits

Author SHA1 Message Date
Dana Jansens
aa2ec5f217 don't make Decor_Close depend on MWM hints. Thats not part of them. 2002-08-13 13:53:41 +00:00
Dana Jansens
6838ab254f fix whitespace 2002-08-12 21:00:12 +00:00
Dana Jansens
f633c5f057 allow the user to specify the modmask used to mouse events on windows 2002-08-10 18:21:10 +00:00
Dana Jansens
175a7e5d1c sync with bb-cvs 2002-08-10 16:52:43 +00:00
Dana Jansens
0f71036099 support the blackbox hints right and the blackbox attributes for decoration state 2002-08-10 16:15:19 +00:00
Dana Jansens
35818cc2f1 reconfigure wont break decor highlighting now 2002-08-10 00:03:29 +00:00
Dana Jansens
36db2d24ef set a window's decorations based on mwm and window type. Ignore the different blackbox 'levels' since they arent ever used anyways. This makes toggling a window's decor always work right too!
Also, make XGrabServer calls while workspace warping ot make sure another window isnt grabbed in place of the one thats warping
2002-08-09 23:55:18 +00:00
Dana Jansens
bc3268b6f9 handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way 2002-08-09 00:44:35 +00:00
Dana Jansens
2d5e1c55f1 don't let windows snap to themself 2002-08-08 23:02:52 +00:00
Dana Jansens
027dbd1c20 watch for transient == ~0ul 2002-08-08 05:00:43 +00:00
Dana Jansens
72c56d793b sync with blackbox 2002-08-07 00:24:58 +00:00
Dana Jansens
b8c0c7af12 dont snap things around crazy with small windows in resistance mode 2002-08-06 12:03:08 +00:00
Dana Jansens
b9e40b8b1e add the resource for the window snapping offset 2002-08-02 21:07:17 +00:00
Dana Jansens
1ecf3b734a honor the snap_offset properly for windows, and for edges(?) 2002-08-02 20:50:51 +00:00
Dana Jansens
22869af55c snap to windows/edges an optional offset away 2002-08-02 20:37:33 +00:00
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