You are not logged in.
Pages: 1
How do I unset netwmpager to not switch windows among panels whenever I click a different panel? Ex: I'm at panel 5, but If I just want to get back to panel 1, Then I click the first one and I'm there. But now, in this same case, when I click panel 1, it sends window 1 to panel 5.
Anyone have any suggestion? This strange behavior happens at home, not at work. Same version of both openbox and netwmpager;
Offline
There is no way (except hacking the code, obviously). Many people complain about this problem, and netwmpager is not maintained anymore, so it will not change. The behaviour is consistent (but annoying): if you click in the empty space in a desktop, then you are sent to that desktop; if you click in a window, that window is sent to the current workspace. This would make sense, but is annoying when a window is mximized in a tag and there is only a small empty pixel in the pager where you can click to go there.
It is a pity, because netwmpager would be a really nice app.
Mortuus in anima, curam gero cutis
Offline
You have to add a single line to netwmpager and re-compile it.
This happens because the new version of openbox handles stuff that way (supposed to be the NetWM standard which a lot of apps didn't implement)
I don't have the netwmpager source with me now, since I'm at work, I could post details when I get home.
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I second this, it can get quite annoying.
Offline
I'm sorry, I just remember I don't have my laptop with me, it's being serviced :-/
But the problem is, I can't find the netwmpager source anywhere, the site where it used to be (the one that our PKGBUILD and gentoo's ebuild seem to be pulling from) is dead.
Anyone got the source ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I'm sorry, I just remember I don't have my laptop with me, it's being serviced :-/
But the problem is, I can't find the netwmpager source anywhere, the site where it used to be (the one that our PKGBUILD and gentoo's ebuild seem to be pulling from) is dead.Anyone got the source ?
Mortuus in anima, curam gero cutis
Offline
Do you guys know where can I host the patched version? I applied the patch to the source code and made a PKGBUILD.
Thx
Last edited by joqueza (2008-12-16 13:55:58)
Offline
where the patch comes from?
Mortuus in anima, curam gero cutis
Offline
where the patch comes from?
gentoo guys
Offline
Ok, but I was implicitly asking if you can post it here, since it is a very short patch I guess
Mortuus in anima, curam gero cutis
Offline
Ok, but I was implicitly asking if you can post it here, since it is a very short patch I guess
ah ofcourse, since english isnt my first language, I don't get these little things heh:
You have to browse to line 1136 in pager.c and change:
if (button == 1) {
if (pager->mouse.window_idx == -1) {
x_set_current_desktop(desk);
} else if (!pager->mouse.dragging) {
x_set_active_window(pager->windows[pager->mouse.window_idx].window, SOURCE_INDICATION_PAGER);
}
for this:
if (button == 1) {
if (pager->mouse.window_idx == -1) {
x_set_current_desktop(desk);
} else if (!pager->mouse.dragging) {
x_set_current_desktop(desk);
x_set_active_window(pager->windows[pager->mouse.window_idx].window, SOURCE_INDICATION_PAGER);
}
That's it. I was thinking about the PKGBUILD just because not everyone has the patience to do that
Offline
as moljac024 said, its very simple, it's just calling the same function twice
Offline
Thanks it works. Perhaps we can ask to include this in the "official"PKGBUILD in AUR unsupported. Since upstream is dead, perhaps the annoying behaviour can be fixed at this level.
Last edited by patroclo7 (2008-12-17 07:12:52)
Mortuus in anima, curam gero cutis
Offline
Pages: 1