Commit graph

140 commits

Author SHA1 Message Date
Dana Jansens
d64505cfe2 logic error for modal focus 2003-02-03 08:48:54 +00:00
Dana Jansens
edd5394207 add function to focus modal children 2003-02-03 08:47:57 +00:00
Dana Jansens
cda0b1b8b7 rm a XXX that we cant do anything about, and wont break things anyhow 2003-02-03 08:43:36 +00:00
Dana Jansens
586cbd9354 dont let kde override-redirect windows be moved or resized 2003-02-03 08:42:42 +00:00
Dana Jansens
5bf70002f9 support the kde override_redirect hint, to make a window decor-less 2003-02-03 08:41:43 +00:00
Dana Jansens
0571837e50 maximizing fixes and simplification 2003-02-03 08:19:48 +00:00
Dana Jansens
f06b944933 Client::move moves the client to the position so that its *frame* will be at the given coordinates 2003-02-03 04:51:10 +00:00
Dana Jansens
9223bfdd67 let the client be moved to a position specified for the *frame* 2003-02-03 04:14:54 +00:00
Dana Jansens
8a7bff7a05 let clients be remaximized to adjust to new surroundings/struts 2003-02-01 13:04:22 +00:00
Dana Jansens
a7c7ae09aa dont let a resize get moved into a new increment by our little tricks 2003-02-01 12:19:17 +00:00
Dana Jansens
3cca07840b maximizing without bugs! can it be? i think so! 2003-02-01 05:49:21 +00:00
Dana Jansens
2a2f4306f8 maximizing! 2003-02-01 05:26:06 +00:00
Dana Jansens
2c710b8646 missing a break 2003-02-01 00:22:16 +00:00
Dana Jansens
9e89436208 add functions to give the skipTaskbar/Pager state 2003-01-30 22:58:12 +00:00
Dana Jansens
31ae81b34a changeState after a setState request 2003-01-30 22:20:25 +00:00
Dana Jansens
610950024f don't move the client if it isnt going anywhere 2003-01-30 21:51:50 +00:00
Dana Jansens
496c185f99 dont shade without a titlebar.
more correct configurenotifies
2003-01-30 03:28:07 +00:00
Dana Jansens
03faa4978d finally set up handle right based on max/min sizes 2003-01-29 22:57:26 +00:00
Dana Jansens
a7ccc54450 dont show a handle if it cant be resized at all 2003-01-29 22:41:43 +00:00
Dana Jansens
34ed8c17ac dont show a handle if it cant be resized 2003-01-29 22:37:42 +00:00
Dana Jansens
98f05a5c96 let the user remove client decorations. 2003-01-29 22:10:28 +00:00
Dana Jansens
44d653e3e8 make struts get added to the screen when mapping a window. let the user disable window decorations. 2003-01-29 21:48:46 +00:00
Dana Jansens
39c6969de2 allow for the client to be validated.
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
validate the client in functions that query stuff off it: propertyHandler and clientMessageHandler
2003-01-29 08:58:28 +00:00
Dana Jansens
01a76071df sync after sending focus 2003-01-29 00:45:28 +00:00
Dana Jansens
3f784100ab support the aspect ratio hints in the WMNormalHints 2003-01-28 00:26:54 +00:00
Dana Jansens
5face4c6f3 use otk objects in the ob scripts by importing otk 2003-01-27 13:42:41 +00:00
Dana Jansens
997f94cf86 new/better/cleaner scripting interface 2003-01-25 16:36:55 +00:00
Dana Jansens
91c7e5c378 allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released 2003-01-24 07:37:26 +00:00
Dana Jansens
02e8107507 fix a comment 2003-01-24 04:19:50 +00:00
Dana Jansens
3e21214a1d don't make dock type windows auto-omni-present.
add some debug prints
2003-01-24 02:27:10 +00:00
Dana Jansens
f7f5f3d08c add printf for when a window requests its desktop 2003-01-24 01:38:39 +00:00
Dana Jansens
ab2968b3a5 add an UrgentNotify callback type. fire it when a window becomes "urgent" 2003-01-24 00:44:36 +00:00
Dana Jansens
406c79aea1 out with the blackbox source 2003-01-24 00:02:24 +00:00
Dana Jansens
f4b87e04a2 be smart about skipping focusing a window from unmap events, watch the unmap_ignore 2003-01-23 15:43:55 +00:00
Dana Jansens
b6defb3c1a cleanups for how we display iconic state in the hints, and choose it in the mapping process. make things work with gnome-panel's restore-to-native/current-workspace 2003-01-23 14:16:30 +00:00
Dana Jansens
8b4004ac68 make docks and desktops always on all desktops 2003-01-23 13:28:37 +00:00
Dana Jansens
709c747a74 add iconifying!!!!
also cleanup the map process a bit, the close action wasn't being set in the allowed actions.
2003-01-23 12:34:11 +00:00
Dana Jansens
28b8f67562 remove the word "sticky" from everywhere, and replace with "all desktops". change the titlebar layout to use D instead of S for the all-desktops button 2003-01-23 05:20:13 +00:00
Dana Jansens
7b7ae097a0 make the 'toggle all desktops' button work 2003-01-23 04:49:42 +00:00
Dana Jansens
7b9d92b2e7 add decor_sticky to the default decorations list 2003-01-23 04:23:58 +00:00
Dana Jansens
bb5a07b3e1 check if the window exists before trying to focus it 2003-01-23 03:44:18 +00:00
Dana Jansens
d9d2e7a509 Some cleanups in the mapping procedure. Apply requested states during the process.
Add new function types for new netwm supported actions, i.e. Func_Shade and Func_Fullscreen.
Add support for the _NET_WM_FULLSCREEN state.
2003-01-17 09:15:07 +00:00
Dana Jansens
105e3524a3 add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized.
add the allowed actions hint setting.
2003-01-17 07:45:07 +00:00
Dana Jansens
6a73cff16d get all the normal hints when mapping again, oops. 2003-01-17 03:03:18 +00:00
Dana Jansens
2b0897234f centered gravities lose one borderwidth when mapping too 2003-01-17 02:57:42 +00:00
Dana Jansens
619ad666fc add {}'s 2003-01-17 02:53:06 +00:00
Dana Jansens
53001eebae add whitespace 2003-01-17 02:52:26 +00:00
Dana Jansens
b8ae2f393f try use the gravity in the WM_NORMAL hint, and fall back to the attribute 2003-01-17 02:48:29 +00:00
Dana Jansens
4c2f4e7537 add a getGravity function to get the gravity from the window attributes initially 2003-01-17 02:43:31 +00:00
Dana Jansens
f14d74a3ac test for borders on static grav windows 2003-01-17 02:11:11 +00:00