all repos — openbox @ 881a8647d2eb5f13eccda87a712c180fa9e902cf

openbox fork - make it a bit more like ryudo

try place under the mouse when theres no free space? maybe thats dumb
Dana Jansens danakj@orodu.net
commit

881a8647d2eb5f13eccda87a712c180fa9e902cf

parent

a883721bf759be32048cbfd669ed4d6e4d40d00b

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/place.copenbox/place.c

@@ -328,8 +328,9 @@ gint l, r, t, b;

gint px, py; Rect *area; + if (!screen_pointer_pos(&px, &py)) + return FALSE; area = pick_pointer_head(client); - screen_pointer_pos(&px, &py); l = area->x; t = area->y;

@@ -447,6 +448,7 @@ place_per_app_setting(client, x, y, settings) ||

(config_place_policy == OB_PLACE_POLICY_MOUSE && place_under_mouse(client, x, y)) || place_nooverlap(client, x, y) || + place_under_mouse(client, x, y) || place_random(client, x, y); g_assert(ret);