mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
4c08d1643f
This significantly cleans up how we handle various move-resize, compute- size, and configure (notification of changes) in the macOS GDK backend. Originally when prototyping this backend, there were some bits that came over from the quartz backend and some bits which did not. It got confusing and so this makes an attempt to knock down all that technical debt. It is much simpler now in that the GdkMacosSurface makes requests of the GdkMacosWindow, and the GdkMacosWindow notifies the GdkMacosSurface of changes that happen. User resizes are delayed until the next compute-size so that we are much closer to the layout phase, reducing chances for in-between frames. This also improves the situation of leaving maximized state so that a grab and drag feels like you'd expect on other platforms. I removed the opacity hack we had in before, because that is all coming out anyway and it's a bit obnoxious to maintain through the async flows here. |
||
---|---|---|
.. | ||
edgesnapping.c | ||
edgesnapping.h | ||
gdkdisplaylinksource.c | ||
gdkdisplaylinksource.h | ||
gdkmacos.h | ||
GdkMacosBaseView.c | ||
GdkMacosBaseView.h | ||
gdkmacoscairocontext-private.h | ||
gdkmacoscairocontext.c | ||
GdkMacosCairoSubview.c | ||
GdkMacosCairoSubview.h | ||
GdkMacosCairoView.c | ||
GdkMacosCairoView.h | ||
gdkmacosclipboard-private.h | ||
gdkmacosclipboard.c | ||
gdkmacoscursor-private.h | ||
gdkmacoscursor.c | ||
gdkmacosdevice-private.h | ||
gdkmacosdevice.c | ||
gdkmacosdevice.h | ||
gdkmacosdisplay-private.h | ||
gdkmacosdisplay-settings.c | ||
gdkmacosdisplay-translate.c | ||
gdkmacosdisplay.c | ||
gdkmacosdisplay.h | ||
gdkmacosdrag-private.h | ||
gdkmacosdrag.c | ||
gdkmacosdragsurface-private.h | ||
gdkmacosdragsurface.c | ||
gdkmacosdrop-private.h | ||
gdkmacosdrop.c | ||
gdkmacoseventsource-private.h | ||
gdkmacoseventsource.c | ||
gdkmacosglcontext-private.h | ||
gdkmacosglcontext.c | ||
gdkmacosglcontext.h | ||
GdkMacosGLView.c | ||
GdkMacosGLView.h | ||
gdkmacoskeymap-private.h | ||
gdkmacoskeymap.c | ||
gdkmacoskeymap.h | ||
gdkmacosmonitor-private.h | ||
gdkmacosmonitor.c | ||
gdkmacosmonitor.h | ||
gdkmacospopupsurface-private.h | ||
gdkmacospopupsurface.c | ||
gdkmacosseat-private.h | ||
gdkmacosseat.c | ||
gdkmacosseat.h | ||
gdkmacossurface-private.h | ||
gdkmacossurface.c | ||
gdkmacossurface.h | ||
gdkmacostoplevelsurface-private.h | ||
gdkmacostoplevelsurface.c | ||
gdkmacosutils-private.h | ||
GdkMacosWindow.c | ||
GdkMacosWindow.h | ||
meson.build |