Commit Graph

13832 Commits

Author SHA1 Message Date
Chris Michael 0de4510de8 Add functions for the compositor interface.
Add code to load the appropriate compositing module.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 2aa70a028e Add compositor init and shutdown function prototypes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael c824e82451 Add code to initialize egl.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 69f5beda70 Disable gcc shadow warnings (for now)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael de72b92f26 Add start of compositor code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 150d038235 Add code to initialize compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 5b9b8b902c Add e_comp header to e_includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael a428aac02f Add wayland-server header and EGL header (if needed).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 1060816626 Add e_comp to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael ddec826cf4 Remove include of execinfo.h (already in e.h)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 3b360d9507 Trim module whitelist (for now) as these modules need to be verified
to run under wayland.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael ba113b29eb Add e_util_wakeup function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 2cb9d5d29d Add e_util_wakeup function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:27 +01:00
Chris Michael 7ad99b32c3 Add e_module file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 1285bbeb2a Add code to intialize e_module
Add e_main_ts function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael d217b96117 Add e_module header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael a04ba955d1 Add e_module to build
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 5ce8ae53cf Add EAPI function declaration for e_main_ts.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael c6f3866486 Add e_util_strcasecmp function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 09eb83798b Add e_util_strcasecmp function prototype
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 99fe245a57 Add code to init e_env.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael bcf9c9338e Add e_env to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael d2c4db5789 Add e_env to include headers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael f92f0b0ede Add e_env files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael fa76cd551f Cleanup some unused variables.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 850d5e31a6 Add new files for e_config, e_powersave, etc, etc needed to get
e_config initialized.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 910c0b7943 Add e_util_strcmp function declaration.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 429880e3fb Add public E_Path variables.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael fe791f117d Add code to initialize e_config and e_path
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael bc06bdfde6 Add more headers to e_include.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 85e3daec63 Add E_Path variables.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 10c8888e64 Add e_config (and necessary files for e_config) to makefile.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 8adba4c029 Add e_font header
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael e0eb8d8b99 Add e_backlight header
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 27c88d42cc Add e_config_data files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael b2390319fa Add e_path to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 9d7a4ad4c0 Add e_path to include headers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 479df84e28 Add e_path files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 7e347eabc2 Add e_object to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael c94c8d8ff2 Add e_object header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:26 +01:00
Chris Michael 8d2a7c198b Add e_object files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 16216932e9 Initialize efreet during efl lib init
Initialize e_filereg during e subsystem init.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 852d73e2bb Add filereg header.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 81455dcc5e Add filereg to build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael a07eb49ae7 Add e_filereg to startup
Initialize efreet during startup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 0d99d089bf Add directory init/shutdown routines.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 9c11a44d23 Add logging, prefix, and user files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 15f96d9beb Finish code to init efl libraries we need.
Add code to parse startup arguments.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 111648822a Add headers to include.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 0c9ba27029 Add variables for startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 27b20a3105 Add logging, e_utils, e_prefix, e_user to the build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 35aa88724f Initialize eina
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael b572a07017 Add functions for _e_main_shutdown and _e_main_shutdown_push
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 88de154b8a Add signal traps on startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 9f0efcfebf Fix Makefile and e_includes to use the proper files
Add e_error and e_signals header.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael d70c93467b Adjust Makefile and e_includes with the proper path
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 02560af2ad Add Makefile.am
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael bb642a3b19 Add signals file.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 411d8ca2f4 Add start on wayland-only enlightenment.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael 5f21c0e615 Add subdir for e_wayland.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:25 +01:00
Chris Michael b82cb14698 e_xkb_layout_get can return NULL so trap for that and only set the
names.layout below if needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:00 +01:00
Igor Murzov 971ca768eb Update russian translation 2013-05-02 16:05:26 +04:00
Igor Murzov c449a14ce5 Fix thinkos 2013-05-02 15:49:25 +04:00
Igor Murzov d5b019b078 Fix incorrect format usage in E_CONFIGURE_OPTION_MINMAX_STEP_FMT 2013-05-02 15:49:25 +04:00
Igor Murzov d81819e5cd Add some more messages to the pot 2013-05-02 15:49:25 +04:00
Igor Murzov 2b86e82d6c Gettextize bluez4 module 2013-05-02 15:49:24 +04:00
Mike Blumenkrantz a6c1042e39 add free callback to size debugging 2013-05-02 08:04:53 +01:00
Carsten Haitzler 4df2ff56f5 let us... force zoomap always for popups and menus. let's eee if this
speeds things up?
2013-04-30 12:37:59 +09:00
Mike Blumenkrantz 5a90516141 move dnd init again so it doesn't break during comp init 2013-04-29 09:46:14 +01:00
Mike Blumenkrantz 85d192238e remove unnecessary comp checks for init win 2013-04-29 09:46:10 +01:00
Mike Blumenkrantz 85022b2e40 fix dnd text-url/list handler to add trailing null before parsing into list 2013-04-29 09:36:06 +01:00
Chris Michael 6f0a4a63bc Start on code to allow Wayland Clients to render using EGL
Currently, all Wayland Clients render inside E using software
(regardless of E's compositor setting).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael 7c37664ed6 Add egl extension header
Add bind and unbind proc address

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael a07d830ce2 Add support for Dynamic Keymap changes in Wayland Clients.
Now, if you change E's keyboard layout, then Wayland Clients will also
dynamically change to the new keymap.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael c2bde038fc Add keyboard_resource to compositor struct.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael 27fa756808 Add Event handler (for keymap events) to compositor structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Mike Blumenkrantz f45e418158 default notification urgency to normal to ensure that notifications are displayed when they do not explicitly set the urgency hint 2013-04-26 08:53:16 +01:00
Carsten Haitzler 8cf7e61744 protect against failure to find a container layer win in comp
it may happen that a container layer window cannot be found (someone
deleted it other than e - which is possible), and e hasn't expected
this. comp will have removed the comp win entry but containers will
not know. this is either some client being stupid, or malicious, but
protect against it, complain with an ERR and march on so we don't crash.
2013-04-26 16:31:29 +09:00
Carsten Haitzler 59c4e0f81b fix race condtion in comp caused by delayed job doing the populate.
by making a job to delay population we play a race condition game with
initting of other bits of e. this means the comp may or may not have
been filled by the container layer winds before other internal events
and actions start making comp wins and setting layers. this means that
things like e_comp_win_find() for a con->layers[n].win may fail... as
this has yet to be added... and thus.. we crash in startup. it's a
race condition.

so this removed the delay job and makes population of the comp
explicit. it puts the population into the hnds of the e_main init
after a manager has been created and after a container is created, and
thus laer wins created, so it can walk the x window stack correctly,
but before anything else is done. this means that we will be properly
inited at this point without a race condition.
2013-04-26 16:31:29 +09:00
maxerba 4f4ab0f432 updating italian translation 2013-04-25 15:21:24 +02:00
Mike Blumenkrantz 5bacb5dfc3 restack event rect for efm...always 2013-04-25 12:02:36 +01:00
Mike Blumenkrantz 2353c5f2ac add another check for vmware windows, ticket #1057 2013-04-25 11:50:48 +01:00
Mike Blumenkrantz db72a84e58 improve efm mouse move detection (no more tooltips when cursor is in separate window) 2013-04-25 11:45:53 +01:00
Mike Blumenkrantz 47283e5518 add deskmirror, a new widget which breaks evas in a number of terrifying ways
to experience the terror, uncomment the define in e_deskmirror.h
2013-04-25 11:21:22 +01:00
Mike Blumenkrantz 7777b5d738 fix stacking list order of comp objects under the layout 2013-04-25 11:21:18 +01:00
Mike Blumenkrantz 0b844d36eb block efm key actions while menu is active
https://phab.enlightenment.org/T12
2013-04-25 09:23:33 +01:00
Mike Blumenkrantz f2fe52a074 menus are no longer enrolled in the same school as mexican jumping beans 2013-04-25 09:20:22 +01:00
Mike Blumenkrantz 53d8c89791 unbreak notification callbacks, fix notification crashes
this should not have been committed as-is, and I'm very disappointed at the lack of testing here.
2013-04-25 09:12:43 +01:00
Mike Blumenkrantz 1efc663a18 unset data ptr for notification handler in notification module 2013-04-25 08:50:37 +01:00
Mike Blumenkrantz 275000dcbf only apply solid zoomap for menus 2013-04-23 17:10:20 +01:00
Mike Blumenkrantz 3a983e8d59 move border shadow checks to e_util 2013-04-23 17:10:20 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Mike Blumenkrantz 646943d897 ignore window focus in events on iconic borders; these are guaranteed to be wrong 2013-04-23 16:26:19 +01:00
Mike Blumenkrantz de99185efa block refocus of currently focused window when applying desk focus 2013-04-23 16:25:56 +01:00
Mike Blumenkrantz 2ae8713130 fix comp pixmap fetching to refetch when X is slow 2013-04-23 15:53:54 +01:00
Jérémy Zurcher 21be5a7e61 mixer: factorize popup&gadget balance&volume code 2013-04-23 15:03:21 +02:00
Chris Michael 2344c1efdf Add list of outputs to compositor (needed for drm compositor).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-23 09:54:56 +01:00
Jérémy Zurcher c24bdf66df mixer: prevent mem leak and let default card setup on empty module
config
2013-04-23 10:57:28 +02:00
Mike Blumenkrantz fb4d8b9f35 set force flag when hiding comp wins on desk switch 2013-04-23 09:07:58 +01:00
Mike Blumenkrantz 6d27a48f58 add comp win zoomaps back with an #ifdef for debugging 2013-04-23 08:58:56 +01:00
Mike Blumenkrantz 9d6e2ecc97 update comp win geometry on border events 2013-04-23 08:58:56 +01:00
Mike Blumenkrantz 5c49e7c981 remove border checking for comp win add...this is bad I guess 2013-04-23 08:58:56 +01:00
Carsten Haitzler e28be382a2 stop adding max: to bg edj's being generated on import. 2013-04-23 15:50:49 +09:00
Mike Blumenkrantz 486944af0a use e_comp_win_effect_unclip after desk show 2013-04-22 13:58:01 +01:00
Mike Blumenkrantz b04d2dfc4b add e_comp_win_effect_unclip() to unclip an effect object after a transition 2013-04-22 13:58:01 +01:00
Mike Blumenkrantz 1ff1b21563 check for border when adding comp wins without border object; temporary until e19 2013-04-22 13:58:01 +01:00
Mike Blumenkrantz b366590cb3 use 2 for desk hide manage to prevent comp source from being hidden 2013-04-22 13:58:01 +01:00
Carsten Haitzler 1bd06b4a8d oops - didnt fix pa RIGHT... now its fixed - detects pa native socket
properly if its an XDG_RUNTIME dir.
2013-04-22 00:31:22 +09:00
Boris Faure de187284fc tiling: fix segv when adding a stack without config 2013-04-20 18:27:06 +02:00
Carsten Haitzler 2a7a3a557f e17 mixer - use XDG_RUNTIME_DIR for finding pulse... and have more
generous fallbacks.
2013-04-21 00:42:34 +09:00
Carsten Haitzler 0985de0051 if inst->channel is null... dont segv at least in mixer. 2013-04-21 00:17:12 +09:00
Mike Blumenkrantz 17e7ea400c improve comp mirror safety check again 2013-04-19 16:47:06 +01:00
Mike Blumenkrantz bd0ca79320 unset comp effect clip after effect ends 2013-04-19 16:23:56 +01:00
Mike Blumenkrantz 26a3a75e8c e_comp_get() supports e_desk 2013-04-19 15:18:28 +01:00
Mike Blumenkrantz f5965d533c add new event for comp win stacking 2013-04-19 13:49:34 +01:00
Mike Blumenkrantz f9f81ee6e1 send right comp source events 2013-04-19 13:44:52 +01:00
Mike Blumenkrantz f0f998f7f6 creating individual bgpreview objects no longer requires sizes 2013-04-19 12:49:53 +01:00
Mike Blumenkrantz d5911a5126 still using edje group called deskpreview for bgpreviews 2013-04-19 12:49:53 +01:00
Mike Blumenkrantz eeb3b1908a e_widget_bgpreview_desk_add now takes an evas instead of an evas object 2013-04-19 11:02:29 +01:00
Mike Blumenkrantz e673e85f98 rename deskpreview -> bgpreview 2013-04-19 10:07:15 +01:00
Mike Blumenkrantz cfe46c2c40 make comp mirror safety check useful 2013-04-19 10:03:42 +01:00
Mike Blumenkrantz 5654d4ea4b simplify comp mirror creation, update related fixme 2013-04-19 10:00:54 +01:00
Mike Blumenkrantz 711f91f1f6 add name to notification content objects+mirrors 2013-04-19 09:41:21 +01:00
Cedric Bail a7ba24df70 e_comp: don't rely on undefined callback call order. 2013-04-19 11:23:13 +09:00
Mike Blumenkrantz 6371da9a61 add new modes for notification display when using multiple monitors, shows a TODO bug for comp zoomap mirrors 2013-04-18 15:50:49 +01:00
Mike Blumenkrantz ded0db707f use zoomap as image source for object mirrors, for all the good it will do 2013-04-18 13:42:23 +01:00
Mike Blumenkrantz e922fcd32e ensure we use edje util zoomap function only on known edje objects 2013-04-18 13:42:00 +01:00
Mike Blumenkrantz 2795e52b9b set current config version on load 2013-04-18 13:04:23 +01:00
Mike Blumenkrantz b4b8e69bfe try actually updating on border resize event for slightly more accurate resizes when doing shade animations rapidly 2013-04-18 12:57:37 +01:00
Mike Blumenkrantz f9a45e14ec comp win geometry updates with updates pending now queue another render job 2013-04-18 12:56:46 +01:00
Mike Blumenkrantz 9aa32ad327 render queue and flag geometry update on border resize event to catch shading animations 2013-04-18 12:53:13 +01:00
Mike Blumenkrantz 1071bd9020 fix comp win geometry updates for shaded windows 2013-04-18 12:44:19 +01:00
Mike Blumenkrantz 53330cc2e1 clean up pager desk drag objects 2013-04-18 12:38:39 +01:00
Mike Blumenkrantz 6c25df272a set border icon change flag when going from borderless->not-borderless frame 2013-04-18 12:31:52 +01:00
Mike Blumenkrantz a94060e402 fix move/resize check on borders during deletion to fix crash and pop pointer 2013-04-18 10:53:54 +01:00
Mike Blumenkrantz 6aad12eda8 don't apply xsettings if no settings exist
* fixes buffer overflow
2013-04-18 10:39:58 +01:00
Mike Blumenkrantz 06dd5703a3 fix comp win geometry updates to always use pixmap size when available 2013-04-18 10:21:31 +01:00
Mike Blumenkrantz c883ec1c25 simplify comp win geom update check to only look at flag 2013-04-18 10:21:12 +01:00
Mike Blumenkrantz c32fbb3ab4 comp win reshadow now sets geom update flag instead of updating geom 2013-04-18 10:20:21 +01:00
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 3740656a66 fix multiple shelf config diaslog bug. 2013-04-18 13:08:20 +09: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 86ea7cf6ef Bring drm header file up-to-date with structure name changes, etc.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:39:26 +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
Chris Michael 8c5e0c702d Add a Drm_Fb structure to represent the frame buffer.
NB: Start of getting drm to function again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:52:18 +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 3300bcc31b Remove noisy printf.
Remove useless object_move call.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael f3571b98f2 Reset surfaces to be borderless.
NB: Uncomment this line to help debug things.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 3ef01a7ee6 Remove printf
Remove nasty "fullscreen" hack.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 531407985e Add support for popup, fullscreen, move, resize of a wayland client.
Fix several bugs with regard to moving, resizing a wayland client.
Implement popup menu functionality.
Implement (but disable right now) fullscreen functionality
 - NB: Disabled currently as I am hunting a potential e_border bug.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +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 a72b6d3034 Add support for transient surfaces.
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 94d093fe32 Add code to support popups and fullscreen :)
Fix some unused variables.
Be sure to destroy any ping timers on surface destroy.
End any existing popup grabs when we start a new grab.

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 d22f3f53a5 Add support to resize wayland clients.
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 98f813f176 Add support for moving surfaces.
Add support for fullscreen/unfullscreen.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 89782f0f4c Add code to unset the pointer cursor image when the mouse leaves the
input area.

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 3ba4da16b2 Set the e_border to borderless by default for wayland clients.
Add function to listen for the ecore_evas resize and adjust the size
of the surface smart object.
Add support for Maximize/Unmaximize of wayland clients.

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 757e477275 Add support for key up/down events from the surface and pass them
along to the wayland client.

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 0fc304eae5 Handle mouse up and down events from the surface.
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 a4d26ee3a8 Add support for the e_surface smart object.
Add code to listen for the callbacks from e_surface and pass events
along to the wayland client.

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 5624cee73f Add surface smart object support to the desktop shell.
Add code to handle shell surface requests.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:56 +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 9e420a288e Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 4ab6cf4611 Fix desktop shell Makefile to include the wayland client cflags
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 40b5b05c05 Fix up modules directory Makefile to include desktop shell.
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
Chris Michael 6653eccd17 Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 550dd3c17f Add start of wl_desktop_shell module code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 45b13b243f Add Makefile for wl_desktop_shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael e5202dc89f Add an idler to defer shell module loading.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael 65fb88c773 Add code to create, destroy, and otherwise handle the wayland region
interface and wayland surface interface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael 31f6268fd4 Add function prototypes for surface_destroy and region_destroy.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael deec13f2ce Add code to support initialize, setup and destruction of wayland
inputs (pointer, keyboard, touch).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael a1447c102e Add start of a wayland compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael 605d6c0922 Add egl support for wayland clients to build infrastructure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael 29be68914f Add headers and defaults for input support and egl support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael 90dc57e813 Rename input rectangle object (oopsie).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael 3ce1e0e8e9 Add header for a Wayland Compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael e1d577b153 Cleanup Wayland Client support build files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael 047920a9f3 Remove all old wayland compositor files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Mike Blumenkrantz bd7dc3783d use e_zoomap_child_resize() in menu 2013-04-16 12:37:32 +01:00
Mike Blumenkrantz ef9f767119 add e_zoomap_child_resize() to save my sanity 2013-04-16 12:37:11 +01:00
Carsten Haitzler 390964512a move del handler to wrap. 2013-04-16 20:27:36 +09:00
Carsten Haitzler 94299c8160 be more protective against obj refs on del in zoomap 2013-04-16 20:26:37 +09:00
Mike Blumenkrantz a0240e9f56 fix infinite loop on menu zoomap deletion 2013-04-16 12:24:40 +01:00
Carsten Haitzler 42ec9ea089 dont resize if a cw is there... 2013-04-16 20:14:12 +09:00
Carsten Haitzler 45fb38aa7b and in zoomap make alpha on by default (solid currently doesnt work),
and always should be off by default.
2013-04-16 20:10:06 +09:00
Carsten Haitzler e0e513f457 add zoomap so we get back our zooming comp client things with.. menu
for today. popups need doing... anything that bypasses the comp native
surface stuff needs this. :)
2013-04-16 20:07:36 +09:00
Mike Blumenkrantz 00e30bc528 fix window event input when rapidly switching desks 2013-04-16 11:06:15 +01:00
Mike Blumenkrantz ef5be6c343 fix shaped windows 2013-04-16 09:02:13 +01:00
Mike Blumenkrantz 0cc242b5b6 remove some no-longer needed border shape code 2013-04-16 08:43:23 +01:00
Mike Blumenkrantz 8f350c7974 fix crash when action is active on border during deletion 2013-04-16 07:35:26 +01:00
Mike Blumenkrantz 747851dbe1 desk transition config dialogs FIXED(ish) and show comp effects 2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 238543edea expose e_theme_collection_items_find() as a useful function 2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 6e33f33c59 rename comp border edje groups from e/comp/* to e/comp/border/* 2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz b919573644 e_win no longer constantly overwrites netwm properties 2013-04-15 08:39:16 +01:00
Carsten Haitzler 8dad24565f segv-- for clock popup o_popclock object ref benig dangling. this is a
new bug methinks in e18 dev.
2013-03-31 11:58:41 +09:00
Cedric Bail cd28bc8145 e: add support for systemd user session. 2013-03-30 18:14:26 +09:00
Jérémy Zurcher 3f34680b7a reprotect _mixer_popup_key_down_cb
/me still asleep, it's better like this
2013-03-30 10:14:45 +01:00
Jérémy Zurcher cf2ef255c4 fix _e_popup_autoclose_key_down_cb
- uses autoclose_popup->key_data as autoclose_popup->key_cb data
  key_data is provided at cb registration through e_popup_autoclose(…)
- re-enable _mixer_popup_key_down_cb
2013-03-30 10:07:05 +01:00
Carsten Haitzler c66e21aa9a me. valgrind. happy fun times together. methinks we should hasve more
people do this.
2013-03-30 14:11:07 +09:00
Carsten Haitzler a0d4c33691 oops printf-- 2013-03-29 22:03:09 +09:00
Carsten Haitzler 9deb05a832 fix menu flipping/flickering when menu bigger than screen. 2013-03-29 21:57:55 +09:00
Carsten Haitzler 8fc839e9c8 mixer key control broken .. to the point it segs now. :) patch over
seg. :)
2013-03-29 19:24:22 +09:00
Carsten Haitzler 5a86b057b8 remove azy code and build/configure checks. after zmike made it plain
azy will never become part of efl, and things like being able to do
http get/posts etc. should be part of efl itself as a core feature,
then we forever will have to choose ecore_con_url or some efl
mechanism OR azy.. or go implement both always, and implementing both
is just stupid. imlementing azy only means we add more dependencies
outside of efl and we repeat the mistakes of the past with the split
tree, or we implement the efl method only (ecore-con-url), so i'm
choosing the one with the least dependencies. call me if this position
on azy outside of efl changes.
2013-03-27 21:50:49 +09:00