You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
你好!首先感谢提供的framelesshelper,给了我很大帮助。以下有两个问题想反馈下:
1、最后一个窗口销毁再新建窗口程序会崩溃,经过分析是NSWindowProxy中旧的窗口对象地址和当前窗口对象地址一致导致递归死循环(如oldSetStyleMask、oldSendEvent等),我想你应该是想最后一个窗口释放时重置这些函数指针:
~NSWindowProxy() override
{
instances.remove(nswindow);
if (instances.count() <= 0) {
restoreImplementations();
windowClass = nil;
}
nswindow = nil;
}
以上是我目前的解决办法,期望评审是否完善。
2、窗口全屏时,去修改系统分辨率,此时窗口会在上边或者下边留一段黑色的矩形块,需要恢复窗口化,再全屏才能恢复,我目前没分析到原因,期望得到帮助,谢谢!
The text was updated successfully, but these errors were encountered: