diff options
author | vaxerski <[email protected]> | 2022-06-06 19:43:44 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-06-06 19:43:44 +0200 |
commit | b62e530fdbb419a70886f016c261f4fe681e9297 (patch) | |
tree | 706c55bcd8410669f45886afc96a68129e104590 | |
parent | 663fba76ae08407f196c1cc1b2c775d52b9fdfc9 (diff) | |
download | Hyprland-b62e530fdbb419a70886f016c261f4fe681e9297.tar.gz Hyprland-b62e530fdbb419a70886f016c261f4fe681e9297.zip |
Force window style tiled on all xdg windowsv0.4.0beta
-rw-r--r-- | src/events/Windows.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index d1f588ef..ffe2ac96 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -35,6 +35,9 @@ void Events::listener_mapWindow(void* owner, void* data) { PWINDOW->m_szTitle = g_pXWaylandManager->getTitle(PWINDOW); PWINDOW->m_fAlpha = 255.f; + // Set all windows tiled regardless of anything + g_pXWaylandManager->setWindowStyleTiled(PWINDOW, WLR_EDGE_LEFT | WLR_EDGE_RIGHT | WLR_EDGE_TOP | WLR_EDGE_BOTTOM); + // Foreign Toplevel PWINDOW->m_phForeignToplevel = wlr_foreign_toplevel_handle_v1_create(g_pCompositor->m_sWLRToplevelMgr); // TODO: handle foreign events (requests) |