f598f75dfb
gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call
...
This was typoed in commit dfe6ba932c
https://bugzilla.gnome.org/show_bug.cgi?id=642843
2011-02-20 20:11:13 -05:00
acc01ac944
Tweak include order a bit to get around compilation errors
...
wintab.h defines an INT() macro that interfers with some lines in
commctrl.h.
2011-02-20 23:56:13 +02:00
8e6932f46e
Handle emulated keyboard input that arrives as VK_PACKET
...
Fixes bug #642772 . Thanks to the anonymous bug reporter for providing
a test program.
2011-02-20 01:39:13 +02:00
3f78b251b9
Free event axes for double/triple click events.
...
The button event axes are copied over when synthesizing
these events, so free them as well in gdk_event_free().
2011-02-17 20:45:32 +01:00
a3f52949c4
Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key()
...
If a level 1 key maps to a key value passed to
gdk_test_simulate_key(), raise the GDK_SHIFT_MASK flag so the reqested
key value is generated. Also add a regression test for this fix.
2011-02-13 12:57:01 +01:00
33a46dd553
gdk: Select the X11 backend a the last possible backend
...
On Windows and OS X we want to prefer the native backends over the X11
backend.
On Linux, nothing changes as nobody is going to enable those backends
(and if they do, they'll know what they get).
2011-02-12 22:09:58 +01:00
728a45fc1f
Remove confusion over XI2 defines
...
Some places were using XINPUT_2, others XINPUT_XI2. Since configure
defines XINPUT_2, use that throughout.
2011-02-11 23:30:01 -05:00
de9a082ddb
x11: Make headers identical no matter if we run with or without XI2
...
Previously we weren't installing the device headers when compiling
without XINPUT support. But we would include them from gdkx.h, so
essentially the build was broken.
With this patch the types will exist but not do anything.
2011-02-12 01:27:40 +01:00
30abd4d8b5
x11: Fix struct definition for GdkDeviceManagaerXI2
2011-02-12 00:16:03 +01:00
e9ff457a40
x11: Make the device manager struct actually subclass the correct device
2011-02-11 23:53:14 +01:00
b1f2e5bfa3
x11: Fix build without Xinput
...
Missing ifdefs
2011-02-11 23:21:11 +01:00
b5134619a0
wayland: Map transient surfaces as such
2011-02-11 17:20:14 -05:00
1cd65aea53
wayland: Only set x, y, and modifiers if the pointers are non-NULL
2011-02-11 17:07:19 -05:00
152dca40d3
wayland: Remove window cursor hash
2011-02-11 10:06:56 -05:00
d8f061ad42
[broadway] Update to new GDK backend APIs
2011-02-11 15:59:50 +01:00
ffe3af7f1c
wayland: There's only one screen
2011-02-11 09:56:58 -05:00
6eac07d4f6
wayland: Trim some unused struct fields
2011-02-11 09:50:10 -05:00
e68774325e
[broadway] Update to new library name
2011-02-11 15:38:41 +01:00
d4add8cefa
Merge branch 'master' into broadway
2011-02-11 15:27:54 +01:00
7cb41b6561
gdk/gdkconfig.h.win32: Make it more up-to-date
...
Make this pre-configured file to be more like the one used by the existing
X11 version, but using GDK_WINDOWING_WIN32 for obvious reasons.
2011-02-11 18:07:05 +08:00
f2ac8c7ce3
wayland: Drop empty gdkscreen-wayland.h
2011-02-10 23:00:12 -05:00
4ca3e53a3e
wayland: Drop GdkToplevelWayland and gdkwindow-wayland.h
2011-02-10 22:51:23 -05:00
cd91551075
wayland: Fix resizing from other corners than just botton-right
2011-02-10 22:37:51 -05:00
cfb9c840e5
wayland: Remove some fprintf debug messages
2011-02-10 22:22:42 -05:00
6d20bcb848
wayland: Fix hiding and withdrawing surfaces
2011-02-10 22:21:08 -05:00
22b9132ae5
wayland: Keep a reference to the surface we last attached
2011-02-10 22:04:26 -05:00
3b205de896
wayland: Port over missing xkb functionality from X11 backend
2011-02-10 20:34:14 -05:00
0db8663e44
wayland: Copy gdk_wayland_keymap_translate_keyboard_state from X11 backend
2011-02-10 16:35:38 -05:00
f0fe810999
wayland: Adjust the hw keycode in key events for min_key_code
2011-02-10 16:34:40 -05:00
524ce69bcb
Bump the version to 3.0.0
...
At the same time, change the library sonames for -3.0 to just -3.
This is necessary since the 2.99 releases installed libraries like
libgtk-3.0.so.0.9903.0, and we want to prevent the library version
number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
2011-02-10 14:41:02 -05:00
c3955ea0c2
wayland: Add a few more cursors
2011-02-10 14:08:53 -05:00
df0815470c
wayland: Return surface coordinates and mask in window_at_position
2011-02-10 13:42:59 -05:00
4621c6476c
wayland: Send visibility event after map
2011-02-10 11:02:15 -05:00
9e1a0a1bec
wayland: Fix indentation
2011-02-10 11:02:15 -05:00
df57389190
wayland: Unref the keyboard focus surface when losing keyboard focus
2011-02-10 11:02:15 -05:00
f62e4a02b6
wayland: Use GDK_NOTE for logging event debug messages
2011-02-10 11:02:15 -05:00
9f0ed18d5a
wayland: Set event screen
2011-02-10 10:57:33 -05:00
1b918d1b93
wayland: Pretend selection works, print debug message
2011-02-10 10:54:10 -05:00
3beb09adca
wayland: Copy translate_keyboard_string() form x11 backend
2011-02-10 10:53:31 -05:00
0583603b09
wayland: Actually return device in _gdk_wayland_device_get_device()
2011-02-10 10:49:51 -05:00
f7f1b59e05
wayland: Handle blank cursor
2011-02-10 10:49:09 -05:00
de82b82dd8
wayland: Clear modifier mask before restoring from keyboard_focus value
2011-02-09 16:36:15 -05:00
c36dfccc64
wayland: Consolidate device and devicemanager implementation
2011-02-09 15:27:08 -05:00
3ef3433511
wayland: Support setting cursors
...
And a handful unrelated cleanups. Still doesn't really have an answer
for cursor themes.
2011-02-09 14:48:31 -05:00
8291530abf
More GDK documentation tweaks
2011-02-09 02:44:19 -05:00
adef25626e
Fix annotation that broke the docs
...
It was added in 0e795b67c3
and removed in f6cc08fa57 .
2011-02-08 23:06:42 -08:00
1f4bb70bac
Give the GDK docs some love
...
Reorganize some sections, drop the largely redundant multihead
section, add some more information about multiple backends.
2011-02-09 01:32:24 -05:00
f6cc08fa57
Remove annotation that breaks the docs
...
Before adding annotations, please check that gtk-doc can handle
them. Else they will be stripped out again.
2011-02-08 20:00:27 -05:00
546069f434
wayland: Use wayland-egl
2011-02-08 16:02:22 -05:00
60e0acfc11
Remove tab as it confused g-ir-scanner
2011-02-08 13:20:53 -02:00