View Single Post
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#4
Originally Posted by pycage View Post
It is possible but when the task switcher detects that an app cannot be closed, it will ask you if it should kill the process.
I see. Is it some command I can run in the xterminal to not allow it to be closed?
I wonder if there is also a way to disable that "not responding" warning...


Originally Posted by tuminoid View Post
I think there is some API for task-switcher, but likely there is no API for disabling close button in switcher view.

One option which may be viable in your case, is setting window not to show in task-switcher at all.. You can do that with gtk_window_skip_taskbar_hint().
So from what you are saying, ot seems hiding the close button is not possible at all?

Your other suggestions of not showing the task switcher sounds to me like it'll not show ANY active tasks via the gui. Is this correct? (Which isn't something I want either as I want to switch tasks via gui. Just not accidently close one or two of them...)