Commit Graph

168 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz 26f61cb50a block border comp geometry updates when pixmap has not been fetched 2013-06-24 09:35:34 +01:00
Mike Blumenkrantz c22393189b avoid setting changed on deleted borders when trying to refresh comp pixmap 2013-06-24 08:50:48 +01:00
Mike Blumenkrantz 9528724cd9 try adding comp damage rects on resume so the screen doesn't stay black 2013-06-17 07:59:46 +01:00
Mike Blumenkrantz e6b22fc6bc allow e_comp_win_effect_set() to take a NULL effect for unsetting current effect 2013-06-12 14:08:03 +01:00
Mike Blumenkrantz 8102025dd9 block comp win creation on window create for all border windows 2013-06-12 13:55:30 +01:00
Mike Blumenkrantz 69b4a51c87 delete an existing comp win if it's set to be ignored 2013-06-11 13:58:00 +01:00
Mike Blumenkrantz 68627596f6 go back to creating comp wins for all x windows, but do it...smarter 2013-06-11 13:40:28 +01:00
Mike Blumenkrantz 477aaa822e zoomaps strike again: only enable for popups and menus now
fixes clicking desktop icons when the efm object is not at 0,0
2013-06-11 09:50:58 +01:00
Mike Blumenkrantz ca49356bce fix possible null deref
klocwork issue
2013-06-10 10:10:38 +01:00
Mike Blumenkrantz d8cef4eb39 try passing raw border geom in comp resize events 2013-05-30 15:01:07 +01:00
Mike Blumenkrantz fe8fa9d249 use new border inset util functions wherever possible to make things look nicer 2013-05-30 14:32:03 +01:00
Mike Blumenkrantz 50a6f16688 block comp win configure updates for borders: attempt #2
this time flag client to update pixmap and geom when the window change comes through
2013-05-30 14:07:13 +01:00
Mike Blumenkrantz ab0a0ad4d0 unbreak window manipulation, need to test this more... 2013-05-30 12:04:37 +01:00
Mike Blumenkrantz e07ca1aa8e use client geom when configuring comp win from border resize callback 2013-05-30 12:01:36 +01:00
Mike Blumenkrantz 048b7743a9 block comp win configure updates for borders 2013-05-30 11:45:21 +01:00
Mike Blumenkrantz c8ed7270b8 remove comp win create handler: comp wins now just get created on show 2013-05-30 11:41:54 +01:00
Mike Blumenkrantz 36d45c65ef add e_comp_win_effect_clip for manually applying clip to comp wins 2013-05-30 09:39:30 +01:00
Mike Blumenkrantz 76ed05375d register comp canvas for dnd during creation 2013-05-29 13:45:48 +01:00
Mike Blumenkrantz e772799f4d disable comp shadows for override windows with titles that begin with "noshadow" 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 10585f1771 Revert "dont leak shape rects!"
they weren't leaking.
2013-05-23 13:16:15 +01:00
Carsten Haitzler bfec26893d dont leak shape rects! 2013-05-23 20:56:08 +09:00
Mike Blumenkrantz 15933c43a0 improve e_comp_util_wins_print for non-border comp wins 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 74732f5603 block creation of comp wins for border parent windows 2013-05-23 08:59:51 +01:00
Mike Blumenkrantz ce21e7fe98 ensure we delete previous shape if we commandeer an override comp win as a border comp win somehow 2013-05-23 08:59:51 +01:00
Chris Michael 54931cf7f6 Fix several "variable may be used uninitialized" warnings.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-22 17:26:18 +01:00
Mike Blumenkrantz 68829b05d5 block dynamic comp win creation for deleted border-client windows 2013-05-22 14:44:03 +01:00
Mike Blumenkrantz a583f9a118 streamline comp win initial geometry setting to use fewer roundtrips and not randomly put overrides in the upper left corner 2013-05-22 14:17:37 +01:00
Mike Blumenkrantz 74f33f1ed2 block dynamic creation of comp wins for root windows and their parents. my confusion is palpable. 2013-05-22 13:24:03 +01:00
Mike Blumenkrantz b6024ca722 unify comp win external shape creation routine and allow for non-override windows to be dynamically created on window show events
fixes stupid non-override qt menus
2013-05-22 13:16:48 +01:00
Mike Blumenkrantz b0fb5ae565 greatly improve pointer focus models by hooking mouse callbacks to the comp win object 2013-05-22 11:07:01 +01:00
Mike Blumenkrantz edbb6d2294 better tag choice for new comp-backlight conf2 option 2013-05-21 13:57:19 +01:00
Carsten Haitzler 0bf55848ab add option to not fade backlight on suspend/resume/reboot/shutdown/logout etc. to keep backlight untouched. 2013-05-21 22:07:06 +09:00
Mike Blumenkrantz 89664c894e layout/comp "top at xy" functions now allow restricting based on visibility
fixes desktop gadget dnd
2013-05-21 13:52:11 +01:00
Mike Blumenkrantz 9e16026e04 set pass events on override windows to fix things like desktop recording 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz b307dee904 block non-override comp win creation more effectively 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 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
discomfitor 34399c80db allow popups named "noshadow*" to skip comp shadowing 2013-05-18 19:39:52 +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 2f6bbfd908 fix comp mirrors for argb xim non-native wins 2013-05-18 19:39:51 +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
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 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