Commit Graph

7862 Commits

Author SHA1 Message Date
Mike Blumenkrantz 22b95a70b1 set comp win geometry update flag for pixmap update during initial show 2013-04-18 10:08:07 +01:00
Mike Blumenkrantz d10c5b0cf7 giant comp rejiggering commit #LAST:
* merge init splash to comp canvas

* remove enlightenment_init exe
2013-04-18 08:30:07 +01:00
Carsten Haitzler 6cd17aec69 fix: removing list node from list WHILE walking list without using the
foreach_safe.. fix.. use foreach_safe.
2013-04-18 12:50:06 +09:00
Mike Blumenkrantz dd3f309b32 remove zoomap usage for window/surface objects until a related bug is fixed 2013-04-17 13:34:59 +01:00
Mike Blumenkrantz c84797ec9a set comp win zoomap smooth based on comp smooth scale setting 2013-04-17 13:34:59 +01:00
Chris Michael 243c9409c9 Add some additional error trapping for keyboard info initialization.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 13:29:26 +01:00
Chris Michael 326a53f9b3 Fix typo in definition of Output_Mode structure.
Add a "Terminal" structure to represent tty's for drm compositing.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 11:13:34 +01:00
Mike Blumenkrantz 0315c91008 set the magic "always" zoomap flag to fix window input and disable shadows...for now 2013-04-17 09:43:40 +01:00
Mike Blumenkrantz 1751571993 add bg_object name for border 2013-04-17 09:43:40 +01:00
Mike Blumenkrantz cdca19a0fe rename zoomap smart functions to have zoomap in the name for easier debugging 2013-04-17 09:43:40 +01:00
Chris Michael 6afda6d9bd Add a structure for hardware plane (used in drm compositor).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 09:28:13 +01:00
Mike Blumenkrantz 256d1386c1 update comp win geometry correctly for override (non-pixmap) windows 2013-04-17 08:46:36 +01:00
Mike Blumenkrantz 5d11130dad size debugging now also prints object names when available 2013-04-17 08:36:54 +01:00
Mike Blumenkrantz b702eddfd1 use new zoomap function to set solidness on comp win reshadow 2013-04-17 08:07:11 +01:00
Mike Blumenkrantz bff0e74507 add zoomap util function for setting solidness based on edje data items of child 2013-04-17 08:06:20 +01:00
Mike Blumenkrantz a4d13328e9 put zoomap shaped/solid edc stuff back for menus, let comp wins use it more generally 2013-04-17 06:32:49 +01:00
Mike Blumenkrantz efa7f67893 fix input shapes for frames of shaped windows 2013-04-17 06:12:37 +01:00
Mike Blumenkrantz 62d405c48a apply border shape rects in a better spot; window resizing now functional again 2013-04-17 05:57:25 +01:00
Carsten Haitzler f2b31aa7a3 if comp init fails - dont use dialogs to show it now its in core.. and
on failure.. exit instead of segving. :)
2013-04-17 09:12:03 +09:00
Mike Blumenkrantz dde99c089a flag comp win geometry updates and call only as necessary 2013-04-16 15:05:11 +01:00
Chris Michael 761545a885 Fix duplicate structure field.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:23:43 +01:00
Mike Blumenkrantz 3165012074 fix an e_border crash which I discovered by clicking in exactly the right frame with bd_change debugging enabled 2013-04-16 13:51:50 +01:00
Mike Blumenkrantz ed7b29d50f all comp wins now have zoomaps, zooming effect lovers rejoice 2013-04-16 13:51:50 +01:00
Mike Blumenkrantz b0260e98cb revert zoomap stuff from menus 2013-04-16 13:51:50 +01:00
Chris Michael 83151516e8 Add output and output_mode structures.
These are needed in the drm backend.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:47:02 +01:00
Chris Michael 2683c74166 Remove unnecessary calls to evas_object_image functions.
Set image scale and content hints.
Record the "mouse_down" time so we can ignore spurious mouse_up events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 7d6f31fa85 Add a reference to the Evas of the surface.
Use Eina_List for border hooks (as we need more than one anyway).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 20c6fb53e1 Call surface configure with proper geometry.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 494bcf7298 Add transient fields to the shell surface structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael a719bdc39c Add popup fields to the shell surface structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 58df59aaf4 Add width & height to the grab structure.
Add edges (for resize) to the grab structure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 98bc3ae1b5 Add code to update the pointer cursor image for wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael a5e9fc6730 Set the border input object using the EAPI function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 57ca050f7c Add e_border_input_object_set function.
Add missing function prototype declarations for mouse events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael cdc1ce9452 Add API function for setting a border input object
Needed for wayland client support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael a14d7dbe2a Remove dead comments.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael 3b2072d43d Remove dead comment.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael b1a7691b9f Add missing EINTERN for init and shutdown functions.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael cdd71b50a2 Add key up/down events for surface and raise the callbacks when they
happen.
Be sure to set focus on the input object else we do not get any key
events from Evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael c74a796e02 Initialize keyboard before initializing comp module.
This is needed so that setxkbmap runs before we initialize the wayland
compositor So that wayland clients can use the proper keymap.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael ebb35638f5 Actually export comp_wl_time_get and comp_wl_input_modifiers update
functions as they may be needed in various shell modules.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 58d2d77977 Add support for mouse up and down events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 47b6628927 Add function to support setting e_border input area
Add code to handle null input areas (wrt pass_events on the image).
Add mouse movement callbacks (in, out, move).
Place the input rectangle below the image object.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 9842c268c3 Add an input object to e_border structure.
Only setup input object callbacks once.
Use input object for mouse_in/out detection.

NB: This is needed for wayland clients to properly function with
regard to E's border pointer focus.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 1fac56a7e4 Add code to load/unload the desktop shell module.
Add code to handle surface attach requests.
Add code to handle surface commit requests:
  - Use the surface smart object to handle input and image updates.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 8745eadb3d Add surface smart object to E_Wayland_Surface struture.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael ab729ae557 Add surface smart object to build
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 50f4aeb942 Add code for start of surface smart object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 3560f40237 Fix module_idler variable name (damn I cannot type today) :(
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 38c725519b Actually declare the idler variable so things build (Oopsie).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00