Commit Graph

24 Commits

Author SHA1 Message Date
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz 09aefdeb89 remove winlist dead code
CID 1039873
2014-04-04 15:04:28 -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 aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 909c59080f disable winlist binding activation for edge/signal/acpi; this is totally broken
SVN revision: 81446
2012-12-20 11:58:56 +00:00
Mike Blumenkrantz cb34a3e7f5 unify winlist action code and set activation type
SVN revision: 81442
2012-12-20 10:58:21 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Mike Blumenkrantz 1ca3270f1d stringshare and action cleanups for winlist, should no longer call strcmp 500 times per activation
SVN revision: 75602
2012-08-23 07:57:47 +00:00
Chidambar Zinnoury e992d60de5 e winlist: make more sense by reading "Window Switcher" instead of "Window List" (as per description).
SVN revision: 73513
2012-07-10 05:38:08 +00:00
Mike Blumenkrantz 375ffb08c5 formatting
SVN revision: 72520
2012-06-20 07:01:53 +00:00
Carsten Haitzler c2b3532fd7 more merging of modules that are needlessly split
SVN revision: 59053
2011-04-30 13:35:25 +00:00
Gustavo Sverzut Barbieri a565e9f077 winlist: offer a way to cycle icccm.class
icccm.class is usually unique per application, so you can use that to
cycle betwen the applications in your desktop. This mode is
complementary to the already existing "cycle all windows of current
class", which cycles all windows of the current application.



SVN revision: 57386
2011-02-27 14:29:41 +00:00
Boris Faure ee84be7253 e:winlist: fix issue with non-stop animation
SVN revision: 51451
2010-08-19 21:09:58 +00:00
Christopher Michael 8d27a99570 Add UNUSED where needed.
Remove lots of unused variables.
Fix some formatting.



SVN revision: 51409
2010-08-19 16:14:53 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Chidambar Zinnoury 029a558a98 WinList: add a new functionality so that we can switch between windows of the same class.
This is a major (and interesting) killer-feature of Gnome3, so let's shamelessly steal it.


SVN revision: 50154
2010-07-09 10:34:20 +00:00
Boris Faure 682783f271 winlist: add actions to move to window on the left/right/up/down
SVN revision: 50096
2010-07-07 21:36:23 +00:00
Christopher Michael e300511319 Fix the last of the config dialog problems
SVN revision: 44164
2009-12-03 04:46:49 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Carsten Haitzler 2405363f94 errrr. commit? did the last one work?
SVN revision: 32232
2007-10-31 12:23:15 +00:00
Eric Schuele a126f79a5e Removing the winlist module will result in a) a segv the next time you use it (yes, you just removed it, but hey), b) the inability to use an exebuf action for a keybinding for the remainder of your E session. Fixed.
SVN revision: 32212
2007-10-30 03:34:28 +00:00
Christopher Michael 2e50246203 More "zone used uninitialized" fixes from Brett Nash.
SVN revision: 31708
2007-09-13 21:20:14 +00:00
Carsten Haitzler c3fc770dce config panel now is a module - just config registry is in core e.
SVN revision: 31184
2007-08-05 08:07:39 +00:00
Carsten Haitzler ea0b0dd7d8 winlist -> module!
SVN revision: 31178
2007-08-05 04:41:55 +00:00