You are not logged in.
I'd like to enable the "show shadows under regular windows" option in the compositor tab in the window manager tweaks settings panel.
However, enabling this option when using full screened windows produces an odd looking shadow behind my top panel (I'm running dual panels, gnome2 style. top panel is semitransparent.).
I'd like a way to customize the shadow behavior so it acts like "hide frame of windows when maximized" in the accessibility tab in the window manager tweaks panel, where I could "hide shadows of windows when maximized".
If this isn't configurable via xconf or similar, should I add an enhancement request?
Thanks for the help!
Last edited by yoasif (2013-05-15 00:52:09)
Offline
Same question.
Offline
Does unchecking "Show shadows under dock windows" help?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Does unchecking "Show shadows under dock windows" help?
No. How to reproduce: alpha level to 0 in the panel settings and then maximize any window.
Offline
What am I looking for? By unchecking the drop shadow box, the drop shadow disappears and the maximimzed window (still) looks okay. But maybe I'm not seeing what you are.
Can you post some screenshots?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Can you post some screenshots?
Shadows disabled: https://i.imgur.com/HvZ6qQy.png
Shadows enabled: https://i.imgur.com/RkYG80R.png
Desktop wallpaper https://cdn.fedoramagazine.org/wp-conte … 07/f26.jpg
Offline
I see. The shadow of the maximized window is overlapping the panel.
There is no configuration option for this, so you'll need to create an enhancement request if you want a setting in the code.
As an optional workaround, you could create a script that uses wmctrl to monitor whether a window goes full screen and auto-disable/enable the setting as required. Something like:
#!/bin/bash
while true
do
FULLSCREEN=0
for WIN in $( wmctrl -l | awk '{print $1}' )
do
xprop -id $WIN | grep "_NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT" > /dev/null 2>&1 && FULLSCREEN=1
done
if [ $FULLSCREEN -eq 1 ]
then
xfconf-query -c xfwm4 -p /general/show_frame_shadow -s false
else
xfconf-query -c xfwm4 -p /general/show_frame_shadow -s true
fi
sleep 1
done
exit 0
Adjust the sleep value as required to make the script more responsive.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks.
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 545.75 KiB (Peak: 546.59 KiB) ]