kwin/autotests
Vlad Zahorodnii def99b1a7c Update WindowItem's visibility
With this, the WindowItem will know whether it's actually visible. As
the result, if a native wayland window has been minimized, kwin won't
try to schedule a new frame if just a frame callback has been committed.

EffectWindow::enablePainting() and EffectWindow::disablePainting() act
as a stone in the shoe. They have the final say whether the given window
is visible and they are invoked too late in the rendering process.
WindowItem needs to know whether the window is visible in advance,
before compositing starts.

This change replaces EffectWindow::enablePainting() and
EffectWindow::disablePainting() with EffectWindow::refVisible() and
EffectWindow::unrefVisible(). If an effect calls the refVisible()
function, the window will be kept visible regardless of its state. It
should be called when a window is minimized or closed, etc. If an effect
doesn't want to paint a window, it should not call effects->paintWindow().

EffectWindow::refVisible() doesn't replace EffectWindow::refWindow() but
supplements it. refVisible() only ensures that a window will be kept
visible while refWindow() ensures that the window won't be destroyed
until the effect is done with it.
2022-05-05 12:21:26 +00:00
..
integration Realtime screen edges gestures for scripted effects 2022-05-03 13:43:38 +00:00
libinput backends/libinput: Rework Device getter 2022-04-29 12:47:34 +00:00
libkwineffects Run clang-tidy with -checks=readability-braces-around-statements fixit 2022-03-28 10:54:11 +00:00
libxrenderutils Run clang-format 2022-03-25 13:25:15 +02:00
tabbox Run clang-format 2022-03-25 13:25:15 +02:00
CMakeLists.txt Integrate kwaylandserver 2022-04-22 12:27:33 +03:00
onscreennotificationtest.cpp Run clang-format 2022-03-25 13:25:15 +02:00
onscreennotificationtest.h Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
opengl_context_attribute_builder_test.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_client_machine.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_ftrace.cpp
test_gestures.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_screen_paint_data.cpp libkwineffects: Introduce EffectScreen 2021-03-09 08:58:22 +00:00
test_virtual_desktops.cpp Implement desktopSwitching() interface for realtime animations 2022-04-15 00:09:52 +00:00
test_window_paint_data.cpp Update WindowItem's visibility 2022-05-05 12:21:26 +00:00
test_x11_timestamp_update.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_xcb_size_hints.cpp Rename AbstractClient to Window 2022-04-22 17:39:12 +00:00
test_xcb_window.cpp Run clang-format 2022-03-25 13:25:15 +02:00
test_xcb_wrapper.cpp Rename AbstractClient to Window 2022-04-22 17:39:12 +00:00
test_xkb.cpp Run clang-format 2022-03-25 13:25:15 +02:00
testutils.h Run clang-format 2022-03-25 13:25:15 +02:00