Commit Graph

24 Commits

Author SHA1 Message Date
Marcel Hollerbach 6bc93814fb remove debugging output 2016-01-10 15:30:39 +01:00
Marcel Hollerbach da51b1a002 rewrite host side 2016-01-10 15:13:10 +01:00
Mike Blumenkrantz 2ab7fed323 don't crash desktop gadget systrays when adjusting image sizing
desktop gadgets (gadman) do not have a shelf, so derefing that pointer
without checking will guarantee a crash
2015-10-08 12:23:07 -04:00
Mike Blumenkrantz 0978d22f8e fix systray implementation of notifier watcher (StatusNotifierItem)
previously, this would throw dbus errors (or not) and then do nothing in
many cases. now it manages bus/path names more effectively and falls back
to binary image data when an icon path is not available

fix T2626 and probably some others
2015-09-22 18:38:34 -04:00
Carsten Haitzler 2e00876a40 e - systray - add more sizes to icon hunt to fix missing icons
some systray indicator icons are not found because the sizes are not
in the list. fix this. this SHOULD actually use our existing efreet
icon theme finding to auto-switch file based on size changes.
2015-08-21 21:37:21 +09:00
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 ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz f6b3c1533e fix appindicator icon loading when using IconThemePath key
fix T1888
2015-02-23 17:22:51 -05:00
Sebastian Dransfeld 3527942b23 systray: revert change which shouldn't go in 2014-12-17 11:20:22 +01:00
Sebastian Dransfeld 399fd22c36 randr: cleanup try 2
This does not change any behaviour, just moves code:

1. We only try to locate a crtc for an output in _e_randr_output_active_set

And we only do this when we set active.

2. We only search for a crtc in _e_randr_output_crtc_find

This includes looping known crtcs without querying X if it matches.

Please don't revert, but help cleaning. As the current code does not
work for me...
2014-12-17 08:49:40 +01:00
Carsten Haitzler 43f1dc012d Revert "Randr: Fix null dereference."
This reverts commit 4aef218d28.

Revert "randr: remember crtcid for fast lookup on reconnect"
This reverts commit 55b4ad41d1.

Revert "randr: further cleanup"
This reverts commit 3e02824663.

these make nvidia randr resolution changing work again. sorry seb.
even though cleanups might be nice... this code is FIDDLY and every
driver seems to work differently, so take it easy and be very careful
- make no assumptions. i know it works on my intel desktop and nvidia
deskop atm. once i get a vga cable i'll fix up intel laptop with
external display that has problems. i can try radeon too later. but
right now - this stuff needs to work. being clean is far less
important than working. :)
2014-12-17 09:40:41 +09:00
Sebastian Dransfeld 3e02824663 randr: further cleanup
Primarly two things removed:
1. crtc->outputs should only contain outputs which should be enabled
So looping them twice in e_randr_apply is definitly wrong.

2. _e_randr_crtc_find should find a crtc for an output
So looping our crtcs again in _active_set is definitly wrong. If
_e_randr_crtc_find does not find us a crtc, it should be fixed there.
2014-12-15 12:31:14 +01:00
Mike Blumenkrantz 61c1282015 bugfix: fix systray appindicator icon loading
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 275e20b2bc redo some systray appindicator stuff so the menu doesn't immediately close 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz a9627e84f5 remove a bunch of unnecessary ecore-x calls from modules 2014-01-14 20:28:57 -05: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
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Carsten Haitzler 1c0574d4bf cancel pending calls in edbus if shutting down ctx...
SVN revision: 83835
2013-02-12 03:47:00 +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 6f67cb6d15 e systray: use evas_object_visible_get() to know if icon was appended to box
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82414
2013-01-08 13:58:21 +00:00
Lucas Joia 40d65f04ad e systray: add menu for notifier items
Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82113
2013-01-03 22:07:40 +00:00
Lucas De Marchi f3fbe7296d e systray: use strv instead of passing max around
Also rename one of the vars to _Names to keep consistent with the other.



SVN revision: 82112
2013-01-03 22:07:33 +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