mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-14 05:34:21 -04:00
fix: auto set monitor coordinate when no match monitor rule
This commit is contained in:
parent
a66d475544
commit
6bfa0ab658
1 changed files with 2 additions and 0 deletions
|
|
@ -2779,6 +2779,8 @@ void createmon(struct wl_listener *listener, void *data) {
|
||||||
m->isoverview = 0;
|
m->isoverview = 0;
|
||||||
m->sel = NULL;
|
m->sel = NULL;
|
||||||
m->is_in_hotarea = 0;
|
m->is_in_hotarea = 0;
|
||||||
|
m->m.x = INT32_MAX;
|
||||||
|
m->m.y = INT32_MAX;
|
||||||
float scale = 1;
|
float scale = 1;
|
||||||
enum wl_output_transform rr = WL_OUTPUT_TRANSFORM_NORMAL;
|
enum wl_output_transform rr = WL_OUTPUT_TRANSFORM_NORMAL;
|
||||||
wlr_output_state_set_scale(&state, scale);
|
wlr_output_state_set_scale(&state, scale);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue