Lucas De Marchi
f8a2dd4d95
Rename edbus->eldbus
2013-04-23 12:37:43 -03:00
Mike Blumenkrantz
646943d897
ignore window focus in events on iconic borders; these are guaranteed to be wrong
2013-04-23 16:26:19 +01:00
Mike Blumenkrantz
de99185efa
block refocus of currently focused window when applying desk focus
2013-04-23 16:25:56 +01:00
Mike Blumenkrantz
2ae8713130
fix comp pixmap fetching to refetch when X is slow
2013-04-23 15:53:54 +01:00
Chris Michael
2344c1efdf
Add list of outputs to compositor (needed for drm compositor).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-23 09:54:56 +01:00
Mike Blumenkrantz
fb4d8b9f35
set force flag when hiding comp wins on desk switch
2013-04-23 09:07:58 +01:00
Mike Blumenkrantz
6d27a48f58
add comp win zoomaps back with an #ifdef for debugging
2013-04-23 08:58:56 +01:00
Mike Blumenkrantz
9d6e2ecc97
update comp win geometry on border events
2013-04-23 08:58:56 +01:00
Mike Blumenkrantz
5c49e7c981
remove border checking for comp win add...this is bad I guess
2013-04-23 08:58:56 +01:00
Carsten Haitzler
e28be382a2
stop adding max: to bg edj's being generated on import.
2013-04-23 15:50:49 +09:00
Mike Blumenkrantz
486944af0a
use e_comp_win_effect_unclip after desk show
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
b04d2dfc4b
add e_comp_win_effect_unclip() to unclip an effect object after a transition
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
1ff1b21563
check for border when adding comp wins without border object; temporary until e19
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
b366590cb3
use 2 for desk hide manage to prevent comp source from being hidden
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
17e7ea400c
improve comp mirror safety check again
2013-04-19 16:47:06 +01:00
Mike Blumenkrantz
bd0ca79320
unset comp effect clip after effect ends
2013-04-19 16:23:56 +01:00
Mike Blumenkrantz
26a3a75e8c
e_comp_get() supports e_desk
2013-04-19 15:18:28 +01:00
Mike Blumenkrantz
f5965d533c
add new event for comp win stacking
2013-04-19 13:49:34 +01:00
Mike Blumenkrantz
f9f81ee6e1
send right comp source events
2013-04-19 13:44:52 +01:00
Mike Blumenkrantz
f0f998f7f6
creating individual bgpreview objects no longer requires sizes
2013-04-19 12:49:53 +01:00
Mike Blumenkrantz
d5911a5126
still using edje group called deskpreview for bgpreviews
2013-04-19 12:49:53 +01:00
Mike Blumenkrantz
eeb3b1908a
e_widget_bgpreview_desk_add now takes an evas instead of an evas object
2013-04-19 11:02:29 +01:00
Mike Blumenkrantz
e673e85f98
rename deskpreview -> bgpreview
2013-04-19 10:07:15 +01:00
Mike Blumenkrantz
cfe46c2c40
make comp mirror safety check useful
2013-04-19 10:03:42 +01:00
Mike Blumenkrantz
5654d4ea4b
simplify comp mirror creation, update related fixme
2013-04-19 10:00:54 +01:00
Cedric Bail
a7ba24df70
e_comp: don't rely on undefined callback call order.
2013-04-19 11:23:13 +09:00
Mike Blumenkrantz
ded0db707f
use zoomap as image source for object mirrors, for all the good it will do
2013-04-18 13:42:23 +01:00
Mike Blumenkrantz
e922fcd32e
ensure we use edje util zoomap function only on known edje objects
2013-04-18 13:42:00 +01:00
Mike Blumenkrantz
b4b8e69bfe
try actually updating on border resize event for slightly more accurate resizes when doing shade animations rapidly
2013-04-18 12:57:37 +01:00
Mike Blumenkrantz
f9a45e14ec
comp win geometry updates with updates pending now queue another render job
2013-04-18 12:56:46 +01:00
Mike Blumenkrantz
9aa32ad327
render queue and flag geometry update on border resize event to catch shading animations
2013-04-18 12:53:13 +01:00
Mike Blumenkrantz
1071bd9020
fix comp win geometry updates for shaded windows
2013-04-18 12:44:19 +01:00
Mike Blumenkrantz
6c25df272a
set border icon change flag when going from borderless->not-borderless frame
2013-04-18 12:31:52 +01:00
Mike Blumenkrantz
a94060e402
fix move/resize check on borders during deletion to fix crash and pop pointer
2013-04-18 10:53:54 +01:00
Mike Blumenkrantz
6aad12eda8
don't apply xsettings if no settings exist
...
* fixes buffer overflow
2013-04-18 10:39:58 +01:00
Mike Blumenkrantz
06dd5703a3
fix comp win geometry updates to always use pixmap size when available
2013-04-18 10:21:31 +01:00
Mike Blumenkrantz
c883ec1c25
simplify comp win geom update check to only look at flag
2013-04-18 10:21:12 +01:00
Mike Blumenkrantz
c32fbb3ab4
comp win reshadow now sets geom update flag instead of updating geom
2013-04-18 10:20:21 +01:00
Mike Blumenkrantz
22b95a70b1
set comp win geometry update flag for pixmap update during initial show
2013-04-18 10:08:07 +01:00
Mike Blumenkrantz
d10c5b0cf7
giant comp rejiggering commit #LAST:
...
* merge init splash to comp canvas
* remove enlightenment_init exe
2013-04-18 08:30:07 +01:00
Carsten Haitzler
6cd17aec69
fix: removing list node from list WHILE walking list without using the
...
foreach_safe.. fix.. use foreach_safe.
2013-04-18 12:50:06 +09:00
Mike Blumenkrantz
dd3f309b32
remove zoomap usage for window/surface objects until a related bug is fixed
2013-04-17 13:34:59 +01:00
Mike Blumenkrantz
c84797ec9a
set comp win zoomap smooth based on comp smooth scale setting
2013-04-17 13:34:59 +01:00
Chris Michael
243c9409c9
Add some additional error trapping for keyboard info initialization.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 13:29:26 +01:00
Chris Michael
326a53f9b3
Fix typo in definition of Output_Mode structure.
...
Add a "Terminal" structure to represent tty's for drm compositing.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 11:13:34 +01:00
Mike Blumenkrantz
0315c91008
set the magic "always" zoomap flag to fix window input and disable shadows...for now
2013-04-17 09:43:40 +01:00
Mike Blumenkrantz
1751571993
add bg_object name for border
2013-04-17 09:43:40 +01:00
Mike Blumenkrantz
cdca19a0fe
rename zoomap smart functions to have zoomap in the name for easier debugging
2013-04-17 09:43:40 +01:00
Chris Michael
6afda6d9bd
Add a structure for hardware plane (used in drm compositor).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 09:28:13 +01:00
Mike Blumenkrantz
256d1386c1
update comp win geometry correctly for override (non-pixmap) windows
2013-04-17 08:46:36 +01:00
Mike Blumenkrantz
5d11130dad
size debugging now also prints object names when available
2013-04-17 08:36:54 +01:00
Mike Blumenkrantz
b702eddfd1
use new zoomap function to set solidness on comp win reshadow
2013-04-17 08:07:11 +01:00
Mike Blumenkrantz
bff0e74507
add zoomap util function for setting solidness based on edje data items of child
2013-04-17 08:06:20 +01:00
Mike Blumenkrantz
a4d13328e9
put zoomap shaped/solid edc stuff back for menus, let comp wins use it more generally
2013-04-17 06:32:49 +01:00
Mike Blumenkrantz
efa7f67893
fix input shapes for frames of shaped windows
2013-04-17 06:12:37 +01:00
Mike Blumenkrantz
62d405c48a
apply border shape rects in a better spot; window resizing now functional again
2013-04-17 05:57:25 +01:00
Carsten Haitzler
f2b31aa7a3
if comp init fails - dont use dialogs to show it now its in core.. and
...
on failure.. exit instead of segving. :)
2013-04-17 09:12:03 +09:00
Mike Blumenkrantz
dde99c089a
flag comp win geometry updates and call only as necessary
2013-04-16 15:05:11 +01:00
Chris Michael
761545a885
Fix duplicate structure field.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:23:43 +01:00
Mike Blumenkrantz
3165012074
fix an e_border crash which I discovered by clicking in exactly the right frame with bd_change debugging enabled
2013-04-16 13:51:50 +01:00
Mike Blumenkrantz
ed7b29d50f
all comp wins now have zoomaps, zooming effect lovers rejoice
2013-04-16 13:51:50 +01:00
Mike Blumenkrantz
b0260e98cb
revert zoomap stuff from menus
2013-04-16 13:51:50 +01:00
Chris Michael
83151516e8
Add output and output_mode structures.
...
These are needed in the drm backend.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:47:02 +01:00
Chris Michael
2683c74166
Remove unnecessary calls to evas_object_image functions.
...
Set image scale and content hints.
Record the "mouse_down" time so we can ignore spurious mouse_up events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
7d6f31fa85
Add a reference to the Evas of the surface.
...
Use Eina_List for border hooks (as we need more than one anyway).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
20c6fb53e1
Call surface configure with proper geometry.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
494bcf7298
Add transient fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a719bdc39c
Add popup fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
58df59aaf4
Add width & height to the grab structure.
...
Add edges (for resize) to the grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
98bc3ae1b5
Add code to update the pointer cursor image for wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a5e9fc6730
Set the border input object using the EAPI function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
57ca050f7c
Add e_border_input_object_set function.
...
Add missing function prototype declarations for mouse events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
cdc1ce9452
Add API function for setting a border input object
...
Needed for wayland client support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
a14d7dbe2a
Remove dead comments.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
3b2072d43d
Remove dead comment.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
b1a7691b9f
Add missing EINTERN for init and shutdown functions.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
cdd71b50a2
Add key up/down events for surface and raise the callbacks when they
...
happen.
Be sure to set focus on the input object else we do not get any key
events from Evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
c74a796e02
Initialize keyboard before initializing comp module.
...
This is needed so that setxkbmap runs before we initialize the wayland
compositor So that wayland clients can use the proper keymap.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
ebb35638f5
Actually export comp_wl_time_get and comp_wl_input_modifiers update
...
functions as they may be needed in various shell modules.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
58d2d77977
Add support for mouse up and down events.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
47b6628927
Add function to support setting e_border input area
...
Add code to handle null input areas (wrt pass_events on the image).
Add mouse movement callbacks (in, out, move).
Place the input rectangle below the image object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
9842c268c3
Add an input object to e_border structure.
...
Only setup input object callbacks once.
Use input object for mouse_in/out detection.
NB: This is needed for wayland clients to properly function with
regard to E's border pointer focus.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
1fac56a7e4
Add code to load/unload the desktop shell module.
...
Add code to handle surface attach requests.
Add code to handle surface commit requests:
- Use the surface smart object to handle input and image updates.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
8745eadb3d
Add surface smart object to E_Wayland_Surface struture.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
ab729ae557
Add surface smart object to build
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
50f4aeb942
Add code for start of surface smart object.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
3560f40237
Fix module_idler variable name (damn I cannot type today) :(
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
38c725519b
Actually declare the idler variable so things build (Oopsie).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
e5202dc89f
Add an idler to defer shell module loading.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
65fb88c773
Add code to create, destroy, and otherwise handle the wayland region
...
interface and wayland surface interface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
31f6268fd4
Add function prototypes for surface_destroy and region_destroy.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
deec13f2ce
Add code to support initialize, setup and destruction of wayland
...
inputs (pointer, keyboard, touch).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
a1447c102e
Add start of a wayland compositor.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
605d6c0922
Add egl support for wayland clients to build infrastructure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
29be68914f
Add headers and defaults for input support and egl support.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
90dc57e813
Rename input rectangle object (oopsie).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
3ce1e0e8e9
Add header for a Wayland Compositor.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
e1d577b153
Cleanup Wayland Client support build files.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
047920a9f3
Remove all old wayland compositor files.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Mike Blumenkrantz
bd7dc3783d
use e_zoomap_child_resize() in menu
2013-04-16 12:37:32 +01:00
Mike Blumenkrantz
ef9f767119
add e_zoomap_child_resize() to save my sanity
2013-04-16 12:37:11 +01:00
Carsten Haitzler
390964512a
move del handler to wrap.
2013-04-16 20:27:36 +09:00
Carsten Haitzler
94299c8160
be more protective against obj refs on del in zoomap
2013-04-16 20:26:37 +09:00
Mike Blumenkrantz
a0240e9f56
fix infinite loop on menu zoomap deletion
2013-04-16 12:24:40 +01:00
Carsten Haitzler
42ec9ea089
dont resize if a cw is there...
2013-04-16 20:14:12 +09:00
Carsten Haitzler
45fb38aa7b
and in zoomap make alpha on by default (solid currently doesnt work),
...
and always should be off by default.
2013-04-16 20:10:06 +09:00
Carsten Haitzler
e0e513f457
add zoomap so we get back our zooming comp client things with.. menu
...
for today. popups need doing... anything that bypasses the comp native
surface stuff needs this. :)
2013-04-16 20:07:36 +09:00
Mike Blumenkrantz
00e30bc528
fix window event input when rapidly switching desks
2013-04-16 11:06:15 +01:00
Mike Blumenkrantz
ef5be6c343
fix shaped windows
2013-04-16 09:02:13 +01:00
Mike Blumenkrantz
0cc242b5b6
remove some no-longer needed border shape code
2013-04-16 08:43:23 +01:00
Mike Blumenkrantz
8f350c7974
fix crash when action is active on border during deletion
2013-04-16 07:35:26 +01:00
Mike Blumenkrantz
747851dbe1
desk transition config dialogs FIXED(ish) and show comp effects
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz
238543edea
expose e_theme_collection_items_find() as a useful function
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz
6e33f33c59
rename comp border edje groups from e/comp/* to e/comp/border/*
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz
718dfef61d
giant comp rejiggering commit #6 :
...
* border->fx REMOVED, related border api REMOVED
* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects
* desk flip transition animations moved to comp effects and FIXED(ish)
* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming
* actual "zoom" effect added
* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19
* even more comp shape rewrites
* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed
* desk flip transitions (in e_desk.c) rewritten
* various modules (evry/illume2) updated to use comp effects instead of fx offset
* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +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
b919573644
e_win no longer constantly overwrites netwm properties
2013-04-15 08:39:16 +01:00
Cedric Bail
cd28bc8145
e: add support for systemd user session.
2013-03-30 18:14:26 +09:00
Jérémy Zurcher
cf2ef255c4
fix _e_popup_autoclose_key_down_cb
...
- uses autoclose_popup->key_data as autoclose_popup->key_cb data
key_data is provided at cb registration through e_popup_autoclose(…)
- re-enable _mixer_popup_key_down_cb
2013-03-30 10:07:05 +01:00
Carsten Haitzler
c66e21aa9a
me. valgrind. happy fun times together. methinks we should hasve more
...
people do this.
2013-03-30 14:11:07 +09:00
Carsten Haitzler
a0d4c33691
oops printf--
2013-03-29 22:03:09 +09:00
Carsten Haitzler
9deb05a832
fix menu flipping/flickering when menu bigger than screen.
2013-03-29 21:57:55 +09:00
Carsten Haitzler
5a86b057b8
remove azy code and build/configure checks. after zmike made it plain
...
azy will never become part of efl, and things like being able to do
http get/posts etc. should be part of efl itself as a core feature,
then we forever will have to choose ecore_con_url or some efl
mechanism OR azy.. or go implement both always, and implementing both
is just stupid. imlementing azy only means we add more dependencies
outside of efl and we repeat the mistakes of the past with the split
tree, or we implement the efl method only (ecore-con-url), so i'm
choosing the one with the least dependencies. call me if this position
on azy outside of efl changes.
2013-03-27 21:50:49 +09:00
Tom Hacohen
93953ab44e
conf2: fix declaration of 'const char * const *' string.
2013-03-21 16:17:33 +00:00
Cedric BAIL
07b5d9fe6c
dear Mike,
...
If you just want to silence your warning remove all -W from your CFLAGS and
take your revenge back to your compiler. Introducing bugs to just silent warning
is not gona help any one.
The borker,
Cedric
2013-03-21 10:04:32 +09:00
Mike Blumenkrantz
03f9e7d6e7
add event rect for menus to ensure that clicks outside the menu will dismiss the menu
2013-03-20 09:50:47 +00:00
Mike Blumenkrantz
605f781e36
dear cedric,
...
fucking compile things before you commit.
your vengeful buddy,
mike
2013-03-20 08:36:14 +00:00
Cedric Bail
2f6fcf4228
e: add automatic desktop lock/unlock when a bluetooth device disapear.
...
This use a custom implementation of l2ping to ping known device and do
proper action when they go away. I don't recommend to use the auto unlonck,
but it is there if someone need it.
2013-03-18 00:07:34 +09:00
Mike Blumenkrantz
f4da77932d
add optional azy support to e
2013-03-15 13:35:31 +00:00
Cedric BAIL
6f955263fa
enlightenment: do not propagate the systemd socket to E17.
...
In a proper systemd user session setup, enlightenment_start will be
gone. That is still not doable today and as I plan to roll more feature
in EFL regarding systemd, we need to prevent enlightenment to believe
it is the process started by systemd.
2013-03-15 12:07:47 +09:00
Mike Blumenkrantz
5d16b3f092
automatically mouse-up the comp evas when a menu is activated so future mouse events will work
2013-03-14 09:11:13 +00:00
Mike Blumenkrantz
3702dceb16
fix dnd visuals when using multiple monitors
2013-03-13 08:07:07 +00:00
Mike Blumenkrantz
4ac3a18827
remove dnd todos since they're already implemented
2013-03-13 08:06:57 +00:00
Mike Blumenkrantz
f6dc33f6aa
always deactivate all active menus when manually activating another window
2013-03-13 07:47:46 +00:00
Carsten Haitzler
174a5fab15
fix efm link resolving.. again. new case.
2013-03-12 15:47:41 +09:00
discomfitor
0d16ba68cd
giant comp rejiggering commit #3
...
* e menus are now drawn directly onto the compositor canvas
* menu theme now requires at least one part which allows mouse events in every menu group (YOUR MENUS WILL NOT WORK IF YOU ARE USING A THEME WHICH LACKS THIS!!!!!!!)
* menus now also report dangling/zombie menus with slightly more accuracy now
2013-03-11 05:20:52 +00:00
discomfitor
7d0c1182c8
if a menu is active, ensure efm does not send icon_mouse_in smart callbacks
2013-03-11 05:20:28 +00:00
discomfitor
0dd92f98f3
add menu canvas layer
2013-03-11 05:20:27 +00:00
Dieter Roelants
5e5462a381
portability: don't rely on bash or zsh behavior.
...
This force the command to be run with exec and prevent them
for staying alive after startup or restart.
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2013-03-11 10:29:54 +09:00
Daniel Willmann
845cc722d8
Remove deleted file e_randr_private.h from EXTRA_DIST
...
Make distcheck happy
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-07 18:20:09 +00:00
Daniel Juyung Seo
10ad3b23a8
efm now knows about KP_Enter. Patch by godfath3r.
...
KP_Enter key is added in enlightenments file manager.
2013-03-05 18:52:19 +09:00
Mike Blumenkrantz
e186c026bb
freeze evas and edje when destroying comp canvas to prevent io event flushes from crashing during shutdown
2013-03-04 09:06:23 +00:00
Sebastian Dransfeld
79fba3fa9a
Fix hibernate
2013-03-01 11:15:59 +01:00
Lucas De Marchi
9187778f32
Revert "fix edbus message refcounting in udisks efm backend"
...
This reverts commit 0f9336b105
.
Message is automatically unrefd by edbus_connection_send() if it is was
successfully sent.
2013-02-28 15:41:49 -03:00
Mike Blumenkrantz
1f34e88860
fix comp injected object stacking
...
previously this was done in such a way that if the "owner" stacking object of an injected object was restacked, the injected object would remain at its original stacking level since it was not tethered to anything and did not have X managing stacking. now comp will anchor injected objects to the stacking container window and adjust stacking as needed for them
fixes shelf stacking in some cases
2013-02-26 08:39:10 +00:00
Mike Blumenkrantz
c73a9e58c0
some comp WIP on setting object color classes to handle opacity for windows...doesn't work right still because of focus clip
2013-02-25 10:02:57 +00:00
Mike Blumenkrantz
c7482d9b7d
fix edbus crash in udisks efm backend
2013-02-25 09:22:29 +00:00
Mike Blumenkrantz
0f9336b105
fix edbus message refcounting in udisks efm backend
2013-02-25 09:22:15 +00:00
Carsten Haitzler
bedf4969a4
fix relative path opening in efm... if link is relative it was broken.
2013-02-24 12:57:59 +09:00
Mike Blumenkrantz
fca3799f44
shelf gadcon can no longer resize smaller than 16x16
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
70d68a30e0
giant comp rejiggering commit #4
...
* dnd canvas removed, dnd objects now drawn directly on compositor canvas
* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list
* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
9eda384ea8
fix popup comp win initial visibility, also a potential crash on comp win delete
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
ecfa985b15
e toolbars now have a gadcon location
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
19f79acb45
add e_gadcon_repopulate
...
this allows unpopulate+repopulate calls to occur while the layout is frozen, providing a substantial speedup
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
7128c8fbe6
add e_toolbar init/shutdown to startup and shutdown
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
536254e2ce
start drag if gadget has been moved the size of the gadget
...
when a gadget is at the edge of its gadcon, it can't move more than this amount, so we have to start the drag immediately
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
56fdcf1faa
use e_gadcon_zone_get for dnd-related functions to ensure we get the right zone: fixes toolbar dnd
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
4b9113f3ba
use new comp layer functions to correctly set layer for gadget mover objects...this needs to be redone entirely along with the rest of gadcon
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
159373a340
add comp util functions for returning the layer and effective layer of a comp object
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
23e81fc937
add e_object_ref_debug_set
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
bf9933a336
E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
81b723aa98
add E_LIST_REVERSE_FREE
2013-02-22 13:18:29 +00:00
Mike Blumenkrantz
ea3f93025b
set border transparency more accurately when adopting windows in comp
2013-02-22 11:47:41 +00:00
Mike Blumenkrantz
458ec6aefc
set initial window opacity to max
...
SVN revision: 84305
2013-02-22 09:49:51 +00:00
Mike Blumenkrantz
12ffdeb622
e's compositor now obeys _NET_WM_WINDOW_OPACITY as a normal atom in e_border
...
additionally:
* actions are now available for setting/changing window opacity
* window remembers can now remember window opacity
SVN revision: 84303
2013-02-22 09:33:13 +00:00
Mike Blumenkrantz
49b3a40eb0
disable remember dialog -> advanced command entry when not remembering command
...
SVN revision: 84302
2013-02-22 09:33:11 +00:00
Mike Blumenkrantz
5db6e8a56f
s/e_comp_win_find_border_win/e_comp_win_find_client_win/
...
the former could be bd->win, while the latter can only be bd->client.win
SVN revision: 84301
2013-02-22 09:33:06 +00:00
Mike Blumenkrantz
b37bf0904f
self-deleting popups (like mixer) once again function as expected
...
SVN revision: 84285
2013-02-21 13:33:53 +00:00
Mike Blumenkrantz
01d0d67836
gadcon popups are now above most other objects
...
SVN revision: 84284
2013-02-21 13:33:48 +00:00
Mike Blumenkrantz
7ffec7e968
always show popup content on content set
...
this change prevents erroneous calls to the comp injected object show handler in some cases, which would cause unnecessary recalcs and strange object movements
SVN revision: 84281
2013-02-21 12:48:47 +00:00
Mike Blumenkrantz
0ebb887d64
set comp win e object ref to null during its delfn
...
if this function is called, the object is in the process of being deleted and its refcount is already 0. trying to access it later will guarantee a crash, so ignore whever refs we may have on it
SVN revision: 84278
2013-02-21 11:28:15 +00:00
Carsten Haitzler
0578ff6754
more valgrind stuff... null deref?
...
SVN revision: 84273
2013-02-21 04:01:36 +00:00
Carsten Haitzler
0e6a47a90a
valgrind unhapiness... silenced... mysterious as to why this happens
...
as there are no entires up?
SVN revision: 84272
2013-02-21 03:59:42 +00:00
Carsten Haitzler
e2f3f4e278
eobj referenced in struct but only reffed intermittenytly - ref for as
...
long as there is a handle. avoid segvs!
SVN revision: 84271
2013-02-21 03:53:49 +00:00
Carsten Haitzler
9f530e27d2
fix valgrind null evas problem with preview.
...
fix preview aspect ratio out-of-bounds packing with videos when not
widescreen. :)
SVN revision: 84267
2013-02-21 01:11:00 +00:00
Mike Blumenkrantz
8e9aea2307
e_flowlayout is just not done correctly at all...some fixes here to make it not crash on deletion at least :/
...
SVN revision: 84263
2013-02-20 10:47:49 +00:00
Mike Blumenkrantz
95f0b520ac
use separate delay del function for popups to ensure comp win deletion
...
SVN revision: 84262
2013-02-20 10:47:46 +00:00
Mike Blumenkrantz
88f00310d7
e toolbar gadgets no longer crash when trying to display a popup
...
SVN revision: 84258
2013-02-20 09:13:03 +00:00
Christopher Michael
1c15009411
Remove commented fixme (no time to optimize this routine right now).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84255
2013-02-20 07:45:13 +00:00
Mike Blumenkrantz
3294b377e8
add flag in comp match for disabling shadows, disable shadows for notification popup matches
...
SVN revision: 84254
2013-02-20 07:37:55 +00:00
Carsten Haitzler
064737a84c
popups... STAY UP!
...
SVN revision: 84240
2013-02-19 15:11:46 +00:00
Mike Blumenkrantz
32157d8fe5
fix gadget event object layering for dnd
...
SVN revision: 84239
2013-02-19 14:29:57 +00:00
Mike Blumenkrantz
8672080a60
fix comp canvas win finding for some dnd operations
...
SVN revision: 84238
2013-02-19 14:18:58 +00:00
Mike Blumenkrantz
da751bc1af
only delete popup's comp win if the popup has been deleted
...
SVN revision: 84236
2013-02-19 13:43:18 +00:00
Christopher Michael
b03c09987b
Add exists field to crtc and output.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84231
2013-02-19 11:01:23 +00:00
Christopher Michael
bc23ef529c
Remove poller code for now (broken, does not work as expected, etc,
...
etc).
Add exists field for crtc and output.
Fix output clones and connection status get to use the correct output.
Add some notes and printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84227
2013-02-19 11:01:11 +00:00
Christopher Michael
bf6d1d43ae
Start on poller code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84226
2013-02-19 11:01:08 +00:00
Christopher Michael
3ff49b211e
Add poll_interval to e_randr_cfg.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84225
2013-02-19 11:01:05 +00:00
Christopher Michael
985ff5af28
Add poll_interval field to config.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84224
2013-02-19 11:01:02 +00:00
Christopher Michael
059a0198c3
When we get randr events, check for actual config differences.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84223
2013-02-19 11:00:59 +00:00
Christopher Michael
74b419fb9e
Add connected flag for outputs, and add a restore config option.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84221
2013-02-19 11:00:53 +00:00
Christopher Michael
6c8bafb044
When we get an output changed event, check for matching crtc id and
...
also set changed flag if anything in the crtc has changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84220
2013-02-19 11:00:23 +00:00
Christopher Michael
dc509dd812
Add support for an outputs clones in e_randr and e_randr config.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84206
2013-02-19 10:59:28 +00:00
Christopher Michael
b12e6c9c12
Add note about screen_reset.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84154
2013-02-19 10:56:58 +00:00
Christopher Michael
fb26b60f11
Add a blank line to separate comments.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84145
2013-02-19 10:56:32 +00:00
Christopher Michael
e33fe5ac71
Remove all references to the old randr config.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84120
2013-02-19 10:55:17 +00:00
Christopher Michael
84481e16d3
Remove randr versions (in header now).
...
Set default output policy.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84112
2013-02-19 10:54:52 +00:00
Christopher Michael
499504b2f8
Remove timestamps from config (not needed).
...
Add randr versions to header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84111
2013-02-19 10:54:49 +00:00
Christopher Michael
f5f7d72305
Add start of new e_randr code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84110
2013-02-19 10:54:44 +00:00
Christopher Michael
734e841eb3
Add new randr header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84109
2013-02-19 10:54:39 +00:00
Christopher Michael
4c13cd354d
Remove old randr code from Makefile.am
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84108
2013-02-19 10:54:35 +00:00
Christopher Michael
a6a159be63
Remove All Old Randr Code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84107
2013-02-19 10:54:29 +00:00
Mike Blumenkrantz
339e4ad906
fix gadcon dnd window for shelf and gadman desktop to use comp canvas window
...
SVN revision: 84102
2013-02-19 10:05:16 +00:00
Mike Blumenkrantz
2981c653a8
store e objects in comp win, delay deletion of e object comp wins until after animation
...
SVN revision: 84098
2013-02-19 09:54:57 +00:00
Mike Blumenkrantz
582af02062
add e_popup_object_remove
...
SVN revision: 84097
2013-02-19 09:54:54 +00:00
Mike Blumenkrantz
803b582904
remove comp wins from hash immediately when deleted to prevent access later
...
SVN revision: 84095
2013-02-19 09:48:10 +00:00
Mike Blumenkrantz
2b0dd27f28
fix gadcon popup "swimming" animation resulting in now-incorrect use of e_popup
...
SVN revision: 84094
2013-02-19 09:48:06 +00:00
Mike Blumenkrantz
6cf4d21438
comp wins for injected e objects now wait until animations are done before allowing deletion
...
SVN revision: 84093
2013-02-19 09:14:58 +00:00
Mike Blumenkrantz
1a0f84960a
avoid calling popup autoclose cleanup function repeatedly
...
SVN revision: 84092
2013-02-19 09:14:56 +00:00
Mike Blumenkrantz
ab49d56f83
comp win delete events no longer contain blank objects, allowing them to be useful
...
SVN revision: 84091
2013-02-19 09:14:53 +00:00
Mike Blumenkrantz
6836867a96
trivial comp cleanup for hide events
...
SVN revision: 84090
2013-02-19 09:14:51 +00:00
Mike Blumenkrantz
0857cf1515
remove forgotten debuging printf producer
...
SVN revision: 84089
2013-02-19 09:14:49 +00:00
Mike Blumenkrantz
85a06058ce
e_util_size_debug_set now displays delete events
...
SVN revision: 84088
2013-02-19 09:14:46 +00:00
Mike Blumenkrantz
90d6da42c5
block _e_comp_win_render_queue completely for real objects
...
SVN revision: 84085
2013-02-19 08:25:08 +00:00
Mike Blumenkrantz
622d13ee8f
fix comp shadowing for popups and menus
...
SVN revision: 84084
2013-02-19 08:25:05 +00:00
Mike Blumenkrantz
8b28b2f2f1
revert previous few commits related to e_menu, not meant to go in yet
...
SVN revision: 84083
2013-02-19 08:22:46 +00:00
Mike Blumenkrantz
f13c2d3c22
block _e_comp_win_render_queue completely for real objects
...
SVN revision: 84080
2013-02-19 08:09:11 +00:00
Mike Blumenkrantz
ac5be4f255
fix comp shadowing for popups and menus
...
SVN revision: 84079
2013-02-19 08:09:08 +00:00
Mike Blumenkrantz
7b4783ec15
menus are now drawn directly onto the compositor canvas
...
SVN revision: 84078
2013-02-19 08:09:05 +00:00
Mike Blumenkrantz
d2952d98e0
if a menu is active, ensure efm does not send icon_mouse_in smart callbacks
...
SVN revision: 84077
2013-02-19 08:09:01 +00:00
Mike Blumenkrantz
0599f9d371
add menu canvas layer
...
SVN revision: 84076
2013-02-19 08:08:58 +00:00
Mike Blumenkrantz
6f2a6d30f7
fix new crash in e_int_menus app finder code
...
SVN revision: 84064
2013-02-18 14:11:41 +00:00
Mike Blumenkrantz
6703cb2bf3
nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects
...
SVN revision: 84062
2013-02-18 13:43:55 +00:00
Mike Blumenkrantz
3eebd1ad4d
add e_layout_top_child_get, e_layout_child_below_get and e_layout_child_above_get
...
SVN revision: 84061
2013-02-18 13:43:52 +00:00
Mike Blumenkrantz
f36ecd9d3d
giant comp rejiggering commit #2 : popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
...
* added a number of new e_comp functions and macros
* options for disabling effects on objects: this option does not currently have any effect
* all modules which used gadcon popups have been adjusted
* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality
* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810 )
* shelves no longer have an event object
SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz
0e466612d6
formatting
...
SVN revision: 84059
2013-02-18 13:43:40 +00:00
Mike Blumenkrantz
2297f7d071
gadcon now correctly freezes its container object when unpopulating
...
SVN revision: 84058
2013-02-18 13:43:37 +00:00
Mike Blumenkrantz
41058ea8e2
e_util_size_debug_set now prints on show/hide events
...
SVN revision: 84057
2013-02-18 13:43:34 +00:00
Mike Blumenkrantz
257a7d58c9
add e_util_evas_objects_above_print_smart() to print smart heirarchy
...
SVN revision: 84056
2013-02-18 13:43:32 +00:00
Mike Blumenkrantz
32bcde16af
add e_gadcon_client_visible_get()
...
SVN revision: 84055
2013-02-18 13:43:29 +00:00
Mike Blumenkrantz
04330ef7d9
add comp functions for injecting objects into the comp layout
...
SVN revision: 84054
2013-02-18 13:43:22 +00:00
Mike Blumenkrantz
89d422a4de
rename E_COMP_CANVAS_LAYER_ABOVE -> POPUP
...
SVN revision: 84053
2013-02-18 13:43:18 +00:00
Mike Blumenkrantz
55f5ff17bd
desklock now uses comp canvas
...
SVN revision: 84052
2013-02-18 13:43:14 +00:00
Mike Blumenkrantz
41b95796a4
add desklock layer to layer enum
...
SVN revision: 84051
2013-02-18 13:43:10 +00:00
Mike Blumenkrantz
cba7f88f2f
use handler list append macro for desklock handlers
...
SVN revision: 84050
2013-02-18 13:43:05 +00:00
Mike Blumenkrantz
b247247dfd
fix 2 pointer warp bugs:
...
* warping to a window which is covered by another window containing the current pointer coordinates
* focus changes no longer break sometimes when winlist warping very quickly
SVN revision: 84046
2013-02-18 10:13:20 +00:00
Mike Blumenkrantz
3d069d9601
unbreak input windows in comp and ensure they have container shapes: edge bindings which do not require dragging are once again functional
...
SVN revision: 83955
2013-02-15 13:46:59 +00:00
Mike Blumenkrantz
3b17c96518
someone got a little overzealous with nulling pointers...need the border ee to not be null when we try to free it
...
SVN revision: 83952
2013-02-15 13:10:40 +00:00
Mike Blumenkrantz
23fac6430a
fix e build on 1.7 branch again...
...
SVN revision: 83940
2013-02-15 08:18:09 +00:00
Mike Blumenkrantz
df0920e3a7
patch by Deon Thomas which implements efreet menu caching for e_int_menus
...
SVN revision: 83939
2013-02-15 08:16:06 +00:00
Carsten Haitzler
b239642508
add a E_CSERVE env var - set it befor e_start to make e_start run
...
cserve2 etc.
SVN revision: 83933
2013-02-15 04:56:11 +00:00
Carsten Haitzler
6b76c89e5b
and remvoe from hashes before 0ing win.
...
SVN revision: 83894
2013-02-14 13:07:12 +00:00
Carsten Haitzler
ec27564e32
paranoia - set thigns we free to nullin case a side-effect of a later
...
call calls some callback that somehow accesses the bd we are
freeing... :)
SVN revision: 83892
2013-02-14 13:02:56 +00:00
Carsten Haitzler
77f9977ce1
someone forgot to worry about warp_timer_border on deletions. :)
...
SVN revision: 83891
2013-02-14 12:54:38 +00:00
Jérémy Zurcher
45e7454e58
e_slider: emit signal on disabled state change
...
SVN revision: 83874
2013-02-13 21:59:06 +00:00
Carsten Haitzler
d7d631ea95
begin to put ion code to launch cserve2 for e17 in e_start...
...
problem... it runs... mostly.. but is buggy.
svgs -> no load (generic loader issue?)
sometimes ie->data2 is null (why?)
font -> instead of normal bvold font.. i'm seeing an italic bold
font.... eek! :(
cserve2 worked well in smaller tests like elm and expedite.. it's not
having a happy day with e17 :(
SVN revision: 83871
2013-02-13 12:50:23 +00:00
Carsten Haitzler
6ba07f8dca
handle 0 name length.
...
SVN revision: 83834
2013-02-12 03:37:19 +00:00
Mike Blumenkrantz
b936d5287e
fix e_layout to not ignore frozen state
...
SVN revision: 83827
2013-02-11 14:35:03 +00:00
Cedric BAIL
08dbfd4c7f
e: let's make all preview asynchronous with edje.
...
SVN revision: 83815
2013-02-11 09:58:35 +00:00
Mike Blumenkrantz
28a8ecf101
variable typo--
...
SVN revision: 83814
2013-02-11 09:39:27 +00:00