提交 b4535713 编写于 作者: J Jim

Merge pull request #314 from raincomplex/master

Mark windows changed on Expose
......@@ -186,6 +186,9 @@ namespace XCompcap
if (ev.type == MapNotify)
changedWindows.insert(ev.xmap.event);
if (ev.type == Expose)
changedWindows.insert(ev.xexpose.window);
if (ev.type == DestroyNotify)
changedWindows.insert(ev.xdestroywindow.event);
}
......
......@@ -296,7 +296,7 @@ void XCompcapMain::updateSettings(obs_data_t *settings)
return;
}
XSelectInput(xdisp, p->win, StructureNotifyMask);
XSelectInput(xdisp, p->win, StructureNotifyMask | ExposureMask);
XSync(xdisp, 0);
XWindowAttributes attr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册