1
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-07-30 03:31:53 -07:00

protocols: simulate mouse movement after activating a toplevel ()

This commit is contained in:
outfoxxed
2025-05-16 14:38:45 -07:00
committed by GitHub
parent a5c9b3e490
commit b0cc49218d

@@ -1,6 +1,7 @@
#include "ForeignToplevelWlr.hpp"
#include <algorithm>
#include "../Compositor.hpp"
#include "managers/input/InputManager.hpp"
#include "protocols/core/Output.hpp"
#include "render/Renderer.hpp"
#include "../managers/HookSystemManager.hpp"
@@ -24,6 +25,7 @@ CForeignToplevelHandleWlr::CForeignToplevelHandleWlr(SP<CZwlrForeignToplevelHand
// these requests bypass the config'd stuff cuz it's usually like
// window switchers and shit
PWINDOW->activate(true);
g_pInputManager->simulateMouseMovement();
});
m_resource->setSetFullscreen([this](CZwlrForeignToplevelHandleV1* p, wl_resource* output) {