desktop: restore invisible floating window alpha/opacity when focused over fullscreen (#12994)
This commit is contained in:
parent
6c3ebed76e
commit
e7985ca4c4
5 changed files with 51 additions and 0 deletions
|
|
@ -378,6 +378,26 @@ static void testMaximizeSize() {
|
|||
EXPECT(Tests::windowCount(), 0);
|
||||
}
|
||||
|
||||
static void testFloatingFocusOnFullscreen() {
|
||||
NLog::log("{}Testing floating focus on fullscreen", Colors::GREEN);
|
||||
|
||||
EXPECT(spawnKitty("kitty_A"), true);
|
||||
OK(getFromSocket("/dispatch togglefloating"));
|
||||
|
||||
EXPECT(spawnKitty("kitty_B"), true);
|
||||
OK(getFromSocket("/dispatch fullscreen 1"));
|
||||
|
||||
OK(getFromSocket("/dispatch cyclenext"));
|
||||
|
||||
OK(getFromSocket("/dispatch plugin:test:floating_focus_on_fullscreen"));
|
||||
|
||||
NLog::log("{}Killing all windows", Colors::YELLOW);
|
||||
Tests::killAllWindows();
|
||||
|
||||
NLog::log("{}Expecting 0 windows", Colors::YELLOW);
|
||||
EXPECT(Tests::windowCount(), 0);
|
||||
}
|
||||
|
||||
static void testGroupFallbackFocus() {
|
||||
NLog::log("{}Testing group fallback focus", Colors::GREEN);
|
||||
|
||||
|
|
@ -994,6 +1014,7 @@ static bool test() {
|
|||
|
||||
testGroupRules();
|
||||
testMaximizeSize();
|
||||
testFloatingFocusOnFullscreen();
|
||||
testBringActiveToTopMouseMovement();
|
||||
testGroupFallbackFocus();
|
||||
testInitialFloatSize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue