mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-14 05:12:25 +08:00
fix monitor geom
This commit is contained in:
parent
e5b447bdc9
commit
fd810295d7
@ -26,7 +26,8 @@ void geometry(void* data, wl_output* output, int32_t x, int32_t y, int32_t width
|
|||||||
}
|
}
|
||||||
|
|
||||||
void mode(void* data, wl_output* output, uint32_t flags, int32_t width, int32_t height, int32_t refresh) {
|
void mode(void* data, wl_output* output, uint32_t flags, int32_t width, int32_t height, int32_t refresh) {
|
||||||
// ignored
|
const auto PMONITOR = (SWaylandOutput*)data;
|
||||||
|
PMONITOR->size = {width, height};
|
||||||
}
|
}
|
||||||
|
|
||||||
void done(void* data, wl_output* wl_output) {
|
void done(void* data, wl_output* wl_output) {
|
||||||
|
Loading…
Reference in New Issue
Block a user