Matthias Clasen
fdabc9585d
Drop g[dt]k_set_locale
...
These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.
2010-12-21 12:07:02 -05:00
Matthias Clasen
2211e52ec5
Don't use gtk_set_locale
2010-12-21 12:07:02 -05:00
Matthias Clasen
afa0ebf36b
Add vfuncs for gdk_test apis
2010-12-21 12:07:02 -05:00
Matthias Clasen
28abd0c75f
Add vfuncs for atoms
2010-12-21 12:07:02 -05:00
Matthias Clasen
62e9bb06a0
Add a vfunc for gdk_keymap_get_for_display
2010-12-21 12:07:02 -05:00
Matthias Clasen
a97b1891b3
Rename private keymap symbols to _gdk_x11_keymap...
2010-12-21 12:07:02 -05:00
Matthias Clasen
1d5afe4880
Rename the _gdk_xid_table functions
2010-12-21 12:07:02 -05:00
Matthias Clasen
55e1031e84
Remove gdk_net_wm_supports
...
This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.
2010-12-21 12:07:02 -05:00
Matthias Clasen
902fd60a86
Remove the --sync commandline option
...
Remove the --sync option and remove the possibility of backend-specific
commandline options altogether. --sync is being replaced by
a GDK_SYNCHRONIZE environment variable.
2010-12-21 12:07:02 -05:00
Matthias Clasen
b938e71e1d
Remove unused _gdk_use_xshm global
2010-12-21 12:07:01 -05:00
Matthias Clasen
021f595a38
Rename _gdk_window_move_resize_child
...
Rename _gdk_window_move_resize_child and _gdk_window_process_expose
to _gdk_x11.
2010-12-21 12:07:01 -05:00
Matthias Clasen
214342eac5
Clean up gdkx.h a bit
...
Moving the direct-access redefinitions of various macros
to gdkprivate-x11.h and use that header throughout in x11/.
Also remove a workaround for a long-fixed X server bug.
2010-12-21 12:07:01 -05:00
Matthias Clasen
32e3dcfb47
drop dead function
2010-12-21 12:07:01 -05:00
Matthias Clasen
126212b470
Add a vfunc for _gdk_window_impl_new
2010-12-21 12:07:01 -05:00
Matthias Clasen
d5803fa9b2
Get rid of the _gdk_selection_property global
2010-12-21 12:07:01 -05:00
Matthias Clasen
185cdddb0d
Rename _gdk_moveresize functions to _gdk_x11_moveresize
2010-12-21 12:07:01 -05:00
Matthias Clasen
19cf9309a5
Drop gdkx_visual_get
...
The function is badly named, not multihead-safe, basically unused,
and has a better replacement with gdk_x11_screen_lookup_visual.
2010-12-21 12:07:01 -05:00
Matthias Clasen
e11bbbf194
Rename _gdk_xgrab_ apis to _gdk_x11_window_
2010-12-21 12:07:01 -05:00
Matthias Clasen
566abbad25
Rename _gdk_send_xevent to _gdk_x11_display_send_xevent
2010-12-21 12:07:00 -05:00
Matthias Clasen
28b7c6f05d
Rename _gdk_event_mask_table to _gdk_x11_event_mask_table
2010-12-21 12:07:00 -05:00
Matthias Clasen
985eb14469
Multiple changes to reduce the amount of unprefixed symbols
...
The X11 backend exports a number of symbols which are _-prefixed
(so don't become part of the gdk api), but are not named in a
way to prevent accidental clashes between backends.
The one API change here is that the gdk_xid_table functions
have been removed - they did not server an purpose, since the
xid table only stores windows anyway, and we already have a
lookup-by-xid function for windows.
2010-12-21 12:07:00 -05:00
Benjamin Otte
33417c36f1
plug: Comment hack for xinput that used private x11 backend API
2010-12-21 12:07:00 -05:00
Matthias Clasen
624dc45755
Move event source apis to gdk_x11
...
Reduces the changes of cross-backend collisions
2010-12-21 12:07:00 -05:00
Matthias Clasen
25c66c11e2
Remove gdk_spawn functions
...
These functions were trivial g_spawn wrappers in all backends
except for X11, and they can be easily replaced by
g_app_info_create_for_commandline + GdkAppLaunchContext.
2010-12-21 12:07:00 -05:00
Matthias Clasen
ef85f112da
Don't use gdk_spawn
...
Replace the sole use of gdk_spawn in GTK+ by GAppInfo.
2010-12-21 12:07:00 -05:00
Matthias Clasen
536a7c8abb
Work around issues with events without screens
...
Just use the default display for copy/free of event data.
Maybe the vfuncs should be moved to GdkDisplayManager.
2010-12-21 12:07:00 -05:00
Matthias Clasen
6c16ddc2d3
Make GdkAppLaunchContext work again
...
We didn't set the display, ever. Add a construct-only property
for this purpose.
2010-12-21 12:07:00 -05:00
Matthias Clasen
fa33839d72
Consistently use per-display error traps in the X11 backend
2010-12-21 12:06:59 -05:00
Matthias Clasen
2d7583c0e3
Make gdk_window_{lookup,foreign_new}_for_display backend specific
...
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.
2010-12-21 12:06:59 -05:00
Matthias Clasen
39a71b8831
Add vfuncs for _gdk_windowing_event_data_{copy,free}
2010-12-21 12:06:59 -05:00
Matthias Clasen
968668629b
Go back to installing libgdk.so
2010-12-21 12:06:59 -05:00
Matthias Clasen
5eb4506b94
Drop the --screen cmdline argument
...
Commandline arguments should go away altogether, but this one
goes first, since we then don't need to worry about
_gdk_windowing_substitute_screen_number anymore.
2010-12-21 12:06:59 -05:00
Matthias Clasen
beaa11be98
Add a vfunc for gdk_notify_startup_complete
...
At the same time, add a display api for this, since it really
is per-display.
2010-12-21 12:06:59 -05:00
Matthias Clasen
a251d3786b
Remove sm-client-id related functions from headers
2010-12-21 12:06:59 -05:00
Matthias Clasen
2186203422
Remove unused get_offsets functions from headers
2010-12-21 12:06:59 -05:00
Matthias Clasen
224726f554
Remove gdk_windowing_{get_device_state,window_at_device_position}
...
The !trusted workaround code is pushed down into the GdkDevice
subclasses, and we use the device vfuncs directly in gdkdisplay.c
2010-12-21 12:06:59 -05:00
Matthias Clasen
9adb974155
Add a vfunc for _gdk_windowing_window_get_next_serial
2010-12-21 12:06:58 -05:00
Matthias Clasen
9635f09623
Move warp functions to the frontend
...
There were already GdkDevice vfuncs for this.
2010-12-21 12:06:58 -05:00
Matthias Clasen
4a74060d63
Make gdk_set_sm_client_id X11-specific
...
This is really not a cross-platform API
2010-12-21 12:06:58 -05:00
Matthias Clasen
ccb6edeb8b
Add vfuncs for process_updates_recurse and the before and after hooks
2010-12-21 12:06:58 -05:00
Matthias Clasen
da216c0665
Add vfuncs for a bunch of cursor functionality to GdkDisplay
2010-12-21 12:06:58 -05:00
Javier Jardón
dfe6ba932c
Don't access GdkDisplay fields directly
...
Use accessors instead.
2010-12-21 12:06:58 -05:00
Matthias Clasen
ea96e5e16f
Explode gdkinternals.h into per-class private headers
...
At the same time, move some more class and instance structs
out of public headers.
2010-12-21 12:06:58 -05:00
Matthias Clasen
ff8a334725
Hide GdkDevice struct
...
Once its hidden, we can kill the GdkDevicePrivate struct too.
2010-12-21 12:06:58 -05:00
Matthias Clasen
b5df501296
Move destroy_foreign comment
2010-12-21 12:06:57 -05:00
Matthias Clasen
218fa6757a
Weed out no longer needed declarations
2010-12-21 12:06:57 -05:00
Matthias Clasen
5fa8791c86
Add a vfunc for _gdk_events_queue
2010-12-21 12:06:57 -05:00
Matthias Clasen
ec9c97752d
Work toward turning GdkDisplayManager into a backend singleton
...
This commit hides the GdkDisplayManager instance and class structs,
adds vfuncs for listing displays, opening displays, and getting and
setting the default display. The X11 backend has a derived
GdkDisplayManagerX11.
The gdk_display_manager_get() function is responsible for deciding on
which of the compiled in backends to use. Currently, it consults the
GDK_BACKEND environment variable and falls back to x11.
2010-12-21 12:06:57 -05:00
Matthias Clasen
fa4b54b6de
Add per-target pc files back
...
Dropping those will be an unnecessary pain.
2010-12-21 12:06:57 -05:00
Matthias Clasen
9a1cc81acb
Add a vfunc to replace _gdk_windowing_window_destroy_foreign
...
All backends updated.
2010-12-21 12:06:57 -05:00