Commit Graph

56 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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 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 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 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 04330ef7d9 add comp functions for injecting objects into the comp layout
SVN revision: 84054
2013-02-18 13:43:22 +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 28a8ecf101 variable typo--
SVN revision: 83814
2013-02-11 09:39:27 +00:00
Mike Blumenkrantz cb79b14974 only add back shape rects for comp objects if pass_events is not set
SVN revision: 83813
2013-02-11 09:38:08 +00:00
Mike Blumenkrantz 3bf8de7e86 fix ogl fail dialog for comp, also skip comp gl attempt if gl not available
SVN revision: 83772
2013-02-08 09:05:41 +00:00
Carsten Haitzler ac9841acb5 ummmm how about we donmt break suspend with comp continually retruing
to suspend because a RESUME signal has a timeout to try suspending!



SVN revision: 83758
2013-02-08 04:25:11 +00:00
Cedric BAIL 7a67306f99 e: we can't create a window to warm about the compositor, before we start the compositor anymore.
This is a work around. That window should be delayed and displayed later, I guess.


SVN revision: 83755
2013-02-08 01:27:39 +00:00
Mike Blumenkrantz 2697c3a596 also add input rects in for shaped windows which make me cry tears of compblood
SVN revision: 83754
2013-02-07 14:39:36 +00: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 e670bc2326 formatting, switch __UNUSED__ to EINA_UNUSED
SVN revision: 83747
2013-02-07 13:19:52 +00:00
Mike Blumenkrantz 321f2b4fa3 comp structs now public, remove comp struct accessor functions, add comp utility functions to simplify getting comp from an e_object
SVN revision: 83745
2013-02-07 13:19:47 +00:00
Mike Blumenkrantz 7f35677bc0 e_manager_new now creates compositors for new managers instead of creating them all at once
SVN revision: 83743
2013-02-07 13:19:36 +00:00
Mike Blumenkrantz fc67e4810c comp no longer disables and reenables on startup from detecting the container window with nocomp_fs enabled
SVN revision: 83209
2013-01-24 08:41:25 +00:00
Mike Blumenkrantz 3767fe1ce6 typo for conf2 option to disable screen effects
SVN revision: 83085
2013-01-22 14:06:15 +00:00
Mike Blumenkrantz 6d4ccf159c finally fix bug with "don't composite fullscreen windows" option
ticket #1558


SVN revision: 83076
2013-01-22 11:34:45 +00:00
Mike Blumenkrantz b93d7aeb23 change a couple comp DBGs to WRN
SVN revision: 83075
2013-01-22 11:31:07 +00:00
Mike Blumenkrantz f217f7e0b3 set comp log level to info
SVN revision: 83074
2013-01-22 11:29:24 +00:00
Mike Blumenkrantz 0c524f1094 add null checks to external comp api
SVN revision: 83068
2013-01-22 10:18:53 +00:00
Mike Blumenkrantz b0c585cedd comp now has and uses its own log domain
SVN revision: 83067
2013-01-22 10:04:26 +00:00
Mike Blumenkrantz 65aaca959f move ecore-x checks in comp to beginning of comp init
SVN revision: 83066
2013-01-22 09:59:22 +00:00
Mike Blumenkrantz 8fcf2cbcca remove old e_msg-based comp api as well as e_manager_comp api, replacing both with e_comp functions and events
this completely breaks anything external which used comp, so module api version has been bumped


SVN revision: 82973
2013-01-18 12:47:14 +00:00
Mike Blumenkrantz e75bc273b2 e_comp.h now includes other comp headers, explicitly including comp headers is not necessary
SVN revision: 82972
2013-01-18 11:22:05 +00:00
Mike Blumenkrantz c088474ba6 fix comp bug where focus+urgency states were not applied to windows on startup
SVN revision: 82769
2013-01-14 17:03:52 +00:00
Mike Blumenkrantz cdbebff3ab all comp options are now available in conf2
SVN revision: 82718
2013-01-13 11:56:43 +00:00
Mike Blumenkrantz f15d34dcac remove unnecessary macro for comp engines and use enum values
SVN revision: 82702
2013-01-12 15:37:49 +00:00
Mike Blumenkrantz 16062072e4 simplify/streamline configure option adding, also add option domains so modules can get lists of their own options or other module options
SVN revision: 82695
2013-01-12 12:28:48 +00:00
Mike Blumenkrantz 7cca71bc95 add fallback timeout for system actions; now that comp is mandatory we have to account for the possibility that themes can fail to send correct signals, leading to the screen going black and nothing happening
SVN revision: 82639
2013-01-11 14:54:30 +00:00
Mike Blumenkrantz 71003dbeac add options (conf2 only for the next few minutes) and functionality to enable "fast" comp effects in theme
SVN revision: 82631
2013-01-11 11:53:29 +00:00
Mike Blumenkrantz 34aab4c595 typos in effect disabling checks
SVN revision: 82630
2013-01-11 11:49:56 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 845ba1ba12 add conf2 option for default comp shadow style
SVN revision: 82624
2013-01-11 10:30:01 +00:00
Mike Blumenkrantz 70e40291f6 another new comp option for disabling screen effects (fading on blank)
SVN revision: 82623
2013-01-11 09:21:39 +00:00