Commit Graph

23 Commits

Author SHA1 Message Date
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Christopher Michael 981be2c92d E (Illume_Kbd_Toggle): Some apps are using states greater than "ON"
(such as STATE_TERMINAL, or STATE_ALPHA), to indicate their
"STATE_ON", so we need to check for states >= Off or <= OFF to set
toggle icon correctly.



SVN revision: 76594
2012-09-13 09:24:06 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Mike Blumenkrantz 5a249be7bb OMG! DEVILHORNS USING AN EDITOR WITH TABS INSTEAD OF WHITESPACES????? SAY IT AIN'T SO!!!
SVN revision: 64906
2011-11-07 23:30:27 +00:00
Christopher Michael fbc45ea4d1 Add UNUSED, Remove unused variables, formatting, etc, etc, etc.
SVN revision: 51449
2010-08-19 20:39:17 +00:00
Christopher Michael 88c10a380e Fix formatting.
SVN revision: 49925
2010-06-28 14:31:21 +00:00
Tiago Rezende Campos Falcao 21e6cc0488 Make illume-kbd-toggle from e_button to edje
SVN revision: 49920
2010-06-28 13:05:12 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael a0a04c0e09 Don't set icon here. Icon will be set in property change.
SVN revision: 48141
2010-04-19 19:34:13 +00:00
Sebastian Dransfeld 6db513e6f5 e: fix memleaks
SVN revision: 47972
2010-04-12 19:54:57 +00:00
Christopher Michael 476da0ff45 Reduce code duplication by using one function to set kbd indicator icon.
SVN revision: 47617
2010-03-31 01:38:27 +00:00
Christopher Michael 792a38900d Make sure we return something so the handler keeps running.
SVN revision: 47615
2010-03-30 23:45:31 +00:00
Christopher Michael 1dad27b2ed Add property handler so we can adjust icon according to window state.
Fixes problem reported by TAsn wrt icon not changing when elm_entry
widgets show a keyboard.



SVN revision: 47613
2010-03-30 23:37:45 +00:00
Christopher Michael 743ae4d5bc Don't set icon or send messages if the focused border is not on the proper
zone as kbd-toggle works on a per zone basis.



SVN revision: 45671
2010-01-28 18:24:30 +00:00
Christopher Michael 915dbed1be Easier checks for kbd state.
SVN revision: 45165
2010-01-15 05:47:31 +00:00
Christopher Michael f288a575b7 New illume2 code for dual-head/xinerma.
SVN revision: 45068
2010-01-12 20:21:04 +00:00
Christopher Michael 3daa61a89d Remove all old illume2 code. New code coming in mass.
SVN revision: 45067
2010-01-12 20:18:38 +00:00
Christopher Michael 7c3a27c3c9 Remove dead lines.
Don't use X round-trips.



SVN revision: 44883
2010-01-04 18:42:17 +00:00
Christopher Michael 095fcb424c Add a handler for when borders get removed so we can reset the indicator
state.



SVN revision: 44729
2009-12-27 05:13:53 +00:00
Christopher Michael 7ad967ee23 Add separate vkbd toggle gadget.
SVN revision: 44462
2009-12-15 04:33:12 +00:00