Compare commits

...

72 Commits

Author SHA1 Message Date
Chris Michael f65a2beb04 fix formatting 8 years ago
Chris Michael c7c3760953 remove debug messages for mouse in/out 8 years ago
Chris Michael 7f23be6920 add checks in client focus/unfocus to test for wayland client 8 years ago
Chris Michael 04d007085e add callbacks for client focus/unfocus 8 years ago
Chris Michael 753c340399 add evas callback for client resize 8 years ago
Chris Michael a851ac31af add evas callback for color_set 8 years ago
Chris Michael e045e098f7 add evas callback for ping event 8 years ago
Chris Michael 48bc5d470a add evas callback for kill request 8 years ago
Chris Michael 37f0b2f7fd add evas callback for delete_request and fix printf warnings for 8 years ago
Chris Michael e43cbf3e4c add evas callback for key up events 8 years ago
Chris Michael 21d5c803f7 add evas callback for key down event 8 years ago
Chris Michael 379bbdaec3 add evas callbacks for mouse wheel event 8 years ago
Chris Michael f7a905a836 add evas callbacks for mouse up event 8 years ago
Chris Michael 8bafbf0b3f add evas callback function for mouse down event 8 years ago
Chris Michael 0d56cf5662 add evas callback for mouse move on a surface 8 years ago
Chris Michael 9fbe869498 add evas callback for mouse out on a surface 8 years ago
Chris Michael ec91cda58c remove some debug messages 8 years ago
Chris Michael b567bbc339 add callback for mouse in on the client. 8 years ago
Chris Michael a74cc7067e add hook for evas callback hide so we can hide any video children 8 years ago
Chris Michael 5ca6814cc1 add hoook for evas show callback and show any video childs 8 years ago
Chris Michael 59c9f5f89f fetch pixmap id in opaque & input region set functions 8 years ago
Chris Michael 4b251d783c add listener for comp_object_add event so we can setup evas callbacks 8 years ago
Chris Michael 3f2b228715 fix typo 8 years ago
Chris Michael 06cce58dee update todo 8 years ago
Chris Michael d1eb4efb9b cleanup any pending input regions when we delete the client 8 years ago
Chris Michael fa54829913 cleanup any pending opaque regions when we delete the client 8 years ago
Chris Michael cfca760b59 cleanup any remaning damage rectangles when we delete the client 8 years ago
Chris Michael 3d0298f411 add some comments about fetching resource data 8 years ago
Chris Michael 5d6b5a4d47 update resource data comment 8 years ago
Chris Michael f934b05fb1 add code to handle pending input regions during surface commit 8 years ago
Chris Michael 55032dd3f1 add code to handle pending opaque regions during surface commit 8 years ago
Chris Michael 6dc40f5dc5 add code to handle pending damages during surface commit 8 years ago
Chris Michael c42b2df50e add code to handle setting surface input region 8 years ago
Chris Michael 88533db92b add code to handle setting surface opaque region 8 years ago
Chris Michael 096cfb14bb Add code to handle setting surface damages 8 years ago
Chris Michael 8a78f31cf3 add code to handle regions (creating, destroying, setting) 8 years ago
Chris Michael 938e5dfd4b change damages to be a list 8 years ago
Chris Michael fbe78bea04 Start on surface commit code and improve some debugging messages 8 years ago
Chris Michael 9a30ff4fa1 add internal function prototype for surface commit 8 years ago
Chris Michael 8cd8e4e313 add hooks for client delete 8 years ago
Chris Michael 76e1c8e953 add code to hook the client new event 8 years ago
Chris Michael da2049b052 Add code to create the clients window hash 8 years ago
Chris Michael dea5237a9b Implement code for surfaced attach 8 years ago
Chris Michael a914c73c63 Fix compile errors. Implement start of buffer code 8 years ago
Chris Michael a76224c464 unset pixmap resource when surface resource is destroyed 8 years ago
Chris Michael 4ae74022b5 add call to delete fd handler when we close the compositor 8 years ago
Chris Michael 8064450f0f add start of surface implementation code 8 years ago
Chris Michael 6a1762eca0 remove debug noise in comp_wl_data 8 years ago
Chris Michael 58ada81ee3 rename surface signal get function 8 years ago
Chris Michael 8987766a87 start on actual compositor interface code 8 years ago
Chris Michael 4cdac5d4ef Fix printing of wayland log output 8 years ago
Chris Michael dda7ac875f Fix missing variable compiler warning 8 years ago
Chris Michael c241e6a928 add call to shutdown Ecore_Wayland 8 years ago
Chris Michael d91ebb709b add code to initialize Ecore_Wayland 8 years ago
Chris Michael bca192e51d set compositor wayland data 8 years ago
Chris Michael 85548eeb9e add code to setup input & keyboard if we are using an X compositor 8 years ago
Chris Michael dba6cf2be5 add code to initialze input 8 years ago
Chris Michael 86e1444725 add code to initialize data manager 8 years ago
Chris Michael 8258a6b3b8 add code to load desktop shell module 8 years ago
Chris Michael edf004bbf4 add code to integrate wayland event loop with ecore_main loop 8 years ago
Chris Michael 7a40ee2674 add function call to initialize shm 8 years ago
Chris Michael 3ac71aa20c rename compositor delete callback 8 years ago
Chris Michael d9f920721a add code to create and bind the wayland compositor 8 years ago
Chris Michael a6f3eb35ac add code to setup wayland compositor signals 8 years ago
Chris Michael a1c5075dc8 add code to create wayland display socket 8 years ago
Chris Michael 213e20c864 add code to create new wayland display 8 years ago
Chris Michael c7d87c1631 add code to setup wayland logging function 8 years ago
Chris Michael 2c987f146b add functions to create new compositor 8 years ago
Chris Michael 933b1f68b5 set comp_gl if we have the correct engines available 8 years ago
Chris Michael be9161369c add start of new compositor 8 years ago
Chris Michael 5613d508f0 remove useless return 8 years ago
Chris Michael ce8a7e21ce remove old wayland compositor file 8 years ago
  1. 3822
      src/bin/e_comp_wl.c
  2. 5
      src/bin/e_comp_wl.h
  3. 7
      src/bin/e_comp_wl_data.c

File diff suppressed because it is too large Load Diff

@ -244,7 +244,7 @@ struct _E_Comp_Wl_Client_Data
E_Comp_Wl_Buffer *buffer;
struct wl_listener buffer_destroy;
Eina_Bool new_attach : 1;
Eina_Tiler *damage;
Eina_List *damages;
Eina_Tiler *input;
Eina_Tiler *opaque;
} pending;
@ -271,9 +271,10 @@ EINTERN void e_comp_wl_shutdown(void);
EINTERN struct wl_resource *e_comp_wl_surface_create(struct wl_client *client, int version, uint32_t id);
EINTERN void e_comp_wl_surface_destroy(struct wl_resource *resource);
EINTERN Eina_Bool e_comp_wl_surface_commit(E_Client *ec);
EINTERN void e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, E_Comp_Wl_Buffer *buffer);
EAPI struct wl_signal e_comp_wl_surface_signal_get(E_Comp *comp);
EAPI struct wl_signal e_comp_wl_surface_create_signal_get(E_Comp *comp);
static inline uint64_t
e_comp_wl_id_get(uint32_t client, uint32_t surface)

@ -393,7 +393,7 @@ _e_comp_wl_data_manager_cb_device_get(struct wl_client *client, struct wl_resour
E_Comp_Data *cdata;
struct wl_resource *res;
DBG("Data Manager Device Get");
/* DBG("Data Manager Device Get"); */
/* try to get the compositor data */
if (!(cdata = wl_resource_get_user_data(seat_resource))) return;
@ -661,10 +661,7 @@ _e_comp_wl_clipboard_selection_set(struct wl_listener *listener EINA_UNUSED, voi
cdata->selection.serial, p[0]);
if (!cdata->clipboard.source)
{
close(p[0]);
return;
}
close(p[0]);
}
static void

Loading…
Cancel
Save