839f402191
displaymanager: Handle the default display
...
... instead of having every backend do it on their own.
2013-04-15 15:43:26 +02:00
c60bfa40ad
Precache more atoms
...
Add a few more entries to the list of precached atoms.
2013-04-13 19:48:38 -04:00
b0121ed0a1
xi2: Improve pointer emulation debug reporting
...
Reporting "true" or "false" is nicer than the value of the flag.
https://bugzilla.gnome.org/show_bug.cgi?id=697795
2013-04-11 15:56:13 +01:00
cc7b3985b3
xi2: Reset scroll valuators on synthesized crossing events
...
On crossing events resulting from moving windows (eg. workspace switch),
deviceid equals sourceid, so make those reset scroll valuators on all
slave devices to avoid misleading jumps in scroll events
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690275
2013-04-10 20:18:09 +02:00
f8b017faa8
x11: Simplify code for single-screen case
2013-04-06 10:47:55 +02:00
a6b29d73d7
gdkdisplay: Remove get_screen() and get_n_screens() vfuncs
2013-04-02 11:45:44 +02:00
47a8c2f733
x11: Make display:screen relation 1:1
...
Only ever open the default screen.
If apps need support for multiple screens, they need to
gdk_display_open() them manually.
2013-04-01 14:20:46 +02:00
cb4cf67a95
Remove an unused field in GdkWindowX11
...
The toplevel_window_type field was only ever set to -1, and
never used. The actual, used toplevel_window_type field lives
in GdkWindow.
2013-03-31 22:44:59 -04:00
bfcf9e471d
Implement GInitable in GdkX11DisplayManager
...
Add GInitable implementation and fail the initialisation if it is not
possible to connect to the display server.
2013-03-23 00:48:25 -04:00
0cc688aa92
Drop the Motif DND protocol
...
The implementation is not working and unused, since XDND is the
de-facto standard under X nowadays.
https://bugzilla.gnome.org/show_bug.cgi?id=695476
2013-03-12 20:03:19 -04:00
942c63d82b
x11: Remove unused macro
...
https://bugzilla.gnome.org/show_bug.cgi?id=694395
2013-03-04 21:09:06 -05:00
c6eddaafed
GdkScreen: get a long X property correctly
...
https://bugzilla.gnome.org/show_bug.cgi?id=691426
Signed-off-by: Federico Mena Quintero <federico@gnome.org >
2013-02-26 17:58:21 -06:00
6fd897bb10
Add available marker to gdk_x11_window_set_utf8_property
2013-02-25 10:54:33 +01:00
de08716526
x11: Handle case where xsettings are NULL
2013-02-19 19:55:02 +01:00
588513fc9a
x11: Get rid of XSettingsClient object
...
Instead, store its variables in the GdkX11Screen.
2013-02-19 14:33:39 +01:00
3eef3290ad
x11: Use _gdk_x11_get_xatom_for_display_printf()
...
instead of keeping the atom around all the time
2013-02-19 14:33:39 +01:00
13eeb6ca33
x11: Introduce _gdk_x11_get_xatom_for_display_printf()
...
and use it instead of caching the atom in the GdkScreenX11.
2013-02-19 14:33:39 +01:00
b2043511ee
x11: Don't keep an "in_init" variable
...
Instead, track the init state with a boolean argument.
2013-02-19 14:33:39 +01:00
200d6fe664
x11: Clean up xsettings header
...
- Don't use defines for renames
- Move enum into only source file using it
2013-02-19 14:33:38 +01:00
e1efe3269c
x11: Get rid of XSettingsSetting
...
Use GValue throughout instead.
2013-02-19 14:33:38 +01:00
84679ba78b
x11: Remove extra variable
...
Use a getter instead.
2013-02-19 14:33:38 +01:00
78ce2563be
x11: Split xsettings event filter into 2 functions
...
One for each type of window we watch.
2013-02-19 14:33:38 +01:00
f6d6e932de
x11: Make stored xsettings window a GdkWindow
2013-02-19 14:33:38 +01:00
5507954e04
x11: Split function into two
...
Instead of a boolean is_start, have a start and an end function.
2013-02-19 14:33:38 +01:00
8028a5b24a
x11: Use gdk_display_flush()
2013-02-19 14:33:38 +01:00
c91843edea
x11: Get selection atom useing GDK functions
...
Don't call XInternAtoms ourselves.
2013-02-19 14:33:38 +01:00
8596142336
x11: Warning improvements to xsettings code
...
... and using g_warning() instead of fprintf()
2013-02-19 14:33:37 +01:00
01be4ce166
x11: Use usual Atom handling in xsettings code
2013-02-19 14:33:37 +01:00
ed38dbe28f
x11: Consolidate root window event setting in one place
...
No need to duplicate things in xsettings code.
2013-02-19 14:33:37 +01:00
9ed7e883f2
x11: Remove unused argument
2013-02-19 14:33:37 +01:00
edf19ab7b4
x11: Store GDK name in xsettings hash table
...
The X name is only used while reading the property, so no need to keep
it.
2013-02-19 14:33:37 +01:00
afa3d611d6
x11: Remove XSettingsAction type
...
Use GdkSettingAction instead.
2013-02-19 14:33:37 +01:00
a4f11fa4f5
x11: Make xsettings callbacks code go away
...
It's the same callbacks every time, so just move them into the source
file.
2013-02-19 14:33:37 +01:00
c3607fd551
x11: Don't store name in XSettingsSetting anymore
...
This is in preparation to switching XSettingsSetting to GValue
2013-02-19 14:33:36 +01:00
30a4150c8e
x11: Use boolean instead of enum for errors in xsettings code
2013-02-19 14:33:36 +01:00
23b039c8cd
x11: Move error reporting to where the error happens
...
Also, use g_warning() instead of fprintf().
2013-02-19 14:33:36 +01:00
b36b89151e
x11: Move length checking into return_if_fail() macro
2013-02-19 14:33:36 +01:00
e3206b9de4
x11: Use GDK error trapping code
2013-02-19 14:33:36 +01:00
c84e303fb5
x11: Split out xsettings string reading code
2013-02-19 14:33:36 +01:00
2b83062fc6
x11: Clean up xsettings header
...
Move private struct definitions into source file, remove unneeded C++
guards.
2013-02-19 14:33:36 +01:00
0c58cb744c
x11: Add debugging output for xsettings code
2013-02-19 14:33:36 +01:00
08a6f554c3
x11: Use glib malloc funcs for XSettings
2013-02-19 14:32:41 +01:00
7800e68b73
x11: Call grab functions directly
...
... instead of going via vfuncs.
2013-02-19 14:32:41 +01:00
eb4792128f
x11: Pass the GdkScreen to the XSettingsClient
2013-02-19 14:32:41 +01:00
bb4953f3e8
x11: Fold xsettings-common.[ch] into xsettings-client.[ch]
2013-02-19 14:32:41 +01:00
63f0797e70
x11: Return XSetting without copying
2013-02-19 14:32:41 +01:00
1f95eddbda
x11: Don't store last change serial
...
It's unused anyway
2013-02-19 14:32:41 +01:00
8fa1b2bb9d
xsettings: Remove XSettingsList type
...
Use GHashTable throughout
2013-02-19 14:32:41 +01:00
d7ea5b5266
xsettings: Use glib byte order functions
2013-02-19 14:32:40 +01:00
c1a4a1da10
xsettings: Remove unused function
...
Remove xsettings_client_new() and rename
xsettings_client_new_with_grab_funcs() to xsettings_client_new()
2013-02-19 14:32:40 +01:00