gtk/gdk/macos
Christian Hergert 4c08d1643f macos: fix configure, move-resize, and compute-size
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.
2022-02-18 02:50:46 -08:00
..
edgesnapping.c
edgesnapping.h gdk: Drop GdkPoint from the api 2020-10-29 14:23:46 -04:00
gdkdisplaylinksource.c Include gdk-private.h to fix error about g_source_set_static_name 2022-02-05 21:51:40 +00:00
gdkdisplaylinksource.h
gdkmacos.h
GdkMacosBaseView.c macos: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
GdkMacosBaseView.h
gdkmacoscairocontext-private.h
gdkmacoscairocontext.c macos: use CGContext to draw cairo surfaces 2022-02-03 19:26:16 -08:00
GdkMacosCairoSubview.c macos: precalculate clip regions as CGRect 2022-02-04 09:31:37 -08:00
GdkMacosCairoSubview.h macos: precalculate clip regions as CGRect 2022-02-04 09:31:37 -08:00
GdkMacosCairoView.c macos: fallback to conversion on WCG colorspace 2022-02-05 12:42:57 -08:00
GdkMacosCairoView.h
gdkmacosclipboard-private.h macos: make pasteboard usage reusable 2021-06-17 17:19:19 -07:00
gdkmacosclipboard.c macos: make pasteboard usage reusable 2021-06-17 17:19:19 -07:00
gdkmacoscursor-private.h
gdkmacoscursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdevice-private.h macos: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkmacosdevice.c macos: track grab serial like other backends 2020-12-02 11:34:31 -08:00
gdkmacosdevice.h
gdkmacosdisplay-private.h macos: implement GdkDrop for macOS 2021-06-17 17:26:42 -07:00
gdkmacosdisplay-settings.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay-translate.c gdk: fix reversed and sluggish scrolling on MacOS 2022-02-14 14:05:39 -05:00
gdkmacosdisplay.c macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
gdkmacosdisplay.h
gdkmacosdrag-private.h
gdkmacosdrag.c macos: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkmacosdragsurface-private.h macos: move drag motion to GdkMacosDrag 2021-06-17 13:24:39 -07:00
gdkmacosdragsurface.c macos: move drag motion to GdkMacosDrag 2021-06-17 13:24:39 -07:00
gdkmacosdrop-private.h macos: implement GdkDrop for macOS 2021-06-17 17:26:42 -07:00
gdkmacosdrop.c macos: implement GdkDrop for macOS 2021-06-17 17:26:42 -07:00
gdkmacoseventsource-private.h
gdkmacoseventsource.c docs: Cosmetics 2021-10-18 08:35:54 -04:00
gdkmacosglcontext-private.h macos: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkmacosglcontext.c macos: Fix return value 2021-11-03 22:53:59 +01:00
gdkmacosglcontext.h
GdkMacosGLView.c macos: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
GdkMacosGLView.h macos: implement GL context 2020-10-29 10:57:02 -07:00
gdkmacoskeymap-private.h macos: add key equivalent helper 2020-10-09 20:03:52 -07:00
gdkmacoskeymap.c Correct translation of Mac JIS Eisu & Kana keys 2021-07-24 20:59:18 +09:00
gdkmacoskeymap.h
gdkmacosmonitor-private.h macos: add API to get monitor colorspace 2022-02-04 09:45:55 -08:00
gdkmacosmonitor.c macos: add API to get monitor colorspace 2022-02-04 09:45:55 -08:00
gdkmacosmonitor.h macos: track various changes in GDK 2020-10-09 20:02:18 -07:00
gdkmacospopupsurface-private.h
gdkmacospopupsurface.c macos: remove popup surface from parent 2022-02-03 19:26:16 -08:00
gdkmacosseat-private.h Support stylus devices on macos 2021-01-11 11:41:00 +01:00
gdkmacosseat.c macos: Fix a compiler warning 2021-06-17 17:14:14 -07:00
gdkmacosseat.h Support stylus devices on macos 2021-01-11 11:41:00 +01:00
gdkmacossurface-private.h macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
gdkmacossurface.c macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
gdkmacossurface.h
gdkmacostoplevelsurface-private.h macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
gdkmacostoplevelsurface.c macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
gdkmacosutils-private.h macos: handle point conversion on older macOS 2021-01-05 13:52:11 -08:00
GdkMacosWindow.c macos: fix configure, move-resize, and compute-size 2022-02-18 02:50:46 -08:00
GdkMacosWindow.h
meson.build macos: implement GdkDrop for macOS 2021-06-17 17:26:42 -07:00