]> git.mdlowis.com Git - proto/labwc.git/commit
view: avoid raising same view over and over
authorJohn Lindgren <john@jlindgren.net>
Sat, 21 Oct 2023 15:28:00 +0000 (11:28 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 21 Oct 2023 20:42:24 +0000 (21:42 +0100)
commitdb591d1400d275e836a80dfaa2b2ef5b9b57bc64
tree7284376938bfb7627fb089d0aaa24017dd5db6da
parent0ddf3c43ad0f278ed375f39c9027513ba693ea98
view: avoid raising same view over and over

Since view_move_to_front() now does more work than it used to
(updating XWayland server stacking order), try to avoid doing that
work unnecessarily.
include/labwc.h
src/view-impl-common.c
src/view.c