mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
ssd_extents: force initial manual ssd_extents update for x11 clients
This commit is contained in:
parent
3171aba0e2
commit
4ee9f351ea
2 changed files with 8 additions and 1 deletions
|
|
@ -86,6 +86,9 @@ ssd_extents_create(struct view *view)
|
||||||
p = add_extent(part_list, LAB_SSD_PART_CORNER_BOTTOM_RIGHT, parent);
|
p = add_extent(part_list, LAB_SSD_PART_CORNER_BOTTOM_RIGHT, parent);
|
||||||
p->geometry->width = corner_size;
|
p->geometry->width = corner_size;
|
||||||
p->geometry->height = corner_size;
|
p->geometry->height = corner_size;
|
||||||
|
|
||||||
|
/* Initial manual update to keep X11 applications happy */
|
||||||
|
ssd_extents_update(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -290,7 +290,6 @@ map(struct view *view)
|
||||||
|
|
||||||
if (view->ssd.enabled) {
|
if (view->ssd.enabled) {
|
||||||
view->margin = ssd_thickness(view);
|
view->margin = ssd_thickness(view);
|
||||||
ssd_create(view);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!view->been_mapped) {
|
if (!view->been_mapped) {
|
||||||
|
|
@ -308,6 +307,11 @@ map(struct view *view)
|
||||||
view->been_mapped = true;
|
view->been_mapped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (view->ssd.enabled) {
|
||||||
|
/* Create ssd after view_disover_output() had been called */
|
||||||
|
ssd_create(view);
|
||||||
|
}
|
||||||
|
|
||||||
if (view->ssd.enabled && !view->fullscreen && !view->maximized) {
|
if (view->ssd.enabled && !view->fullscreen && !view->maximized) {
|
||||||
top_left_edge_boundary_check(view);
|
top_left_edge_boundary_check(view);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue