Simple update all monitors function so that any file can an update if they need to.
このコミットが含まれているのは:
コミット
ee82bc6975
|
@ -236,6 +236,13 @@ void monitor_update(struct Monitor *monitor) {
|
|||
pipeline_invalidate(monitor->pipeline);
|
||||
}
|
||||
|
||||
void monitors_update(void) {
|
||||
struct Monitor *monitor;
|
||||
wl_list_for_each(monitor, &monitors, link) {
|
||||
monitor_update(monitor);
|
||||
}
|
||||
}
|
||||
|
||||
void pipe_in(int fd, short mask, void *data) {
|
||||
running = 0;
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ struct Monitor {
|
|||
};
|
||||
|
||||
void panic(const char *fmt, ...);
|
||||
void monitors_update(void);
|
||||
struct Monitor *monitor_from_surface(const struct wl_surface *surface);
|
||||
|
||||
extern struct wl_compositor *compositor;
|
||||
|
|
読み込み中…
新しいイシューから参照