You are not logged in.

#1 2020-07-05 15:28:11

jfk
Member
Registered: 2017-12-11
Posts: 81

Windows decoration with Compiz

I've been using LxQT/Openbox for a while but I wanted further ẅindows management options. I installed Compiz which fully satisfies my needs but I got one annoying issue: whatever windows decorations I chose (both with Emerald and GTK themes) the cursor goes beyond the closing button when I go with the mouse on the upper-right corner in full-size. Therefore I have to "target" the button instead of going straight to the corner for closing my windows (which doesn't happen with Openbox). This drives me crazy. Is it normal? A desktop marging issue with Compiz?

Last edited by jfk (2020-07-05 16:52:24)

Offline

#2 2020-07-06 03:08:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Windows decoration with Compiz

Care to share the solution for others? https://wiki.archlinux.org/index.php/Co … way_street

Offline

#3 2020-07-06 06:51:12

seth
Member
Registered: 2012-09-03
Posts: 51,175

Re: Windows decoration with Compiz

Apparently all compiz decorations do this and forever, apparently you can hack emerald to behave - see https://www.bgreco.net/blog/close

Offline

#4 2020-07-06 08:43:59

jfk
Member
Registered: 2017-12-11
Posts: 81

Re: Windows decoration with Compiz

fukawi2 wrote:

Care to share the solution for others?

Of course. This is indeed due to the frame of the decoration itself. You have to modify the theme as Seth suggested for Emerald. With metacity themes in compiz you need to adjust the following parameters to 0 in the .xml (I just did that for the "normal" style). Here is an example:

 <frame_geometry name="normal">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="5"/>
<distance name="right_titlebar_edge" value="0"/>
<aspect_ratio name="button" value="0.75"/>
<distance name="title_vertical_pad" value="4"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="" bottom="0"/>
</frame_geometry>

Last edited by jfk (2020-07-11 18:52:30)

Offline

Board footer

Powered by FluxBB