GNOME Bugzilla – Bug 133306
add a WnckWindowType setter
Last modified: 2005-07-19 10:24:22 UTC
This patch adds a wnck_window_set_window_type for setting the window type hint. I use this with Devil's pie to remove the decorations of some windows. Code is adapted from _wnck_set_dock_type_hint in xutils.c .
Created attachment 24019 [details] [review] API addition: wnck_window_set_window_type
Comment on attachment 24019 [details] [review] API addition: wnck_window_set_window_type Should it share code with the xutils.c stuff? To remove decorations I think the MWM hint (gtk_window_set_decorated() equivalent) might be preferred... Anyway, looks fine, thanks.
ah right, gtk_window_set_decorated is better but I can't get it to work with devilspie (short of pasting the whole code directly).
The point isn't to use gtk_window_set_decorated itself (it will only work on windows in your own process), but to use the X property that gtk_window_set_decorated modifies, the so-called "MWM hints" rather than _NET_WM_WINDOW_TYPE
Should this be commited? Has been accepted-commit_now for a long time.
Olivier: do you have a cvs account or do you need someone to commit this for you?
Sorry, I didn't realize this was accepted. I've just committed it.