big shadows mac like for compiz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using compiz as wm for xfce. I have a retina screen. Shadow radius can't be increase beyond 18px which is too little for an effect like mac osx.
For those who are interested in getting this effect attached a patch which I wrote.
I don't know how to submit it but it would be nice to have, I think
Cheers
Gianluca
diff -Nur ./compiz-
--- compiz-
+++ compiz-
@@ -29,16 +29,16 @@
const gboolean USE_TOOLTIPS_
-const gdouble ACTIVE_
-const gdouble ACTIVE_
+const gdouble ACTIVE_
+const gdouble ACTIVE_
const gint ACTIVE_
-const gint ACTIVE_
+const gint ACTIVE_
const gchar *ACTIVE_
-const gdouble INACTIVE_
-const gdouble INACTIVE_
+const gdouble INACTIVE_
+const gdouble INACTIVE_
const gint INACTIVE_
-const gint INACTIVE_
+const gint INACTIVE_
const gchar *INACTIVE_
const gint BLUR_TYPE_DEFAULT = BLUR_TYPE_NONE;
diff -Nur ./compiz-
--- compiz-
+++ compiz-
@@ -201,14 +201,14 @@
}
return gwd_settings_
- (gdouble) MAX (0.0, MIN (aradius, 48.0)),
+ (gdouble) MAX (0.0, MIN (aradius, 120.0)),
- (gdouble) MAX (-16, MIN (ax_off, 16)),
- (gdouble) MAX (-16, MIN (ay_off, 16)),
+ (gdouble) MAX (-30, MIN (ax_off, 30)),
+ (gdouble) MAX (-30, MIN (ay_off, 30)),
- (gdouble) MAX (0.0, MIN (iradius, 48.0)),
+ (gdouble) MAX (0.0, MIN (iradius, 120.0)),
- (gdouble) MAX (-16, MIN (ix_off, 16)),
- (gdouble) MAX (-16, MIN (iy_off, 16)),
+ (gdouble) MAX (-30, MIN (ix_off, 30)),
+ (gdouble) MAX (-30, MIN (iy_off, 30)),
}
diff -Nur ./compiz-
--- compiz-
+++ compiz-
@@ -23,9 +23,9 @@
<option name="active_
<_long>Drop shadow radius</_long>
- <default>
+ <default>
- <max>18.0</max>
+ <max>120.0</max>
</option>
<option name="active_
@@ -50,15 +50,15 @@
<_long>Drop shadow X offset</_long>
- <min>-16</min>
- <max>16</max>
+ <min>-30</min>
+ <max>30</max>
</option>
<option name="active_
<_long>Drop shadow Y offset</_long>
- <default>
- <min>-16</min>
- <max>16</max>
+ <default>
+ <min>-30</min>
+ <max>30</max>
</option>
</subgroup>
<subgroup>
@@ -66,9 +66,9 @@
<option name="inactive_
<_long>Drop shadow radius</_long>
- <default>
+ <default>
- <max>13.0</max>
+ <max>120.0</max>
</option>
<option name="inactive_
@@ -87,15 +87,15 @@
<_long>Drop shadow X offset</_long>
- <min>-16</min>
- <max>16</max>
+ <min>-30</min>
+ <max>30</max>
</option>
<option name="inactive_
<_long>Drop shadow Y offset</_long>
- <default>
- <min>-16</min>
- <max>16</max>
+ <default>
+ <min>-30</min>
+ <max>30</max>
</option>
</subgroup>
<option name="command" type="string">
diff -Nur ./compiz-
--- compiz-
+++ compiz-
@@ -3035,7 +3035,7 @@
0,
NULL)),
- mMenusClipGroup (CompMatch ("type=Dock | type=DropdownMenu | type=PopupMenu")),
+ mMenusClipGroup (CompMatch ("type=Dock")),
mRequestor (screen->dpy (), screen->root (), &(decor[
mReleasePool (new PixmapReleasePool (