mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
view: Do not call ssd_set_active() for inactive views
Partially fixes #494.
This commit is contained in:
parent
36b2a93a69
commit
807f3b1381
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ view_get_edge_snap_box(struct view *view, struct output *output,
|
||||||
void
|
void
|
||||||
view_set_activated(struct view *view, bool activated)
|
view_set_activated(struct view *view, bool activated)
|
||||||
{
|
{
|
||||||
if (view->ssd.enabled) {
|
if (activated && view->ssd.enabled) {
|
||||||
ssd_set_active(view);
|
ssd_set_active(view);
|
||||||
}
|
}
|
||||||
if (view->impl->set_activated) {
|
if (view->impl->set_activated) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue