Commit Graph

32 Commits

Author SHA1 Message Date
Carsten Haitzler b6421e7660 tasks - fix tasks on other screens to properly show all window content
this fixes T1120
2014-03-25 22:44:04 +09:00
Mike Blumenkrantz 9ad04eb877 redo client urgency again with separate flag for actual urgent state
preserve icccm flag for accurate detection
2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -05:00
Carsten Haitzler 61aa61651c ibox/ibar/tasks iconify effect - don't do it if target is not on same screen 2014-01-30 07:45:02 +09:00
Mike Blumenkrantz 9b36b9b78c remove comp iconify hacks (and e_iconify api), expand comp object effect api
instead of adding specific handling which will work (sometimes) in one specific case, expand already-existing api to provide the needed functionality for iconify animations. now on emitting any signal to a comp object, optional glob-able effect providers can be hooked and prioritized to add effect animations

also use animating flags now when applying an object effect

a base effect is provided in elementary, but now each module which wants to hook iconify animations (or other events) can do so in the theme and have different animations with their module
2014-01-29 13:36:42 -05:00
Carsten Haitzler 5ce5fc3918 tasks - add iconify provider 2014-01-29 22:42:54 +09: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 d497aa921d always emit urgency change for tasks 2013-06-12 11:40:47 +01:00
Yossi Kantor 3a68bf115b Tasks module - not updating task item on every border propery change anymore 2013-06-10 13:35:58 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 8be5b05675 tasks gadgets now apply the selected style
ticket #2140


SVN revision: 82405
2013-01-08 11:19:14 +00:00
Carsten Haitzler ed479f04ab polish up icon only and text only options in tasks - mentioned by
zmike. needed code changes.



SVN revision: 81320
2012-12-19 02:24:36 +00:00
Mike Blumenkrantz 2c4e269031 fix tasks module double item del
SVN revision: 80593
2012-12-10 11:03:14 +00:00
Carsten Haitzler 0fa136b0df well - i found inconsistent namespacing for tasks and xkbswitch. fix!
SVN revision: 78578
2012-10-28 09:27:33 +00:00
Mike Blumenkrantz 4f563f20f3 tasks gadgets now respect skip_taskbar with greater alacrity
ticket #1681


SVN revision: 78529
2012-10-26 12:34:37 +00:00
Mike Blumenkrantz 133d4db5f4 we're only gonna have one taskbar item per border so break here
SVN revision: 78527
2012-10-26 12:23:33 +00:00
Mike Blumenkrantz 4c0fa2d381 big roundup commit fixing leaky submenus
SVN revision: 75973
2012-09-03 08:30:39 +00:00
Mike Blumenkrantz 292c3dc5d6 fix shelf autohiding with tasks right click menu; the whole gadcon menu system needs an overhaul for e18 :/
ticket #1437


SVN revision: 75972
2012-09-03 08:04:00 +00:00
Mike Blumenkrantz 8f68476e6a tasks module shutdown leaks--
SVN revision: 75792
2012-08-28 13:35:29 +00:00
Mike Blumenkrantz 847a27afb0 add tasks options for icon/text only modes
still needs a bit of edc work from someone to size better
ticket #1334


SVN revision: 75260
2012-08-14 14:03:07 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz af37dada32 add mouse wheeling to tasks gadget:
*wheel up - raise/uniconify
*wheel down - iconify

ticket #786


SVN revision: 73326
2012-07-05 06:59:50 +00:00
Mike Blumenkrantz 253743b31f formatting
SVN revision: 73287
2012-07-04 14:00:32 +00:00
Mike Blumenkrantz c544d57ca1 use e_gadcon_client_autoscroll_toggle_disabled_set() to disable autoscroll toggle item in gadget menu for tasks: this gadget must always be autoscrolled
SVN revision: 72796
2012-06-25 10:47:26 +00:00
Christopher Michael 4c3d81f1ad Tasks: Remove these useless code lines. No point in fetching geometry
if we are not going to use it for anything ;)



SVN revision: 72199
2012-06-15 17:21:19 +00:00
Lucas De Marchi 8e2bb0d1d2 Don't bother with urgency hint if window is focused
SVN revision: 65520
2011-11-22 20:37:37 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Carsten Haitzler a3bfd5d8bb have tasks always set inset and autoscroll so it works right.
SVN revision: 65118
2011-11-13 05:47:09 +00:00
Mike Blumenkrantz 9f51911be5 warnings--
SVN revision: 64921
2011-11-08 00:16:17 +00:00
Carsten Haitzler 604d72c948 make default width 100 not 80.
SVN revision: 64800
2011-11-06 06:41:24 +00:00
Carsten Haitzler 91fddc1838 fix gettext usage after import from extras
SVN revision: 64623
2011-11-01 22:28:45 +00:00
Carsten Haitzler 4a76470496 taskbar++!
one more todo item being knocked off. but there.
also no proper icon for it yet. mostly code from the old taskbar with
lots of little things fixed.



SVN revision: 64518
2011-10-30 07:36:54 +00:00