Can I force the WM to draw native title bars on all windows?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mandarpatil

Can I force the WM to draw native title bars on all windows?

Post by mandarpatil »

It really annoys me when certain UI frameworks *cough*electron*cough* decide that they know better than the window manager how to draw windows. A program that draws its own title bar, then becomes unresponsive because it's doing calculations on the UI thread *cough*electron*cough* can't be stopped without using something like xkill.

Is there some setting for xfwm4 that forces native window chrome even if the windows try to draw themselves "frameless"?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
michael-hi
Level 4
Level 4
Posts: 300
Joined: Sun Mar 19, 2017 2:31 pm

Re: Can I force the WM to draw native title bars on all windows?

Post by michael-hi »

I've never heard of electron programs but if this is a similar problem to Gnome apps always using their own header bar instead of xfwm window borders, then you could try:

Code: Select all

sudo apt install gtk3-nocsd
(then log out and back in again)

Not sure if it would work for your scenario but you could test it and see.
Locked

Return to “Xfce”