Commit Graph

24 Commits

Author SHA1 Message Date
Mike Blumenkrantz 1a11067c32 update contact/illume to not use broken/removed layout client hook 2014-07-07 13:43:18 -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
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00: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 276297887c this isn't doing what you thought it was doing.
SVN revision: 64908
2011-11-07 23:33:11 +00:00
Mike Blumenkrantz d5a1ff9f66 crash--
SVN revision: 64907
2011-11-07 23:32:44 +00:00
Carsten Haitzler a82f5c99c4 fix some design and policy issues so it's simple and sane tyo write a
new home screen and softkey - looking at indicator next.



SVN revision: 57119
2011-02-17 10:55:59 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 536cc819b1 Fix NETWM Activate issue where the window would not raise or focus. This
works wrt fullscreen windows also.
Fix issues wrt hide/show race conditions that raster pointed out.
Fix issue where previous window was not shown again.



SVN revision: 46397
2010-02-23 18:15:00 +00:00
Christopher Michael 134b4f46ef Add some printfs for debugging.
SVN revision: 46375
2010-02-23 01:21:22 +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 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Christopher Michael 096d4b0623 More error trapping.
SVN revision: 45686
2010-01-29 05:54:47 +00:00
Christopher Michael 07666b4952 Add illume2 module...oops :(
SVN revision: 45073
2010-01-13 01:10:39 +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 f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 35df00f32a Add event for when policy changes.
Handle policy change event.
Remove some unneeded includes.



SVN revision: 44867
2010-01-03 22:54:47 +00:00
Christopher Michael 687881fc63 Rework illume2:
- Policies are now loadable .so's ;)
       


SVN revision: 44864
2010-01-03 22:24:07 +00:00
Christopher Michael 6ca0879feb Remove old illume2 (readding in a second with lots of changes, so this was
easier).



SVN revision: 44863
2010-01-03 22:22:39 +00:00
Christopher Michael d12d3c3e23 This function moved to e_mod_policy_settings files. Not needed here.
SVN revision: 44078
2009-12-01 05:48:18 +00:00
Christopher Michael 310069f653 Add config variables for dual-app mode.
Add a config dialog for changing dual-app mode.
Rename timer in Select Window to be more specific.



SVN revision: 44077
2009-12-01 05:43:04 +00:00
Christopher Michael fb6e867677 Add config dialog for selecting the policy.
SVN revision: 44071
2009-11-30 21:46:30 +00:00