62273fc08a
quartz: add forgotten file (gdkdnd-quartz.h)
2010-12-22 17:47:01 +01:00
f4c0c47a1a
quartz: move bits into gdkcursor-quartz.h (private header for now)
2010-12-22 17:47:01 +01:00
dff3973198
quartz: remove GdkCursorPrivate typedef
2010-12-22 17:47:01 +01:00
013cbea25f
quartz: Remove API for extension checks
2010-12-22 17:47:01 +01:00
881ea6e06c
quartz: convert GdkQuartzWindow to new drag context API
2010-12-22 17:47:01 +01:00
71404825c3
quartz: fix up GdkDragContext conversion
2010-12-22 17:47:01 +01:00
8cb301762a
Fix typo
2010-12-22 17:47:01 +01:00
3ace122563
quartz: turn quartz GdkCursor into GObject
2010-12-22 17:47:01 +01:00
bd1ff477ca
Deal with property encoding functions for quartz
2010-12-22 17:47:01 +01:00
de41790470
Implement selection related vfuncs for quartz
2010-12-22 17:47:01 +01:00
762548d303
Implement selection owner vfuncs for quartz
2010-12-22 17:47:01 +01:00
547d674ce5
Implement window property vfuncs for quartz
2010-12-22 17:47:01 +01:00
168b3c13b7
Implement keyval vfuncs for quartz
2010-12-22 17:47:00 +01:00
9ae2dc0deb
Drop gdk_set_locale from quartz
2010-12-22 17:47:00 +01:00
a1b300ecb6
Implement test vfuncs for quartz
2010-12-22 17:47:00 +01:00
6eb2a3520c
Implement atom-related vfuncs for quartz
2010-12-22 17:47:00 +01:00
51f149df5e
Implement get_keymap vfunc for quartz
2010-12-22 17:47:00 +01:00
46352afa6f
Implement create_window_impl vfunc for quartz
2010-12-22 17:47:00 +01:00
57efe15bda
Drop gdk_spawn functions
...
These have been removed since the implementation was just
a straight wrapper around g_spawn.
2010-12-22 17:47:00 +01:00
9dbe3bd316
Drop unimplemented foreign window functions
...
These have been relegated to backend-specific
2010-12-22 17:47:00 +01:00
b2ff02332f
Implement event_data_{copy,free} for quartz
2010-12-22 17:47:00 +01:00
4b92625fe0
Implement notify_startup_complete vfunc for quartz
2010-12-22 17:47:00 +01:00
1a04631707
Implement get_next_serial for quartz
2010-12-22 17:47:00 +01:00
dadbc63f1e
gdk_display_warp_pointer is in the frontend now
2010-12-22 17:46:59 +01:00
a1a0205dad
Implment process_updates_recurse vfunc for quartz
2010-12-22 17:46:59 +01:00
3232be603a
Implement has_pending and queue_events vfuncs for quartz
2010-12-22 17:46:59 +01:00
733c8fc8e7
Derive GdkDisplayManager for quartz
2010-12-22 17:46:59 +01:00
8a9c604b8a
Adapt quartz device code to new ways
...
We will need to rename the Core implementations in X11/Quartz
to not clash, later.
2010-12-22 17:46:59 +01:00
e2fea748d6
Adapt quartz visual code to new ways
...
We may still need a subclass here later, not sure
2010-12-22 17:46:59 +01:00
46e8aadaf8
Rename _gdk_dnd_init
2010-12-22 17:46:59 +01:00
25271f5e9a
Implement dnd vtables for quartz
2010-12-22 17:46:59 +01:00
d2ce9ec3dc
Convert a bunch of visual related calls to use the screen vtable, quartz
2010-12-22 17:46:59 +01:00
41352f24d6
Convert all GdkScreen methods to vtable calls, quartz backend
2010-12-22 17:46:59 +01:00
f43f259d49
Derive GdkKeymap for Quartz
2010-12-22 17:46:59 +01:00
acd99409b8
Make display method vtable calls, quartz backend
2010-12-22 17:46:59 +01:00
064bfceaad
Convert all gdk_window methods to vtable calls in the quartz backend
2010-12-22 17:46:59 +01:00
3036922b3d
gdk: Create windows via _gdk_display_create_window()
...
THe use of this function will become visible in the next commits. But
wrapping g_object_new() is a generally a good idea anyway.
2010-12-21 12:07:08 -05:00
4793bd3399
gdk: Move gdk_cursor_get_display() out of the backends
...
Now that we store the display inside the cursor, that change is obvious.
2010-12-21 12:07:05 -05:00
58529e69ec
Drop sm_client_id implementation for Quartz
2010-12-21 12:07:04 -05:00
9a1cc81acb
Add a vfunc to replace _gdk_windowing_window_destroy_foreign
...
All backends updated.
2010-12-21 12:06:57 -05:00
1e694b4dd8
Add a vfunc for gdk_window_set_composited
2010-12-21 12:06:57 -05:00
c53ec081ce
Add vtables for DND
...
This commit hides GdkDragContext and GdkDragContextClass, adds
vfuncs for most drag context functionality, and turns the X11 DND
implementation into GdkDragContextX11. We also add vfuncs to
GdkDisplay for gdk_drag_get_protocol and to GdkWindow for
gdk_drag_begin, and implemenet them for X11.
Other backends need similar treatment and are broken now.
2010-12-21 12:06:56 -05:00
06f75b3727
Make GdkAppLaunchContext display-dependent
...
Add a GdkDisplay::get_app_launch_context vfunc, and a
gdk_display_get_app_launch_context that for X11 returns a subclass.
For win32 and quartz, the implementations were trivial, so we
just return a new GdkAppLaunchContext without subclassing. Since
the type of the context now depends on the display,
gdk_app_launch_context_set_display is deprecated.
2010-12-21 12:06:55 -05:00
de84a7b14f
Move gdk_window_lookup to common code
2010-12-21 12:06:55 -05:00
31cd046cd0
Move gdk_add_client_message_filter to common code
2010-12-21 12:06:55 -05:00
8075cfd658
Move gdk_get_display to common code
2010-12-21 12:06:55 -05:00
fd6e57687d
Port Quartz backend to latest rendering-cleanup changes
2010-12-06 14:15:47 +01:00
d55073fde6
gdk: Remove depth argument from GdkWindowImpl->get_geometry()
2010-12-06 01:02:52 +01:00
f9a9567731
gdk: Replace direct calls of _gdk_event_func with _gdk_event_emit()
...
For now that function just calls the event func.
2010-12-02 20:21:05 +01:00
4d1604c77d
gdk: Move window beeps into GdkWindowImpl
...
One less magic function. Also refactored it to make it easier to
implement. It now returns TRUE if it beeped and FALSE if it failed to do
so. A default implementation exists that just returns FALSE for all the
backends that can't beep windows (read: everything but X11 with XKB -
and why on earth do keyboard libs implement beeping?)
2010-12-02 20:21:05 +01:00