Commit Graph

7992 Commits

Author SHA1 Message Date
Mike Blumenkrantz b307dee904 block non-override comp win creation more effectively 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz f72b309bb6 call comp populate after borders have been created in startup to reduce number of comp wins created 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz c8d615f155 comp shape updates:
* move all shape rectangle stuff into e_container_shape

* use input rects for cutting comp shape when available

* set shape changed and render queue when container shape change callbacks are called

* create fewer comp wins (small memory improvement)
2013-05-21 11:21:05 +01:00
Mike Blumenkrantz 7749fddaa0 set comp mirror image size before setting image data -> no more black/garbage mirrors 2013-05-20 12:18:21 +01:00
Mike Blumenkrantz 1b8c6fc89a fix possible memleak when creating new app menu entries
klocwork issue
2013-05-20 11:16:07 +01:00
Chris Michael dff4df51f3 Fix potential memleak reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-20 10:31:01 +01:00
Mike Blumenkrantz 9d8a1c0a75 ignore comp shapes which have pass events set 2013-05-20 08:59:33 +01:00
Carsten Haitzler 4ca3e80d2b fix comp mirrors to work with gl engines... 2013-05-19 23:44:15 +09:00
Chris Michael 012a05e571 Modes is a zero-based list, so preferred needs to be -1.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
Chris Michael cc919670fd Remove unused variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
discomfitor 0e0b20c075 block multiple menu deactivate callbacks 2013-05-18 19:39:52 +01:00
discomfitor c34a28707f e_popup_autoclose() now also allows a delete function to replace normal popup deletion 2013-05-18 19:39:52 +01:00
discomfitor 34399c80db allow popups named "noshadow*" to skip comp shadowing 2013-05-18 19:39:52 +01:00
discomfitor d72411c6ea make gadcon popup cleanup slightly more correct when deleting objects 2013-05-18 19:39:52 +01:00
discomfitor 12944d7afe add e_exec_phony to create fake e_exec instances on e restart 2013-05-18 19:39:51 +01:00
discomfitor d8dc6df8c4 add E_Exec_Instance to E_Border and vice versa 2013-05-18 19:39:51 +01:00
discomfitor 4bbafeebb3 using pixmap w/h directly for comp mirrors is probably infinitesimally faster here 2013-05-18 19:39:51 +01:00
discomfitor 29be7a23ba delete e_exec expire timers when the instance is found... 2013-05-18 19:39:51 +01:00
discomfitor 2f6bbfd908 fix comp mirrors for argb xim non-native wins 2013-05-18 19:39:51 +01:00
discomfitor a7148b558f e_exec_desktop_instances_find 2013-05-18 19:39:51 +01:00
Chris Michael 9e605ebce8 Fix randr plug-n-play for cedric because he asked nicely ;)
- Add config timestamping to our randr config.
- remove property_notify handler as we never use it.
- Unify some code to remove duplication
- Add a lot of debugging output.
    Yes, e_randr is going to be noisy for a little while until I can
    verify that it works for others also.
- Too many other changes to list.
    Suffice to say, this makes e_randr plug-n-play work (here anyway).

NB: Right now, this just clones. It Could be changed to extend new
monitors tho

NB: This works here, on my laptop at home. If you find it does not
work for you, please supply the output of E's startup/restart when you
plug AND unplug monitors.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Chris Michael 1edb77e5c4 Add config_timestamp to e_randr_cfg.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Carsten Haitzler 8814dbc109 fix focus hang bug - zmike suggestion... 2013-05-16 14:44:33 +09:00
zmike 5cebe429d4 fix desk flip focus when switching screens with mouse focus during animation 2013-05-15 21:11:47 +01:00
discomfitor 7d469785d5 block pointer warp after desk flip animation if new desk is not in current zone 2013-05-13 22:27:24 +01:00
discomfitor 8912e7a7fe e_desk_last_focused_focus now returns the focused border 2013-05-13 22:21:14 +01:00
discomfitor 02d59dbdb2 shouldn't need to flush shadow win tree again after desk show since it was already flushed in both show and hide 2013-05-13 22:21:14 +01:00
Jérémy Zurcher d0b7970f5f e_comp: partial revert to fix mixer popup
Revert "let us... force zoomap always for popups and menus. let's eee if this"
This reverts commit 4df2ff56f5.
2013-05-13 22:53:22 +02:00
Chris Michael 9d2f29f0ae Add functions to allow wayland clients to run inside Enlightenment
again.

Wayland moved the input handling to be inside the "compositor" now, so
we need to add functions/support for that.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 09:03:43 +01:00
Igor Murzov abfe4e1b69 Make gadcon locations translatable 2013-05-12 02:02:26 +04:00
Igor Murzov b48114152a Better gettext usage for conf2 module 2013-05-11 12:15:01 +04:00
Carsten Haitzler a242745ee6 hmmm i see a rememebrs bug oh so waiting to happen.. delete a
rememeber but the idler stil has it in its list.
2013-05-11 11:11:13 +09:00
Mike Blumenkrantz ad89c33535 remove unused "modal_windows" option which was breaking dialog focus in some cases 2013-05-10 13:08:52 +01:00
Mike Blumenkrantz b797b4bb1b always unlock focus after pointer warp, even if warp border has previously been unset 2013-05-10 13:08:31 +01:00
Mike Blumenkrantz 4a7832a61b fix autoraise when mousing into already-focused windows 2013-05-10 13:08:01 +01:00
Mike Blumenkrantz 4da2c68fec fix floating border icons when changing border themes 2013-05-10 12:29:58 +01:00
Mike Blumenkrantz 103298eee3 remove some completed compositor todos 2013-05-10 12:23:07 +01:00
Mike Blumenkrantz 727cd45b5c force window resize when pixmap comes back with a size that doesn't match the client window
this causes comp to refetch the pixmap again with the correct size and allows windows which were shaded across a restart to be unshaded
2013-05-10 11:11:35 +01:00
Mike Blumenkrantz 053a14197e correctly send border move events for shading where applicable 2013-05-10 10:43:09 +01:00
Mike Blumenkrantz 0bcb83b2b6 more accurately init window position for re-managed windows 2013-05-10 10:40:54 +01:00
Mike Blumenkrantz c533d03e59 block border resize action for shading/shaded windows 2013-05-10 10:40:20 +01:00
Mike Blumenkrantz 11388ab67e block window shade animation for new clients 2013-05-10 10:39:56 +01:00
Mike Blumenkrantz f5a573abf4 typedef E_Event_Border_Simple 2013-05-10 10:39:36 +01:00
Mike Blumenkrantz 95b9313e64 don't fetch window pixmap for shaded window 2013-05-10 10:38:37 +01:00
Mike Blumenkrantz 1b684e8191 correctly calculate border frame shape when cutting a window 2013-05-09 14:14:52 +01:00
Mike Blumenkrantz 84b071df66 set shape input rects for shaped windows 2013-05-09 14:07:53 +01:00
Mike Blumenkrantz 2723bde28c fix dbusmenu crash 2013-05-09 13:14:42 +01:00
Mike Blumenkrantz 6f29188963 ignore comp shape rects outside the screen, print overrides in comp win print function 2013-05-09 13:06:04 +01:00
Mike Blumenkrantz 43c540a4f1 block mouse focus events if desk animation is running 2013-05-08 13:43:19 +01:00
Mike Blumenkrantz 506cb8046d force mouse up feed on menu ungrab to ensure it gets received
issue described in T89
2013-05-08 13:26:25 +01:00