Commit graph

181 commits

Author SHA1 Message Date
Scott Moynes
080ba7f9b9 remove debug code in window menu placement 2002-10-01 02:12:09 +00:00
Scott Moynes
783fac59c9 snap a window menu to the bottom of the screen if it is positioned too low. 2002-10-01 01:17:24 +00:00
Scott Moynes
5b8ec88623 fixed menu placement on menus with very small windows 2002-10-01 00:14:15 +00:00
Scott Moynes
e0d619e309 added a configure flag for enabling/disabling bitmap buttons 2002-09-14 05:43:57 +00:00
Scott Moynes
c196ecd878 more bitmap merge fixes 2002-09-14 04:52:04 +00:00
Scott Moynes
01732a20db Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
2002-09-14 04:01:20 +00:00
Scott Moynes
c2d992a35c merged bitmap buttons 2002-09-14 03:44:44 +00:00
Dana Jansens
15ca6904fc make alt-right click resizing work on the window handles 2002-09-11 02:14:55 +00:00
Dana Jansens
7f001973a8 catch button presses on the window's frame window, else they end up passing up the heirarchy to the root window, and then that will do things like pop up the root menu by right clicking on the window's frame window. 2002-09-08 01:22:13 +00:00
Dana Jansens
c1e79a4a82 back out the thick X button 2002-09-04 03:35:21 +00:00
Dana Jansens
1f5dd220e7 watch for sticky windows when mapping, let them show. 2002-09-04 02:28:42 +00:00
Dana Jansens
42e00b1c5b sync with 2.0 branch (fix auto-rasie with gtk issue) 2002-09-01 21:14:26 +00:00
Dana Jansens
923c381dc1 sync with the 2.0 branch 2002-08-31 06:15:07 +00:00
Scott Moynes
e811623978 fixed debug flag being forced on. 2002-08-29 00:07:53 +00:00
Scott Moynes
767e04e090 Added a optional omnipresent button, enabled using the title bar layout key "S".
Needs to be documented, and the drawing tweaked a bit.
2002-08-28 23:58:32 +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
85612861f5 don't limit how big a window can be resized 2002-08-26 04:53:37 +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
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
a1b96061eb sync with bb-cvs 2002-08-22 03:46:45 +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
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
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
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