Commit graph

379 commits

Author SHA1 Message Date
Dana Jansens
a2db09b869 ignore the EnterNotify for focusing when changing workspaces in an ACTIVE_WINDOW change, so that the right window gets focused, not the window under the mouse. 2002-08-16 04:25:13 +00:00
Dana Jansens
a0c7fe1f12 sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
2002-08-15 16:27:02 +00:00
Dana Jansens
b016470119 testing whether i caused a bug with this code 2002-08-14 15:10:57 +00:00
Dana Jansens
74a4bc01a7 properly watch for windows on other workspaces when mapping. 2002-08-14 06:26:42 +00:00
Dana Jansens
4bebd476c3 remove the net_wm_desktop/state hints from a window when we stop managing it, so that if an app reuses the window, we don't place it on the wrong workspace the second time. 2002-08-14 06:15:08 +00:00
Dana Jansens
ef66d63b42 dont let windows get initially mapped when they arent on the current workspace 2002-08-13 21:25:41 +00:00
Dana Jansens
91b0784330 don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet 2002-08-13 21:14:37 +00:00
Dana Jansens
1a145bba61 resize with alt+right click in all the same places that alt+left click moves 2002-08-13 17:49:34 +00:00
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
6e07a64d33 add the FlatBorder texture type 2002-08-10 17:36:26 +00:00
Dana Jansens
ff3d12175e when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully 2002-08-10 16:53:17 +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
01096f8674 sync with blackbox-cvs 2002-08-08 23:07:24 +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
f3a54e41a0 use the old method for showing windows on workspace change 2002-08-08 05:00:14 +00:00
Dana Jansens
72c56d793b sync with blackbox 2002-08-07 00:24:58 +00:00
Dana Jansens
4e84a99f0a disable things in the placement menu when they dont have any effect for the selected placement type 2002-08-06 23:39:13 +00:00
Dana Jansens
00391787e3 perhaps fix a segfault here 2002-08-06 22:21:12 +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
08e28f38a9 add a sanity check for the snap offset, limiting it to 50 2002-08-03 17:05:09 +00:00
Dana Jansens
dba5b809ec change default resistance to 18 2002-08-02 21:41:41 +00:00
Dana Jansens
b9e40b8b1e add the resource for the window snapping offset 2002-08-02 21:07:17 +00:00
Dana Jansens
b34a0d1ce2 save the window-to-window snapping right 2002-08-02 20:56:25 +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
347baf0c0b had an extra window placement menu 2002-08-02 20:22:36 +00:00
Dana Jansens
50598700df keep the new menus on top of normal windows 2002-08-02 19:58:18 +00:00
Dana Jansens
d8a817813d redraw menu checkmarks when needed, this was broken since they're on the opposite side of the menu now 2002-08-02 19:49:29 +00:00
Dana Jansens
a16a273251 Enable corner snapping option for both snap types 2002-08-02 19:36:47 +00:00
Dana Jansens
ea02ab8cae add config menu entries for all the new window snapping/resistance options 2002-08-02 19:24:38 +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
ef0bacbaaf dont switch workspaces when focusing a sticky window 2002-08-02 14:57:30 +00:00
Dana Jansens
79916c273d remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu 2002-08-01 07:25:25 +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
961d7eb5b3 since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash. 2002-07-29 22:56:08 +00:00