Commit Graph

30 Commits

Author SHA1 Message Date
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz b63e490a33 remove e_util_comp_current_get() usage 2015-03-13 16:28:08 -04:00
Mike Blumenkrantz 1fe1c94245 comp canvas functions no longer require an E_Comp param 2015-03-13 16:07:08 -04:00
Mike Blumenkrantz b8d4072a13 e_util_comp_zone_number_get() -> e_comp_zone_number_get() 2015-03-13 15:18:16 -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 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 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
Carsten Haitzler 515819cdb5 make all zone matching agree on the same convention - use zone->num,
not zone->id. zone->id is for matching u to zinerama/xrandr
screens/outputs. e re-sorts based on highest res screens first, lower
res later.



SVN revision: 67951
2012-02-15 04:35:18 +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 011172fbeb Patch from Peter van de Werken to fix uniconify of quickpanel windows.
SVN revision: 55776
2010-12-29 22:07:11 +00:00
Christopher Michael 28206552ee Fix issue where hiding quickpanel would not hide the 'clickwindow'.
SVN revision: 51697
2010-08-28 14:27:54 +00:00
Christopher Michael 7542136e82 Add UNUSED where needed.
Fix a few harmless warnings about parens.
Fix warnings about comparison between signed and unsigned.



SVN revision: 51443
2010-08-19 19:33:23 +00:00
Christopher Michael b64b865ff4 Add some safety checks.
Refactor some if statements to be simplier.



SVN revision: 50899
2010-08-08 12:44:04 +00:00
Christopher Michael bfe14a9dff Better variable name(s).
SVN revision: 50862
2010-08-06 15:15:32 +00:00
Carsten Haitzler bdc2bec1e3 change some var names to add the ability to have horiz layout too
SVN revision: 50856
2010-08-06 07:01:30 +00:00
Carsten Haitzler b0cbf8f4e6 more bug--
SVN revision: 50854
2010-08-06 05:26:25 +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 6287c98b4b Check borders exist before trying to hide.
When doing position update, we hide quickpanel, but don't want to
delay the hide so use proper function.
On mouse up we want to hide, but avoid long round-trips and just call
function directly.



SVN revision: 48683
2010-05-08 15:38:24 +00:00
Christopher Michael ba62246671 No need to send_message to change state here, use existing functions.
No need to hide the clickwin twice.



SVN revision: 48625
2010-05-05 16:00:25 +00:00
Christopher Michael 3ca39a9bec Remove unused variable.
SVN revision: 48579
2010-05-03 15:41:33 +00:00
Christopher Michael f5dca6bcba Better handling of the clickwin. This works with dual-mode better, so
clicking anywhere outside the quickpanel borders will close them.



SVN revision: 48578
2010-05-03 15:38:24 +00:00
Christopher Michael e0c252ec42 Fix parent of quickpanel clickwin so that the input window gets
layered correctly, and any widgets/buttons in a quickpanel are
clickable again.

Thanks TAsn for the report ;)



SVN revision: 48571
2010-05-02 22:25:32 +00:00
Christopher Michael ce6afacdd8 Add automatic Quickpanel direction. Basically this allows the
quickpanel to show up where there is the most space (ie: if you move
indicator toward the bottom of the screen, and the quickpanel cannot
fully show below indicator, it will automatically show above indicator).



SVN revision: 48348
2010-04-26 21:36:00 +00:00
Christopher Michael 224fcc061a Move quickpanel click window according to position of indicator so that
outside clicks work correctly when indicator is moved.



SVN revision: 47939
2010-04-11 21:12:49 +00:00
Christopher Michael ef52d54922 Modify quickpanel code to handle case where actual quickpanels may have
buttons/clickable elemenents. These changes allow quickpanel windows to be
interactive :). Show/Hide of quickpanel is handled in both the indicator
module (by way of toggle state), and using an input window that does not
interfere with the QPs themselves.



SVN revision: 47937
2010-04-11 20:38:52 +00:00
Christopher Michael 6829fa5012 Add handler for quickpanel border resize so we can adjust the total height
of the quickpanel if a qp border height changes.



SVN revision: 47929
2010-04-11 16:18:16 +00:00
Christopher Michael bda76a1666 Fix QP zone position bugger...thanks for the report Raster :)
SVN revision: 46634
2010-02-28 02:08:18 +00:00
Christopher Michael 0006745e2f Readd new illume2 code (ugg, svn is a pita) ;)
SVN revision: 46290
2010-02-19 03:00:58 +00:00
Christopher Michael 50bac54206 Ok, another stab at adding this to svn. Remove old code.
SVN revision: 46289
2010-02-19 02:59:56 +00:00
Christopher Michael efb5c66c67 New illume2 code in svn now :)
SVN revision: 46286
2010-02-19 02:32:18 +00:00