-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
number of desktop #57
Comments
Yes, and it also wouldn't be too hard to implement. Here I wrote quickly some sort of fix for that: diff --git a/src/client.c b/src/client.c
index f96869a..dd8528a 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1023,6 +1023,8 @@ client_update_props(struct client *c, Flags f)
{
XChangeProperty(W->dpy, c->win, ATOM("_WMFS_TAG"), XA_CARDINAL, 32,
PropModeReplace, (unsigned char*)&(c->tag->id), 1);
+ XChangeProperty(W->dpy, c->win, ATOM("_NET_WM_DESKTOP"), XA_CARDINAL, 32,
+ PropModeReplace, (unsigned char*)&(c->tag->id), 1);
XChangeProperty(W->dpy, c->win, ATOM("_WMFS_SCREEN"), XA_CARDINAL, 32,
PropModeReplace, (unsigned char*)&(c->screen->id), 1); Maybe, there are much better way to do this, but it works. |
Oh, that's not enough… wmfs should also respond to the event _NET_WM_CURRENT_DESKTOP to be able to switch to another desktop when it is requested by pager for example. |
Take example in GNOME, KDE, and Openbox :
I'm not sure if I explain that correctly, but the design of a tag and a desktop are totally different, and what you've done is definitely not enough. |
OK, I get it. But is there a way to implement proper behaviour so that EWMH will be used without interferring with wmfs tags? I'm not sure, but it seems that awesome wm handles that situation right. |
Hi!
WMFS didn't set the _NET_WM_DESKTOP properties for a windows, but set the _WMFS_TAG. It's no good, because it is nonstandarted.
Sorry! My english is bad. =(
The text was updated successfully, but these errors were encountered: