Commit Graph

6425 Commits

Author SHA1 Message Date
Kristian Høgsberg
ef2f485056 Add support for more types of input devices
Well, maybe not support, but we at least recognize touchpads and touchscreens
and try to work with them.
2010-09-13 16:23:52 -04:00
Kristian Høgsberg
99d7c64d1b Remove non-gles2 glEnable(GL_TEXTURE_2D) call 2010-09-10 08:51:09 -04:00
Kristian Høgsberg
877d71a6e2 Marshall NULL strings correctly 2010-09-07 22:15:22 -04:00
Kristian Høgsberg
9ccf08d9b8 Change debug format to not confuse object id and message parameters 2010-09-07 22:06:54 -04:00
Kristian Høgsberg
ab2f1cddc6 Dont post damage event from window_copy_surface
We always call this between window_draw() and attaching the window surface
so the surface we're copying to isn't visible.
2010-09-07 22:01:32 -04:00
Kristian Høgsberg
7d804068b6 Only set pointer image when it changes 2010-09-07 21:50:06 -04:00
Kristian Høgsberg
acf82a36bb Log emitted events as well in debug mode 2010-09-07 21:40:31 -04:00
Kristian Høgsberg
6bce89da78 Return the closure from wl_connection_vmarshal()
And provide a function to write it to a connection.
2010-09-07 21:34:45 -04:00
Kristian Høgsberg
50038e4757 Drop wl_surface_post_event() helper
Now wl_client_post_event() is the only entry point for sending out events.
2010-09-07 21:08:59 -04:00
Kristian Høgsberg
7cd36185d7 Fill out a closure when sending events as well 2010-09-07 20:57:40 -04:00
Kristian Høgsberg
4f14f6e109 Fix integer signedness and fd size confusion 2010-09-07 17:09:01 -04:00
Kristian Høgsberg
f821f5ad93 Demarshal all arguments from protocol buffer 2010-09-07 17:00:34 -04:00
Kristian Høgsberg
6c7c7a909a Keep strings and arrays in the buffer when demarshalling
Avoids the malloc+copy, and is a step towards using the closure for
marshalling too.
2010-09-07 16:01:40 -04:00
Kristian Høgsberg
de0fa3bc64 Send terminating nul character when sending strings 2010-09-07 15:58:29 -04:00
Kristian Høgsberg
9f897988fd Move marshal/demarshal buffer into struct wl_closure 2010-09-07 15:58:29 -04:00
Kristian Høgsberg
f1e7bd384c Add protocol debugging facility 2010-09-07 15:58:29 -04:00
Kristian Høgsberg
b6eb39710d TODO editing 2010-09-07 15:58:28 -04:00
Kristian Høgsberg
2feb988c7f Update TODO 2010-09-07 15:58:28 -04:00
Kristian Høgsberg
f8ffded1e5 Drop wl_display_set_compositor() special case 2010-09-03 15:15:33 -04:00
Kristian Høgsberg
9d69f8e796 Replace commit/ack/frame protocol with simpler sync and frame callbacks 2010-09-03 14:46:38 -04:00
Kristian Høgsberg
13b8ae4986 Add convenience functions for posting display events 2010-09-02 20:55:16 -04:00
Kristian Høgsberg
f66d0f4e14 Get rid of wl_client_add_surface() special case 2010-09-02 20:27:16 -04:00
Kristian Høgsberg
e9d37bdc5f Use a transient object for the dnd session 2010-09-02 20:22:42 -04:00
Kristian Høgsberg
5c63df7f1e Fix const warning 2010-09-01 17:18:33 -04:00
Kristian Høgsberg
45b7789a8b Return a closure object from wl_connection_demarshal
This way we can invoke it multiple times without having to demarshal
and build the cfi every time.
2010-08-30 09:47:36 -04:00
Kristian Høgsberg
8ca1cc20a1 flower: Clear surface 2010-08-30 08:21:44 -04:00
Kristian Høgsberg
c7c60646ad Add options to specify xkb details 2010-08-29 21:33:39 -04:00
Kristian Høgsberg
30620609b2 Remove debug message 2010-08-29 21:12:25 -04:00
Kristian Høgsberg
e968f9c6b9 Provide visual feedback as to whether drop is supported
Change the cursor in response to target events.
2010-08-27 22:18:00 -04:00
Kristian Høgsberg
b571f5db6b Handle NULL mime-type in drag::accept request 2010-08-27 22:17:13 -04:00
Kristian Høgsberg
3bbbd15c65 Marshall NULL strings without crashing 2010-08-27 22:16:50 -04:00
Kristian Høgsberg
4eb536091a Update drag protocol to use fd passing for data transfer 2010-08-27 20:30:26 -04:00
Kristian Høgsberg
aebeee0bbf Support marshalling of file descriptors 2010-08-27 20:30:22 -04:00
Kristian Høgsberg
d6f4da7927 connection: Factor out circular buffer functionality 2010-08-26 17:44:31 -04:00
Kristian Høgsberg
4363d2aa4d Ask for glesv2, not gl for compositor in configure.ac 2010-08-26 12:13:43 -04:00
Kristian Høgsberg
b049626117 Use sendmsg/recvmsg for socket I/O 2010-08-25 17:11:29 -04:00
Kristian Høgsberg
1d7ffd32f8 Set pointer image only in response to 'target' event 2010-08-25 16:34:05 -04:00
Kristian Høgsberg
8a40871645 A few makefile/autoconf fixes 2010-08-25 13:38:40 -04:00
Kristian Høgsberg
b12fcceeb7 Update to EGL_MESA_drm_image from mesa master
Woo, running on stock mesa now.
2010-08-25 10:02:20 -04:00
Kristian Høgsberg
d6a4787ed7 TODO editing 2010-08-24 17:34:15 -04:00
Kristian Høgsberg
506e20eed9 More work on dnd 2010-08-19 17:26:02 -04:00
Kristian Høgsberg
041d63e3ee Add clean target for data/ so make clean works again 2010-08-18 20:45:43 -04:00
Kristian Høgsberg
b8cc24e1a8 Actually add dnd client 2010-08-18 20:31:06 -04:00
Kristian Høgsberg
9a686243b6 Add a drag and drop test client 2010-08-18 15:28:04 -04:00
Kristian Høgsberg
eef08fbb1a First step towards drag and drop protocol 2010-08-18 15:27:27 -04:00
Kristian Høgsberg
084d41aac1 Add missing drm.c 2010-08-18 14:51:57 -04:00
Kristian Høgsberg
ef613fbf83 Always consume message, even if no proxy was found
Doh.
2010-08-17 13:50:06 -04:00
Kristian Høgsberg
225a176882 Split GRAB_MOTION and GRAB_MOVE handling 2010-08-17 13:14:24 -04:00
Kristian Høgsberg
10ddbd220a Insert unexplainable cairo_device_flush() to fix terminal drawing 2010-08-16 21:08:52 -04:00
Kristian Høgsberg
da275dd09f Add client side pointer image handling 2010-08-16 17:47:07 -04:00