mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 00:20:23 -07:00
protocols: simulate mouse movement after activating a toplevel (#10429)
This commit is contained in:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user