Open galczo5 opened 6 years ago
Hi, I'm trying to create some views and I cannot set geometry in wlc_set_view_created_cb. Here is my callback function:
wlc_set_view_created_cb
static bool view_created(wlc_handle view) { wlc_view_set_mask(view, wlc_output_get_mask(wlc_view_get_output(view))); wlc_view_bring_to_front(view); struct wlc_geometry g = { .origin = { .x = 0, .y = 0 }, .size = { .w = 1920, .h = 1080 } }; wlc_view_set_geometry(view, 1, &g); return true; }
As you see urxvt is not full screen as I set in callback. What is missing?
Any idea?
Hi, I'm trying to create some views and I cannot set geometry in
wlc_set_view_created_cb
. Here is my callback function:As you see urxvt is not full screen as I set in callback. What is missing?