You are not logged in.
Pages: 1
In xfwm4-4.3.0/src/compositor.c
Translucent Windows
under:
static void
add_win (DisplayInfo *display_info, Window id, Client *c, guint opacity)
{
ScreenInfo *screen_info = NULL;
CWindow *new;
add:
if (c && c->type == WINDOW_DESKTOP)
opacity = 0xFFFFFFFF;
else if (c && (c->type == WINDOW_DIALOG || c->type == WINDOW_MODAL_DIALOG))
opacity = 0xC7777777;
else if (c && FLAG_TEST (c->xfwm_flags, XFWM_FLAG_HAS_BORDER))
opacity = 0xBFFFFFFF;
else
opacity = 0xC3333333;
Shadow All Windows
Replace:
if ((cw->mode != WINDOW_ARGB)
&& (( c && (screen_info->params->show_frame_shadow) && FLAG_TEST (c->xfwm_flags, XFWM_FLAG_HAS_BORDER))
|| (!c && (screen_info->params->show_popup_shadow) && !(cw->shaped))))
With:
if (1)
screenshot: http://www.aquila-deus.no-ip.org/opera.png
xfwm-4.3.0 snapshot: http://www.xfce.org/~olivier/preview/
Offline
If I want to do this, do I still need
Section "Extensions"
Option "Composite" "Enable"
EndSection
in xorg.conf? What about xapps/xcompmgr? And the most important question - how's the performance? I would have been so chuffed with this kind of stuff last time I tried it - except for the fact that I'm not a snail.
Offline
If I want to do this, do I still need
Section "Extensions" Option "Composite" "Enable" EndSection
in xorg.conf? What about xapps/xcompmgr? And the most important question - how's the performance? I would have been so chuffed with this kind of stuff last time I tried it - except for the fact that I'm not a snail.
You don't need xcompmgr - Xfwm has a built-on one (the compositor.c), you just need to configure --enable-compositor
Performance is almost as fast as normal desktop, but you must use nvidia's video card and the offical driver (and enable RenderAccel), without the driver it would be 10x slower.
Firefox scrolling is buggy with compositing, so use opera or konqueror. And KDE and Gtk apps will sometimes mess up when you create new window (shade/unshade or switch desktop can restore it)
Offline
You still need it enabled with your xorg.conf.
Offline
You still need it enabled with your xorg.conf.
Hey, you are the one on #archlinux?
Offline
iphitus wrote:You still need it enabled with your xorg.conf.
Hey, you are the one on #archlinux?
Yup!
Offline
nice hack, is there a way to make focus windows opaque?
Offline
nice hack, is there a way to make focus windows opaque?
KDE does it (not kompmgr, maybe KDE's wm?), but it's not easy in xfce.
Now I just want the title bar to be less opaque.
Offline
I just got the transparent titlebar to work. But the height of less opaque part must be hard-coded, as there is no easy way to find out where the titlebar widget is exactly in compositor.c.
Screenshot => http://www.aquila-deus.no-ip.org/ttitle.png (look at "The GIMP")
It's not very amazing compared to longhorn's or OSX's, because their method require the apps themselves to setup opacity for proper widgets, rather than using a compositor which knows nothing about app windows.
I also tried to make all windows gradient... But the performance sux ass.
Offline
Pages: 1