mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
feat: under-cursor window placement
With under-cursor placement, new top-level windows will be centered under the cursor rather than centered on the active view.
This commit is contained in:
parent
ce3c5ab958
commit
ef62d47ad1
8 changed files with 51 additions and 8 deletions
|
|
@ -517,7 +517,7 @@ set_initial_position(struct view *view,
|
|||
}
|
||||
} else {
|
||||
if (view_is_floating(view)) {
|
||||
view_center(view, NULL);
|
||||
view_place_initial(view);
|
||||
} else {
|
||||
/*
|
||||
* View is maximized/fullscreen. Center the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue