Commit Graph

7834 Commits

Author SHA1 Message Date
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