! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Allow preserving the opacity of the last focused window of each monitor
Status:
RESOLVED: MOVED

Comments

Description Steve Dodier-Lazaro editbugs 2009-10-10 16:04:45 CEST
Hello,

When enabling the compositor and setting the inactive windows' opacity < 100%, I can notice that the last focused window of each of my monitors gets drawn with transparency, which prevents me from reading them (since, as the last focused ones, they are on top of my screen and I want to be able to read them).

I would instead expect to be offered the possibility to keep the last focused window of each workspace as opaque as the active one.

This could be integrated with a GtkCheckbox in the opacity settings dialog, just under the slider for inactive windows opacity, titled "Exclude the last focused window of each of my monitors".

I would be ok to try to write a patch for this, but I'd love you to point me to where the list of windows to be drawn with transparency is set, and I'd also need to know if xfwm keeps a list of windows somewhere, or if I have to grab it through Gdk (which could be slow if this is called on each focus change). I suppose it would be more efficient to keep a list of last focused windows per monitor somewhere, but I don't know if there is a preferred place for that in xfwm.
Comment 1 Olivier Fourdan editbugs 2009-10-10 16:34:52 CEST
I am sorry but the description is a bit confusing. Is it about monitors, screens or workspaces? And what focus model?

At first read, I find that proposal complex and I am not sure this is suitable (unless I did not understand)
Comment 2 Steve Dodier-Lazaro editbugs 2009-10-10 17:33:11 CEST
I have two monitors in TwinView, in a single X screen. Your enum-displays script returns the following:
steve@steve-laptop:~$ ./enum-displays 
This display has 1 screen(s).

Screen 0:
  Name:  :0.0
  Size: 2720x900
  2 monitor(s):
    Monitor 0: 1280x800+0+100
    Monitor 1: 1440x900+1280+0
Comment 3 Olivier Fourdan editbugs 2009-10-10 18:55:03 CEST
Then the feature sounds impractical, what if the window is in between?
Comment 4 Git Bot editbugs 2020-05-29 11:42:16 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/29.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #5855

Reported by:
Steve Dodier-Lazaro
Reported on: 2009-10-10
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information