Modal forms shouldn't have a taskbar button
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
When a form is shown through ShowModal it still has a taskbar button, unless specifically disabled by setting ShowInTaskbar=stNever. Modal forms should not have a taskbar button by default (ShowInTaskbar=stDefault).
Gtk window of a modal form should have GDK_WINDOW_TYPE_HINT_DIALOG type hint set (which in turn sets _NET_WM_WINDOW_TYPE_DIALOG property).
Or when showing the form via ShowModal the taskbar button should be specifically disabled by a call to gtk_window_set_skip_taskbar_hint(window, FALSE) (which sets _NET_WM_STATE_SKIP_TASKBAR property).
Attached patch has the first solution.