Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rehan committed Sep 14, 2023
1 parent 9815fee commit b2e6c70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/Hy3Layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ void Hy3Layout::onWindowCreated(CWindow* window) {
IHyprLayout::onWindowCreated(window);
}

void Hy3Layout::onWindowCreatedTiling(CWindow* window) {
void Hy3Layout::onWindowCreatedTiling(CWindow* window, eDirection direction) {
hy3_log(
TRACE,
"onWindowCreatedTiling called with window {:x} (floating: {})",
(uintptr_t) window,
window->m_bIsFloating
);
if (window->m_bIsFloating) return;

auto* existing = this->getNodeFromWindow(window);
Expand Down
2 changes: 1 addition & 1 deletion src/Hy3Layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ enum class ExpandFullscreenOption {
class Hy3Layout: public IHyprLayout {
public:
virtual void onWindowCreated(CWindow*);
virtual void onWindowCreatedTiling(CWindow*);
virtual void onWindowCreatedTiling(CWindow*, eDirection direction = DIRECTION_DEFAULT);
virtual void onWindowRemovedTiling(CWindow*);
virtual void onWindowFocusChange(CWindow*);
virtual bool isWindowTiled(CWindow*);
Expand Down

0 comments on commit b2e6c70

Please sign in to comment.