Dana Jansens
0e9bd66b75
fixes for transients
...
1) don't count non-normal windows as parents when placing/stacking transients
2) in stacking.c, when a window is transient for the group but has no parents, then don't loop forever looking for its parents
2007-04-21 21:32:21 +00:00
Dana Jansens
7f11e15bb8
fix undermouse placement
2007-04-18 17:18:16 +00:00
Dana Jansens
c80b496bf4
make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.
...
also this is not tested. sorry if it breaks everything.
2007-03-14 21:07:30 +00:00
Dana Jansens
895554765d
make smart placement more smart with multiple monitors. hopefully?
2007-03-11 18:39:34 +00:00
Dana Jansens
78af5d15e9
this includes a number of things since my magnificent return....
...
1. some random compiling/style cleanups
2. some bigfixes
- mislogic in per-window-settings and focusing new windows
- use client_can_focus rather than checking variables for directional focus
- MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
1aa9c7e95e
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try3)
2007-02-05 21:19:35 +00:00
Mikael Magnusson
d04b68f8bc
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try2)
2007-02-05 21:19:04 +00:00
Mikael Magnusson
29da19bd85
always place windows on the screen with the mouse cursor in xinerama, throw some code around
2007-02-05 21:16:18 +00:00
Mikael Magnusson
d3d4aa2987
80 cols
2006-11-15 21:12:06 +00:00
Mikael Magnusson
d9f14c1d01
update copyright step 2
2006-08-22 16:44:18 +00:00
Mikael Magnusson
b528c68121
spurious ;
2006-08-21 20:41:49 +00:00
Mikael Magnusson
c234ed9ecd
maybe fix transients placed offscreen under certain conditions
2006-08-21 20:39:42 +00:00
Mikael Magnusson
f07b18cf3a
mad propz to jonaskoelker finding a memleak
2006-06-09 22:35:55 +00:00
Mikael Magnusson
014969a959
fix7
2006-06-08 11:45:39 +00:00
Mikael Magnusson
85340eab40
fix6
2006-06-08 11:45:12 +00:00
Mikael Magnusson
de1559a094
move stuff around some more
2006-06-08 11:36:43 +00:00
Mikael Magnusson
ac416fd27e
testing failed, hopefully this is reverting to the right place
2005-02-06 02:18:06 +00:00
Mikael Magnusson
3f40d6e762
more testing
2005-02-06 02:06:57 +00:00
Mikael Magnusson
64772cc6d8
test + not wrong
2005-02-06 01:54:21 +00:00
Mikael Magnusson
bdf5d409e5
test
2005-02-06 01:52:15 +00:00
Mikael Magnusson
52c345c300
try moving the move_onscreen with the rude into the place routine so it only gets called if a window doesn't specify a position
2005-02-06 01:43:37 +00:00
Dana Jansens
174de91c34
use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL" consistantly. props to Logan again :)
2003-10-25 19:27:09 +00:00
Dana Jansens
740c5b2a20
consistant glib type usage
2003-10-15 03:59:35 +00:00
Dana Jansens
1d2aa812c6
ignore fullscreen windows in placing
2003-10-13 04:55:00 +00:00
Dana Jansens
90abec9c30
avoid putting dialog windows under higher layered windows
2003-10-13 01:41:03 +00:00
Dana Jansens
380af80a13
woot sexy
2003-10-12 19:06:46 +00:00
Dana Jansens
8e63ffdabd
add option for under-mouse placement
2003-09-28 09:01:04 +00:00
Dana Jansens
90445487e1
dont use undermouse at all if focusNew is off
2003-09-26 19:39:33 +00:00
Dana Jansens
9e000dc6fd
use under-mouse placement *instead* of smart placement when using focus-follows-mouse AND focus-new-windows
2003-09-26 19:31:54 +00:00
Dana Jansens
d10c538373
visible is in the frame struct
2003-09-22 05:41:16 +00:00
Dana Jansens
27eb1a7736
ignore non-visible windows too
2003-09-22 05:38:44 +00:00
Dana Jansens
6675b28ded
place so to avoid windows in layers above the window being placed!
2003-09-21 20:42:38 +00:00
Dana Jansens
617bd951d6
smart xinerama placement for groups
2003-09-19 19:55:21 +00:00
Dana Jansens
b731e0e282
smart placement has a fallback for just groups now too
2003-09-19 19:34:42 +00:00
Dana Jansens
16f46c296d
no tabs
2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
2003-09-17 07:32:52 +00:00
Dana Jansens
52d751ecd6
best fit only one direction
2003-09-15 05:24:05 +00:00
Dana Jansens
eb7229603e
no center in the first smart-place
2003-09-15 05:05:58 +00:00
Dana Jansens
52e7547433
sort smallest to largest area
2003-09-15 04:59:23 +00:00
Dana Jansens
e5703910d0
2 passes at smart placement
2003-09-15 04:32:06 +00:00
Dana Jansens
21c29cba10
smart placement only avoids the focused window, and centers in its area
2003-09-15 04:18:08 +00:00
Dana Jansens
b0a476249a
fallback to random when focus follows mouse is off
2003-09-15 03:27:45 +00:00
Dana Jansens
4bb7543de6
fix comment
2003-09-15 03:24:27 +00:00
Dana Jansens
1f451f5de0
oops backwarsd
2003-09-15 03:22:58 +00:00
Dana Jansens
4185168f9d
dont use continue
2003-09-15 03:21:50 +00:00
Dana Jansens
e3e850b718
remove blank line
2003-09-15 03:21:00 +00:00
Dana Jansens
a9ae2f481a
apply gravity to the chosen coords, bound the undermouse placement
2003-09-15 02:34:07 +00:00
Dana Jansens
e8c1967aa2
always use smart placement, add under-mouse placement for the fallback
2003-09-15 02:20:38 +00:00
Dana Jansens
9fe2ce3f85
dont count !normal clients for placement
2003-09-15 02:07:46 +00:00
Dana Jansens
9866570c7e
added smart placement
2003-09-15 02:05:40 +00:00