Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does Compiz automatically decide which windows should be sticky (i.e. should be visible on all workspaces)? Windows such as gnome-panel and cairo-dock always stay on the visible workspace, without requiring additional configuration. How does Compiz figure this out?


share|improve this question
up vote 2 down vote accepted

The program sets hints on the window that the window manager examines to determine behavior.

share|improve this answer
+1, Short but concise. – oKtosiTe Dec 14 '10 at 21:59
Thanks, I was not aware of this! – AniDev Dec 14 '10 at 22:11
Does Windows have window hints like these? Does it have a means of making windows sticky (i.e. unmoveable)? – AniDev Dec 14 '10 at 22:29
Windows hasn't really supported multiple workspaces, so something like "sticky" would be defined in whatever tool you're using for that. Most of them maintain an internal list of which window belongs in which space, so they'd store that info there as well. – Ignacio Vazquez-Abrams Dec 14 '10 at 22:59
Also, keep in mind that things like hints exist in order to allow the WM to be replaced by something else. Since this isn't feasible in Windows, there doesn't need to be any such equivalent. – Ignacio Vazquez-Abrams Dec 14 '10 at 23:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .