diff options
author | vaxerski <[email protected]> | 2022-10-28 23:23:23 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-10-28 23:23:23 +0100 |
commit | 341a0616aa792508c2ee31949a4ad595148880ee (patch) | |
tree | 2dd19f8bede5140ef5dbf35e4a52b4f8d1623f9b /src | |
parent | ea7f617df613a859ea59fb18131c31ac83ed16ea (diff) | |
download | Hyprland-341a0616aa792508c2ee31949a4ad595148880ee.tar.gz Hyprland-341a0616aa792508c2ee31949a4ad595148880ee.zip |
avoid applying offset twice in onConnect
Diffstat (limited to 'src')
-rw-r--r-- | src/helpers/Monitor.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 9723e3ba..7b008566 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -99,10 +99,6 @@ void CMonitor::onConnect(bool noRule) { wlr_output_enable(output, 1); - // TODO: this doesn't seem to set the X and Y correctly, - // wlr_output_layout_output_coords returns invalid values, I think... - wlr_output_layout_add(g_pCompositor->m_sWLROutputLayout, output, monitorRule.offset.x, monitorRule.offset.y); - // set mode, also applies if (!noRule) g_pHyprRenderer->applyMonitorRule(this, &monitorRule, true); |