Commit Graph

415 Commits

Author SHA1 Message Date
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 138e84370d remove most E_Comp usage from e_comp 2015-03-18 17:14:54 -04:00
Mike Blumenkrantz 8629d8a308 set e_comp->elm as fullscreen for internal elm hinting 2015-03-18 10:58:34 -04:00
Mike Blumenkrantz 34d906fa42 e_zone functions no longer require E_Comp param 2015-03-13 17:28:49 -04:00
Mike Blumenkrantz 1736d1ecb9 e_client functions no longer require E_Comp param 2015-03-13 16:53:19 -04:00
Mike Blumenkrantz d00127c2f5 e_comp functions no longer require E_Comp param 2015-03-13 16:48:41 -04:00
Mike Blumenkrantz 50839a51a9 remove e_comp_evas_find() 2015-03-13 16:24:27 -04:00
Mike Blumenkrantz 1fe1c94245 comp canvas functions no longer require an E_Comp param 2015-03-13 16:07:08 -04:00
Mike Blumenkrantz 91edd1ce2f E_CLIENT_*FOREACH() macros no longer take a E_Comp param 2015-03-13 15:45:07 -04:00
Mike Blumenkrantz 091142b032 remove E_Client->comp 2015-03-13 15:41:21 -04:00
Mike Blumenkrantz dd5cf53542 remove e_comp_util_evas_object_comp_get() usage 2015-03-13 15:24:13 -04:00
Mike Blumenkrantz a8f9c44b46 remove e_comp_get() function 2015-03-13 15:13:01 -04:00
Mike Blumenkrantz e8d408650f disable wl clients in X
this is untested and undeveloped, no point in leaving it around to crash randomly
2015-03-06 14:52:12 -05:00
Mike Blumenkrantz 9dee41f1a3 do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts 2015-02-20 09:55:20 -05:00
Carsten Haitzler 790183d74a e - randr - laptop lids - handle plug/unplug and well as lid open/close
this fixes some issues in the new randr2 code that made it not work
right with plug/unplug and lid close/open. now it does work right and
plugging/unplugging displays is seamless (if your driver does not give
plug/unplug events bind a key to update screen config acvtion and e
will figure it out when you hit the key).
2015-02-09 18:22:02 +09:00
Tom Hacohen 61c4a72ae2 E comp: Adjust according to elm function rename. 2015-01-12 10:18:11 +00:00
Mike Blumenkrantz 06895e4036 use elm_win_fake() to create a fake elm_win for widget parenting/focus
ugh
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 0bac875290 remove some e_comp_get() usage in core comp/client files 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz 610c439abd redo shaped client checks to use shape flags instead of rect pointer, fix shapeless clients
according to the shape extension protocol, the number of rectangles returned should be checked to determine a client's shape. if 0 is returned, the client has no shape, meaning that it either should not be drawn or should have no input region. this improves behavior with various client window types such as tooltips

ref T1820
2014-12-07 20:17:33 -05:00
Mike Blumenkrantz eaa471b418 resolve recent coverity complaints 2014-11-21 10:21:13 -05:00
Mike Blumenkrantz a44b172607 minor tweaks to prevent harmless invalid reads during restarts with windows open 2014-11-20 15:26:22 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Chris Michael 2e0168359e e-comp: Return proper post value for wayland clients during
client_update

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 10:20:49 -05:00
Seunghun Lee 576c43df8b Remove HAVE_WAYLAND_ONLY dependency from searching and enabling backend module.
Summary:
this patch allows to enable wl_drm module(if it's exsited) without setting E_WL_FORCE as a wl_drm under HAVE_WAYLAND_ONLY.
this patch also prevent a crash under below condition. running enlightenment with HAVE_WAYLAND_ONLY option and without set E_WL_FORCE occurs crash where try to refer E_Manager because E_Manager is created in wl_drm module.

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1549
2014-10-20 11:53:26 -04:00
Mike Blumenkrantz 35a708a397 end nocomp on nocomp end...always 2014-09-16 10:44:55 -04:00
Mike Blumenkrantz 681b1f4312 manually break out of nocomp
in the event that there was only one window open and it was closed, this would permanently break the compositor

fix T1665
2014-09-16 10:39:34 -04:00
Mike Blumenkrantz 4e3b05b11f check protocol visibility for nocomp breaks, not comp object visibility
new comp objects are never going to be visible during nocomp
2014-09-16 10:38:02 -04:00
Mike Blumenkrantz 56f898d36c don't add nocomp damages for input-only windows 2014-09-16 10:37:28 -04:00
Mike Blumenkrantz 20a5b2bc18 fix nocomp skipping for skippable objects
fix T753
2014-09-08 09:12:21 -04:00
Mike Blumenkrantz cdaa53fc8f only add damages for nocomp clients if they are protocol-visible 2014-09-01 10:30:53 -04:00
Mike Blumenkrantz 362a9b6cce reuse existing render post callback for wayland clients 2014-08-26 10:10:38 -04:00
Mike Blumenkrantz 3b649534c9 Fix building Enlightenment for X11-only, Wayland-Only, and X11 with Wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>

Additional authors: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael b2e2219235 fix define check for shutting down wayland compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
Chris Michael 5e7d2ce5d4 fix potential crash with e_comp_get.
e_manager_current_get Can return NULL so we should check that.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael dc4e619dea fix building for wayland-only when --enable-wayland-clients is not
specified

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael 7499b51b68 fix include of comp_wl header to work with wayland_only option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Mike Blumenkrantz 21da3ed343 use comp object api function for shape cutting to prevent mirrors from getting shapes cut 2014-08-22 18:14:23 -04:00
Mike Blumenkrantz 62023bc722 nocomp enforcing is now more accurate 2014-08-16 09:46:56 -04:00
Mike Blumenkrantz 6bf8e24320 nocomp checks more correctly skip comp_skip objects 2014-08-16 09:46:21 -04:00
Mike Blumenkrantz 45906bdf20 fix infinite stacking loop when enforcing nocomp 2014-08-15 19:17:33 -04:00
Mike Blumenkrantz 11ec0ea86b make nocomp-skipable objects not require shelf 2014-07-30 14:23:25 -04:00
Mike Blumenkrantz 858504c69f add comp events for nocomp toggle 2014-07-30 14:23:17 -04:00
Mike Blumenkrantz 208d138678 ignore probably-systray clients when checking for nocomp restack clients 2014-07-20 17:28:33 -04:00
Mike Blumenkrantz 54603e2ee3 typo from shelf nocomp commit 2014-07-20 17:28:21 -04:00
Mike Blumenkrantz ac8f73cabc allow nocomp with "above" shelves 2014-07-20 17:17:05 -04:00
Mike Blumenkrantz 556c21030c handle nocomp eval for visible clients stacked over fullscreen client
probably fixes T1409, T1316, T1388
2014-07-19 15:47:21 -04:00
Mike Blumenkrantz 0599c6897e trivial/break out nocomp end into util function 2014-07-19 15:47:21 -04:00
Mike Blumenkrantz fc7e06807d hybris support 2014-06-08 12:47:44 -04:00
Mike Blumenkrantz dbce413b42 fix shape cutting for frames which are larger than their object size implies
requires border themes to have data.item "frame_extends" set
2014-06-04 08:55:06 -04:00
Mike Blumenkrantz 5d6fc9cc6f use 0,0 for start rect in shape cutter 2014-06-02 08:40:00 -04:00
Mike Blumenkrantz 82c8556dad shut up impossible null deref
CID 1219856
2014-06-02 05:03:45 -04:00
Mike Blumenkrantz 7bc59d01fe slightly optimize shape cutting
objects below the bottom client are unnecessary, so it's better to just start with the bottom client. this has a nice side effect of working around a weird evas bug where layers can exist while having no objects, breaking stacking iterator functions
2014-05-30 11:22:21 -04:00
Carsten Haitzler 5d8fb9e4d5 add delimiter to shape debug to make debugging easier 2014-05-29 20:51:02 +09:00
Mike Blumenkrantz 8ec74517ed remove legacy e_sys handler callback system, redo sys action ordering, only blank on action success
fix T1271
2014-05-26 15:57:32 -04:00
Mike Blumenkrantz 6d3c9d3a19 feature: add automatic compositor engine detection
this takes care of the previously-required E_WL_FORCE autodetection. E_WL_FORCE behavior unchanged
2014-05-11 13:07:12 -04:00
Gwanglim Lee 72f1dcc748 add missing eina_list_append in comp init
Summary: add missing eina_list_append in comp init

Test Plan: N/A

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D835
2014-05-08 11:30:01 -04:00
Sebastian Dransfeld 168dc8ef38 comp: no need to assign pointer before return
As we return after the list free, no need to set the pointer.

CID 1087717
2014-03-24 13:02:56 +01:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -04:00
Chris Michael 4bb1d8f390 @bugfix: Only load external compositing modules if we are wayland-only
@bugfix: Initialize e_comp_wl if we are wayland-only OR supporting
wayland clients.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 450d6cf321 add comments to suppress false positives in intentional switch fallthroughs
CIDs 1155283, 1155282, 1155281
2014-03-13 12:20:38 -04:00
Mike Blumenkrantz dacb821f05 trivial dead code--
CID 1187922
2014-03-13 11:43:53 -04:00
Mike Blumenkrantz e77d536466 remove comp override immediately on screensaver disable 2014-02-28 15:27:35 -05:00
Mike Blumenkrantz def17d763b +e_comp_util_object_is_above_nocomp() 2014-02-26 11:46:32 -05:00
Mike Blumenkrantz 6a90f66cc4 use comp overrides when grabbing comp input 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz 7604e7a6f7 use one comp override per comp, not per zone, when toggling screensaver fading 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a331627e09 reduce comp override pop timer, successive pops trigger instapop 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a52ede0c66 track current nocomp client 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a22181c0da allow nocomp on some overrides 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz f75a923ab0 break out client focus reset into separate function 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 4bf4fb69ed check focus reset after comp input ungrab 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 14c7e58a29 improve infos for e_comp_util_wins_print() 2014-02-17 19:11:33 -03:00
Carsten Haitzler 3e17092db8 fix segv with comp post_updates
if we keep a list of e clients... either make sure any client deleted
is removed from the list on deletion... OR use ref/unref to ensure it
stays alive as long as it's in the list.
2014-02-12 12:34:28 +09:00
Mike Blumenkrantz a3fbcc339b Revert "Revert "Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses"""
This reverts commit 91b3f2e0e1.

revert wars part 4: the blizzard blitz!

the main point of freezing idlers here was not, in fact, to optimize, but to block an infinite loop which pegged the cpu until screensaver ended. this solution should be less issue-prone for the one person who had issues with the previous fix.
2014-02-05 13:22:42 -05:00
Carsten Haitzler 91b3f2e0e1 Revert "Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses""
This reverts commit 3067f600ee.

revert wars! - i keep hitting problems - the one i still see is that i
come back to a machine that has blanked for a while - i launch some
app (terminology, sylpheed, chromium - doesn't matter) and no window
appears. psorcess is running. no matter how many times i launch it ...
no new process appears. this is a major bug. stopping the idler is an
optimization not a necessity.
2014-02-06 01:18:15 +09:00
Mike Blumenkrantz 3067f600ee Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses"
This reverts commit 231b780996.

despite appearances, this functionality isn't solely for efficiency, and as such I have no plans for it to be removed.
2014-02-03 19:16:11 -05:00
Carsten Haitzler 231b780996 e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses
so since this e main idler freeze/thaw i've noticed several times, i
come back to my machine after screen-off time period, i wke it up with
a mouse wiggle or keyboard press and try run terminology - no windwo
appears. i can run it all i want - it never shows up but the processes
are there. i've seen it happen to sylpheed where its fetch window
doesn't appear. i've had myserious menu edje objects on the top-left
with only a single item with no bg. i've had e even unable to restart
on ctrl+alt+end.

so i disabled the idler freeze/thaw as i suspected this is what the
root cause is, and sinc ethen the above problems stopped manifesting.
i can only conclude it's a deep and nasty bi-product of stopping the e
main idler, so don't do it. :) better be a bit less efficient than
buggy. either way setting manual rendering and dropping the animator
framerate should do almost all the things needed anyway.
2014-02-04 08:08:20 +09:00
Mike Blumenkrantz 1efb80bddb set manual render and increase ecore frametime during screensaver 2014-01-28 21:13:55 -05:00
Mike Blumenkrantz 55bc44c9b8 feature: main idlers now freeze during screensaver to conserve power 2014-01-27 21:44:51 -05:00
Mike Blumenkrantz b6f46fb622 ungrab comp input if either keyboard or mouse is set, not both
T858
2014-01-27 10:58:40 -05:00
Mike Blumenkrantz f0bb277632 don't free client list on comp shutdown
clients remove themselves from the client list, so this makes us fail at freeing all the clients
2014-01-23 13:20:40 -05:00
Mike Blumenkrantz aad88716a4 fix compositor grab tracking
it's possible to have multiple/recursive grabs, so the number of grabs active needs to be tracked

T820
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz aefaaea57b unify client borderless checks to use util function 2014-01-20 15:12:40 -05:00
Mike Blumenkrantz ddc89ad46b reorder some startup stuff to not fail when ecore events haven't been initialized
eta until wayland-fb bug reports start rolling in: -5 minutes
2014-01-16 20:09:45 -05:00
Mike Blumenkrantz 0c441dfa79 block shape cutting during nocomp 2014-01-16 12:09:29 -05:00
Mike Blumenkrantz a1cfeaf988 s/e_theme_comp_border/e_theme_comp_frame/g 2014-01-16 11:15:08 -05:00
Mike Blumenkrantz 84b9e9f3ec fix comp style selector signals 2014-01-16 10:53:44 -05:00
Mike Blumenkrantz 37b6238d33 fix comp style display 2014-01-15 20:39:51 -05:00
Mike Blumenkrantz 390b8a5bf5 feature: selective redirection toggling
this toggles redirection on compatible (X) clients while still mostly preserving window frame functionality
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 2ee8262ea5 block rendering while screensaver is active 2014-01-14 20:29:00 -05:00
Mike Blumenkrantz ed4c98f9f5 feature: e_comp_shape_queue_block for blocking shape changes
in some cases, it may be desirable to block shape cutting for an amount of time to reduce cpu calculations. this should be set when performing any non-interactive compositor effects
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz a70e936be1 add E_WL_FORCE environment variable to force loading of an output module during init
variable takes the name of the output module s/wl_// ; example: E_WL_FORCE=x11

this module allows easy loading of a wayland output module to override any detection which may occur by force-loading the module during startup

in a later commit, an actual output detection mechanism needs to be added to run through all the possible output modes
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 12d7405a0f huge wl fixup (wayland clients actually working again)
* try to clear up build system for separating out ecore-x

* add #ifdefs for lots of ecore-x stuff

* break out some internal e wl functions for reuse in api

* store wl surface buffers as an inlist

* add protocol-specific client compositor data

** move lots of X client attributes here

* add pixmap type checks to a number of X-specific things, such as grabinput, to block them for non-X clients

* rearrange startup order to work with wayland

* move X screensaver code to e_comp_x

* flag modules still requiring X with -DNEED_X
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz c2be19c093 feature: comp config is no longer a module
given that compositing is always enabled and that it's crucial to be able to change these settings, potentially having them unavailable is not a great way to live
2014-01-14 20:28:57 -05: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 52329d170e bad shape debugging! no enabling in git! 2014-01-10 13:26:37 -05:00
Mike Blumenkrantz d9291fffe1 send (un)focused signals to entry scrollframes
T745
2014-01-10 11:14:13 -05:00
Carsten Haitzler 72735615c7 resolve unhandled null shape pointer
in some cases cw->shape is checked, others not. chekc in all cases.
this should fix T742
2014-01-10 15:24:43 +09:00
Carsten Haitzler 63a49e4dca comp - make message for missing gl a bit more helpful 2013-12-31 19:05:41 +09:00
Carsten Haitzler 835a3dfac6 comp - remove sync support in comp - it should be off by default anyway.
this was never a great idea, and it has too many buglets in corner
cases (eg window resizing) so remove it. simpler is better.
2013-12-09 20:43:35 +09:00
Carsten Haitzler 65a1ed752e comp - disable grab by default due to it causing erratic rendering
so i found something interesting. the grab option causes some erratic
framerate in clients IF thoise clients have to sync to the xserver and
themselves try and render more smoothly. it masically means animators
get delayed due to unusually long render times because of this. this
fixes that. this also adds a comp config version number allowing the
code to upgrade a users config to turn this off and thus allows for
future upgrades too.
2013-12-08 14:46:19 +09:00
Mike Blumenkrantz 85480938cd raise fullscreen borders before entering nocomp 2013-12-01 17:27:40 -05:00
Mike Blumenkrantz bcabf5fdd3 add more borderless checks for shape cutting to catch weirdly-set borderless windows
ticket #onefang
2013-12-01 11:58:58 -05:00
Mike Blumenkrantz e4e6b0d0fd force comp reshape after desklock hide
should fix T440
2013-11-27 10:38:21 -05:00
Mike Blumenkrantz abff6f1427 conf2 and related subsystems were a fun and useful experiment, but this is not their time. removed.
see econf.git
2013-11-25 16:04:01 -05:00
Mike Blumenkrantz 7cc9e7db3b force render queue on nocomp window hide
without this, it was possible to break the compositor by enabling options which prevent unfullscreening a window on vdesk flip, which causes nocomp mode to remain permanently enabled, even after the window has closed
2013-11-20 15:32:30 -05:00
discomfitor e23879f08f don't fade backlight instantly at all times 2013-09-20 17:52:39 +01:00
discomfitor bb1f5f9fdb don't show comp win animation during a forced hide
fixes unwanted fade in when desk flip animations are disabled
2013-09-19 22:16:18 +01:00
Carsten Haitzler 2ca1a5a5d4 fix comp fullscreen nocomp detection to work properly given comp changes 2013-09-12 01:23:23 +09:00
Carsten Haitzler af576fcd8f apply show_ready timeout to each new show, not just the first one. 2013-09-04 15:13:26 +09:00
Mike Blumenkrantz a55c3b122e only check for frame input cutting if window is not borderless 2013-08-30 11:00:55 +01:00
Mike Blumenkrantz 6337da1ef9 only cut border frames if they've been calculated 2013-08-30 10:52:21 +01:00
Mike Blumenkrantz 135e82e9ca show input window objects on show 2013-08-30 10:29:35 +01:00
Mike Blumenkrantz b1f98748bb only create render update tiler for comp wins that need it 2013-08-30 10:29:03 +01:00
Mike Blumenkrantz f2b4936bfa set precise_is_inside on comp image object to finally fix shaped overrides once and for all 2013-08-30 09:37:24 +01:00
Mike Blumenkrantz 3bcd77cb69 Revert "add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues"
reverts 895bf4f78f, which totally broke initial stacking of windows in almost all cases
2013-08-27 09:23:30 +01:00
Mike Blumenkrantz 895bf4f78f add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues 2013-08-22 14:28:12 +01:00
Mike Blumenkrantz b285449cfa try precise_is_inside for shaped windows...this may further break shaped overrides 2013-08-15 11:52:08 +01:00
Mike Blumenkrantz ca76e0f6e3 event mask comp shapes which set repeat_events more accurately 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 37af538391 ensure that comp win's shape is shown when showing windows during comp win update nightmare 2013-07-26 16:11:49 +01:00
Mike Blumenkrantz c9589f53ef missed a comment on this debugging else here which may have broken the world if given the chance 2013-07-26 16:11:18 +01:00
Mike Blumenkrantz 4e7c4ac944 continue to ignore ignored comp wins in show event 2013-07-26 16:11:00 +01:00
Mike Blumenkrantz f7496d1d35 only show a comp win when it is no longer animating from a hide() call
this should greatly reduce pixmap tearing when mousing through menus quickly
2013-07-26 12:27:48 +01:00
Mike Blumenkrantz 6f1bbcf029 creating comp wins on X win creation is totally broken: no X functions will work here until a window is mapped!
instead, create them after MapRequest event
2013-07-26 12:27:48 +01:00
Mike Blumenkrantz 41b485c1e3 add a bunch of commented debug messages in comp 2013-07-26 12:27:48 +01:00
Mike Blumenkrantz e1507217d9 simplify comp win dmg update adding on show; no functional changes 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz a5f886ca90 a comp win resize is only a damage event if the window is visible 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz 5c5db39068 unset damage updates when hiding window 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz c6c7ef7f2b only update comp win pixmap if there are damage updates since this will fail otherwise 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz ab7d0eea11 get comp win attrs when e_border not present; this is just a simplification and not functionally different 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz 5f6e3017e9 don't set comp dumps/flushes for deleted comp wins 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz 07144c6c92 comp pixmap fetching before the window's first map will always fail, so it's enough to just let the render queue handle updating here 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz b4990c0cd1 don't try sibling stacking the comp canvas to a non-sibling window 2013-07-26 12:27:47 +01:00
Mike Blumenkrantz 6a7e9e7d8c placeholder commit because I screwed up a rebase somehow: previous two commits were to revert 09b4dfb940 and f55e5e86cf which were reported to have broken some things for users 2013-07-24 07:09:12 +01:00
Mike Blumenkrantz 1cff963a02 asdf 2013-07-24 07:05:41 +01:00
Mike Blumenkrantz 4c97969056 asdf 2013-07-24 07:05:24 +01:00
Carsten Haitzler d60279b977 zoomap always on popups - i enabled this before.
shelves are almost always around. that means that unless you magically
can do partial rendering, comp updates re-render shelf AND all
contents. for systems this means much mofre gl overhead thatn with
e17. to do a mid-way house, force zoomaps on for shelves, until evas
can auto stuff smart objects into buffers on its own based on behavior.
2013-07-19 09:31:55 +09:00
Mike Blumenkrantz 09b4dfb940 revert last, useless commit; what I really meant was to remove the unnecessary evas image calls 2013-07-12 13:59:24 +01:00
Mike Blumenkrantz f55e5e86cf minor comp optimization: reduce frequency of ecore-x calls when updating pixmaps for non-gl surfaces 2013-07-12 12:52:40 +01:00
Mike Blumenkrantz fc9e67d137 return correct layer value when getting comp layer for border objects 2013-07-10 16:04:01 +01:00
Mike Blumenkrantz 31c3d13d57 get window geometry for overrides during shape update, not pixmap geometry 2013-07-09 11:50:48 +01:00
Chris Michael 607f5914ff Remove duplicate call to layer_set.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 11:43:29 +01:00
Mike Blumenkrantz 39678e3136 fix comp border initial stacking 2013-07-02 10:08:24 +01:00
Mike Blumenkrantz a463688c5e fix comp win layout stacking and remove unnecessary inlist ops 2013-07-02 10:08:24 +01:00
Mike Blumenkrantz 181f11a03a fix override window shape input cutting
this is currently GUARANTEED to break with override shaped windows, which means that if such a window is ever opened, it will NEVER receive input unless it is placed over another client window. this is due to a limitation in evas where it is impossible to (de)select input regions which forced me to choose between either having shaped override windows (such as desktop recorders) block all mouse input to the screen OR have normal override windows (gtk menus and popups...) not able to generate their own input shape at all
2013-06-27 14:39:40 +01:00
Mike Blumenkrantz a6245c5c4a check ignore flags on effect_obj when cutting comp shapes 2013-06-25 09:19:04 +01:00
Mike Blumenkrantz 219b7c62fe don't set real_hid when creating comp wins for borders
initial border pixmaps are now available for windows on other desktops immediately after startup, which should:

* improve initial redraw on first desk flip

* make comp mirrors available immediately for non-current desk windows

** fixes ibar menu instances

** fixes deskmirror redraws
2013-06-24 10:08:05 +01:00
Mike Blumenkrantz 32999cfe08 block comp show events for comp wins with borders -- these get handled by the border show event 2013-06-24 10:07:30 +01:00