Commit graph

420 commits

Author SHA1 Message Date
Dana Jansens
5033ce0a24 proper mask t catch the unmap events on systray windows 2002-08-27 10:57:15 +00:00
Dana Jansens
f5a1f592a4 fix shape support 2002-08-27 08:18:04 +00:00
Marius Nita
07e619ebbb Added missing header for clearShape, which was breaking compilation 2002-08-27 06:59:57 +00:00
Dana Jansens
9667f3a0e9 fix shape.
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
2002-08-27 03:59:51 +00:00
Scott Moynes
bb9a37ec3d Draw close button with line_width of 2. 2002-08-26 23:52:37 +00:00
Dana Jansens
f763814b33 dont limit how big a window can be resized.
dont let the user resize a window smaller than 0, which makes it wrap to a huge number
2002-08-26 12:09:28 +00:00
Dana Jansens
a6d6f0118b sync with blackbox
get rid of the default limit on window sizes
2002-08-26 05:27:25 +00:00
Dana Jansens
85612861f5 don't limit how big a window can be resized 2002-08-26 04:53:37 +00:00
Dana Jansens
d9c0cfedbd unmanage desktop windows on shutdown 2002-08-26 00:25:08 +00:00
Dana Jansens
3ad19e4a45 format comment 2002-08-26 00:23:28 +00:00
Dana Jansens
328b861d19 use the window's gravity when handling a configureRequest event for a resize only 2002-08-25 11:26:15 +00:00
Dana Jansens
db3e93a3c1 actually check if a window has the function flags approproate before trying to perform an action. (i.e. dont let windows iconify if they arent supposed to, etc) 2002-08-25 09:48:50 +00:00
Dana Jansens
45863e605c clean up the new focusing code for workspace switching 2002-08-25 08:41:18 +00:00
Dana Jansens
3ee18e2f5f explicitly set the focused window instead of waiting for the x server when changing workspaces, otherwise, if you move througha workspace before the xserver distributes your focus, you end up losing which window had the focus 2002-08-25 08:11:43 +00:00
Dana Jansens
2c1ce30804 dont add sticky windows to the stacking list more than once 2002-08-24 22:22:52 +00:00
Dana Jansens
23e92e110e put !normal windows in the general client list too 2002-08-24 20:54:24 +00:00
Dana Jansens
82bf5b555f put !normal windows in the stacking client list as well as the normal client list 2002-08-24 20:43:58 +00:00
Dana Jansens
b1da899b32 try see if this broke gnome-panel 2002-08-24 19:58:25 +00:00
Dana Jansens
81cdff0693 don't unmap/remap sticky windows on a workspace change, but still make sloppy focus work right. 2002-08-24 08:09:35 +00:00
Dana Jansens
0f4737f0f1 put !normal windows in the screen window list
catch systray apps unmap/destroy events
2002-08-24 05:49:22 +00:00
Dana Jansens
8344443c10 handle systray apps closing.. 2002-08-24 04:41:22 +00:00
Dana Jansens
57a46b4f0f default to line width of 0, which is more efficient than 1 2002-08-24 01:14:34 +00:00
Dana Jansens
cbf4bb3d62 use the snap offset as the margin for placing windows instead of a fixed value of 1 2002-08-23 23:13:21 +00:00
Dana Jansens
8dc38853ef dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed. 2002-08-23 07:28:04 +00:00
Dana Jansens
d1b2c03152 get default line width to 1, and make it a more easily used parameter in BPen 2002-08-23 05:35:34 +00:00
Dana Jansens
469b9b3087 give gc's/BPen's a width 2002-08-23 05:12:07 +00:00
Dana Jansens
78a8ca9e53 the comment more accurate 2002-08-22 04:05:43 +00:00
Dana Jansens
33d2ceccbe s/__openbox_version/OPENBOX_VERSION 2002-08-22 03:53:17 +00:00
Dana Jansens
a1b96061eb sync with bb-cvs 2002-08-22 03:46:45 +00:00
Dana Jansens
4d0f46e554 dont use __ for variables.. its illegal. (thanks ppl for the patch.) 2002-08-22 01:03:08 +00:00
Dana Jansens
8a48fff773 support for showing the root and workspace menu with epist 2002-08-22 00:57:29 +00:00
Dana Jansens
cc5bde6d00 toggledecor almost done
some code cleanups/fixes
2002-08-21 23:57:03 +00:00
Dana Jansens
d181f1ad05 dont grab other windows while warping in opaque mode 2002-08-21 09:50:47 +00:00
Dana Jansens
d7a655137b dont pass an unused parameter, and return an unused value 2002-08-21 09:23:00 +00:00
Dana Jansens
9d40660bce warping works! 2002-08-21 08:59:28 +00:00
Dana Jansens
a9bfdcaa06 making warping work.. hopefully.
fix for leaving !normal windows behind in the window list
2002-08-21 07:47:52 +00:00
Dana Jansens
183cf03a4f set a workspace and window number even for !normal windows 2002-08-21 06:35:29 +00:00
Dana Jansens
aa9ade7a90 add support for the kde-override hint, making the windows get no decorations.
also, read the window type as an array, as it is supposed to be read.
2002-08-21 06:09:31 +00:00
Dana Jansens
b1223a2acc change how the pointer is moved.. try make this more consistant when warping at high speeds. 2002-08-20 18:43:29 +00:00
Dana Jansens
551a17d256 Fix send to menu, having deleted workspaces in it.
Fix workspace warping, move the mouse and window the same amount.
Fix workspace switching. Put old code back that worked better.
2002-08-20 15:38:51 +00:00
Dana Jansens
24f64750e9 change default style to mbdtex 2002-08-16 21:14:27 +00:00
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