store scale and scale windows with monitor
This commit is contained in:
parent
748a787ba2
commit
b0f5e4ab56
6 changed files with 21 additions and 11 deletions
|
|
@ -157,6 +157,8 @@ void Events::listener_newOutput(wl_listener* listener, void* data) {
|
|||
|
||||
PNEWMONITOR->activeWorkspace = PNEWWORKSPACE->m_iID;
|
||||
|
||||
PNEWMONITOR->scale = monitorRule.scale;
|
||||
|
||||
g_pCompositor->deactivateAllWLRWorkspaces();
|
||||
wlr_ext_workspace_handle_v1_set_active(PNEWWORKSPACE->m_pWlrHandle, true);
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue