summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-09 11:26:30 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-09 11:26:30 -0400
commit68e0eaa2b55db5354fc25d64ef28eca30df1767b (patch)
tree6b60d792af4ff4a06c4a5e9717f8be95a4de6407
parent6b8816bab46172abc975674dcefadcea4edcef08 (diff)
TODO: More updates
-rw-r--r--TODO20
-rw-r--r--protocol/wayland.xml100
2 files changed, 66 insertions, 54 deletions
diff --git a/TODO b/TODO
index f761a3b..b5e1ad6 100644
--- a/TODO
+++ b/TODO
@@ -65,6 +65,10 @@ ICCCM
it offers (the clipboad manager may only offer a subset of the
types offered by the original data_source)
+ The trouble is that when the clipboard manager sets a new data
+ source, we don't want to renew the timestamp and potentially reject
+ a newer "real" data source.
+
- mime-type guidelines for data_source (ie, both dnd and selection):
recommended types for text or images, types that a clipboard
manager must support, mime-types must be listed in preferred order
@@ -151,27 +155,11 @@ Misc
libxkbcommon
- - pull in actions logic from xserver
-
- - pull in keycode to keysym logic from libX11
-
- - expose alloc functions in libxkbcommon, drop xserver funcs?
-
- - pull the logic to write the xkb file from xkb_desc and names into
- libxkbcommon and just build up the new xkb_desc instead of
- dump+parse? (XkbWriteXKBKeymapForNames followed by
- xkb_compile_keymap_from_string in XkbDDXLoadKeymapByNames)
-
- pull in keysym defs as XKB_KEY_BackSpace
- figure out what other X headers we can get rid of, make it not
need X at all (except when we gen the keysyms).
- - Sort out namespace pollution (XkbFoo macros, atom funcs etc).
-
- - Sort out 32 bit vmods and serialization
-
-
Clients and ports
- port gtk+
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index d1c6f94..3268fdb 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -696,15 +696,29 @@
</event>
</interface>
- <interface name="wl_input_device" version="1">
- <description summary="input device group">
- A group of keyboards and pointer devices (mice, for
- example). This object is published as a global during start up,
+ <interface name="wl_seat" version="1">
+ <description summary="seat">
+ A group of keyboards, pointer (mice, for example) and touch
+ devices . This object is published as a global during start up,
or when such a device is hot plugged. A input_device group
typically has a pointer and maintains a keyboard_focus and a
pointer_focus.
</description>
+ <event name="pointer">
+ <arg name="name" type="uint"/>
+ </event>
+
+ <event name="keyboard">
+ <arg name="name" type="uint"/>
+ </event>
+
+ <event name="touch">
+ <arg name="name" type="uint"/>
+ </event>
+ </interface>
+
+ <interface name="wl_pointer">
<request name="attach">
<description summary="set the pointer image">
Set the pointer's image. This request only takes effect if
@@ -718,6 +732,27 @@
<arg name="hotspot_y" type="int"/>
</request>
+ <event name="enter">
+ <description summary="enter event">
+ Notification that this input device's pointer is focused on
+ certain surface. When an input_device enters a surface, the
+ pointer image is undefined and a client should respond to this
+ event by setting an appropriate pointer image.
+ </description>
+
+ <arg name="serial" type="uint"/>
+ <arg name="surface" type="object" interface="wl_surface"/>
+ <arg name="surface_x" type="fixed"/>
+ <arg name="surface_y" type="fixed"/>
+ </event>
+
+ <event name="leave">
+ <description summary="leave event">
+ </description>
+ <arg name="serial" type="uint"/>
+ <arg name="surface" type="object" interface="wl_surface"/>
+ </event>
+
<event name="motion">
<description summary="pointer motion event">
Notification of pointer location change. The arguments surface_[xy]
@@ -756,51 +791,40 @@
<arg name="axis" type="uint"/>
<arg name="value" type="int"/>
</event>
+ </interface>
- <event name="key">
- <description summary="key event">
- A key was pressed or released.
- </description>
+ <interface name="wl_keyboard" version="1">
+ <description summary="keyboard input device">
+ </description>
+ <event name="enter">
<arg name="serial" type="uint"/>
- <arg name="time" type="uint"/>
- <arg name="key" type="uint"/>
- <arg name="state" type="uint"/>
+ <arg name="surface" type="object" interface="wl_surface"/>
+ <arg name="keys" type="array"/>
</event>
- <event name="pointer_enter">
- <description summary="pointer enter event">
- Notification that this input device's pointer is focused on
- certain surface. When an input_device enters a surface, the
- pointer image is undefined and a client should respond to this
- event by setting an appropriate pointer image.
- </description>
-
+ <event name="leave">
<arg name="serial" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
- <arg name="surface_x" type="fixed"/>
- <arg name="surface_y" type="fixed"/>
</event>
- <event name="pointer_leave">
- <description summary="pointer leave event">
+ <event name="key">
+ <description summary="key event">
+ A key was pressed or released.
</description>
- <arg name="serial" type="uint"/>
- <arg name="surface" type="object" interface="wl_surface"/>
- </event>
- <event name="keyboard_enter">
<arg name="serial" type="uint"/>
- <arg name="surface" type="object" interface="wl_surface"/>
- <arg name="keys" type="array"/>
+ <arg name="time" type="uint"/>
+ <arg name="key" type="uint"/>
+ <arg name="state" type="uint"/>
</event>
+ </interface>
- <event name="keyboard_leave">
- <arg name="serial" type="uint"/>
- <arg name="surface" type="object" interface="wl_surface"/>
- </event>
+ <interface name="wl_touch" version="1">
+ <description summary="touch screen input device">
+ </description>
- <event name="touch_down">
+ <event name="down">
<arg name="serial" type="uint"/>
<arg name="time" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
@@ -809,26 +833,26 @@
<arg name="y" type="fixed" />
</event>
- <event name="touch_up">
+ <event name="up">
<arg name="serial" type="uint"/>
<arg name="time" type="uint"/>
<arg name="id" type="int" />
</event>
- <event name="touch_motion">
+ <event name="motion">
<arg name="time" type="uint"/>
<arg name="id" type="int" />
<arg name="x" type="fixed" />
<arg name="y" type="fixed" />
</event>
- <event name="touch_frame">
+ <event name="frame">
<description summary="end of touch frame event">
Indicates the end of a contact point list.
</description>
</event>
- <event name="touch_cancel">
+ <event name="cancel">
<description summary="touch session cancelled">
Sent if the compositor decides the touch stream is a global
gesture. No further events are sent to the clients from that