Commit Graph

20 Commits

Author SHA1 Message Date
Marcel Hollerbach 33a4f33410 delete unused code 2016-01-10 15:29:12 +01:00
Marcel Hollerbach da51b1a002 rewrite host side 2016-01-10 15:13:10 +01:00
Mike Blumenkrantz 432d1e3776 cache systray items for each dbus session
the current spec does not directly require any behavior from clients
when a systray host, leading to an issue where clients do not re-register
their items when a new host appears

when using an in-process systray watcher, as the current implementation does,
the best choice for maintaining consistency for systray items across restarts
is to cache them according to the current dbus session. the process of setting
up the item will validate it on subsequent restarts, and changes to the session
will clear the cache

fix T2786
2015-10-14 16:30:41 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz a91444a0c4 remove E_Comp from gadman and systray structs 2015-03-20 15:25:56 -04:00
Mike Blumenkrantz c727545bb2 remove E_Comp->num
num is always 0
2015-03-20 14:59:19 -04:00
Mike Blumenkrantz 5bd1587078 remove xembeds from systray module 2014-11-25 15:20:11 -05:00
Mike Blumenkrantz 85bc707ab9 yet another systray overhaul to avoid destroying batter after nocomp ends
bottom line, this is a pile-of-shit protocol to work with if you're compositing. at present, any xembeds which were present before a nocomp event will be permanently destroyed, and they can't be recovered until the app re-creates them. afaik, no app does this unless you restart it.
2014-09-01 10:30:53 -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
José Roberto de Souza dc74938241 Refactor systray to have only one box
This is simpler and avoid some edje erros.

This patch depends on a patch on elementary to update systray edj.
2013-12-18 16:25:23 -05:00
Mike Blumenkrantz 0eb88a495d make systray Instance struct public 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 66b451229e From: zehortigoza@profusion.mobi (Jose Souza)
Subject: [PATCH] e systray: Add configuration dialog to enable/disable xembed support


SVN revision: 83580
2013-02-04 08:18:21 +00:00
José Roberto de Souza a913411beb e systray: Move dbus stuff out of gadcon instance
This fix a bug that was empty dbus notification when shelf is moved and
also allow multiple instance if some day we drop xembed support.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82492
2013-01-09 22:38:21 +00:00
José Roberto de Souza 3014654d58 e systray: Initial commit of dbus notifier host
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82111
2013-01-03 22:07:26 +00:00
Gustavo Sverzut Barbieri 7ec37a51a9 systray: split xembed part into own file, prepare to receive d-bus
There is a new d-bus systray spec by KDE that is less retarded. It's
used by KDE and other environments such as Ubuntu's Unity. We'll
integrate code to have E17 to support this spec, then we must separate
the XEmbed part into its own file to avoid confusion.

Patch by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>



SVN revision: 82016
2013-01-02 20:38:36 +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
Mike Blumenkrantz 7a38549bd4 formatting
SVN revision: 72541
2012-06-20 12:55:44 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Gustavo Sverzut Barbieri 4b229ee6da integrate systray translation/gettext into e17.
SVN revision: 40613
2009-05-13 01:28:11 +00:00
Gustavo Sverzut Barbieri 4a30e53e1d first step to move systray to e/src/modules.
SVN revision: 40609
2009-05-13 00:06:08 +00:00