mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:25:58 +01:00
move/resize window (#2706)
This commit is contained in:
parent
db2367bf33
commit
b159634ef9
1 changed files with 3 additions and 2 deletions
|
@ -241,6 +241,9 @@ void IHyprLayout::onBeginDragWindow() {
|
||||||
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
||||||
|
|
||||||
g_pKeybindManager->shadowKeybinds();
|
g_pKeybindManager->shadowKeybinds();
|
||||||
|
|
||||||
|
g_pCompositor->focusWindow(DRAGGINGWINDOW);
|
||||||
|
g_pCompositor->moveWindowToTop(DRAGGINGWINDOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IHyprLayout::onEndDragWindow() {
|
void IHyprLayout::onEndDragWindow() {
|
||||||
|
@ -266,8 +269,6 @@ void IHyprLayout::onEndDragWindow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
||||||
|
|
||||||
g_pCompositor->focusWindow(DRAGGINGWINDOW);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void IHyprLayout::onMouseMove(const Vector2D& mousePos) {
|
void IHyprLayout::onMouseMove(const Vector2D& mousePos) {
|
||||||
|
|
Loading…
Reference in a new issue