mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: constrain window size to that of usable area
...on first map (when application is started). Fixes #1399
This commit is contained in:
parent
bce0c6ce56
commit
c646c7bd1b
4 changed files with 24 additions and 0 deletions
|
|
@ -505,6 +505,8 @@ set_initial_position(struct view *view,
|
|||
XCB_ICCCM_SIZE_HINT_US_POSITION |
|
||||
XCB_ICCCM_SIZE_HINT_P_POSITION));
|
||||
|
||||
view_constrain_size_to_that_of_usable_area(view);
|
||||
|
||||
if (has_position) {
|
||||
/*
|
||||
* Make sure a floating view is onscreen. For a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue