Skip to content
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

Windows cannot be moved, closed, right-clicked, etc. #406

Closed
willbprog127 opened this issue Aug 23, 2017 · 4 comments
Closed

Windows cannot be moved, closed, right-clicked, etc. #406

willbprog127 opened this issue Aug 23, 2017 · 4 comments

Comments

@willbprog127
Copy link

Hi Joe,

With the very latest git version of JWM (d664eba) when attempting to drag, close, right-click, iconify, restore, maximize or resize windows, nothing happens. I have not changed my mouse or keyboard mappings and the latest release of JWM available on your site works fine. Windows can be iconified by clicking the task button or closed by quitting the program using the program's Quit item, but JWM windows will not do anything by clicking the decoration.

My build config:
./configure --disable-confirm --disable-cairo --disable-rsvg --disable-fribidi --disable-nls --disable-shape

I am running JWM on PCLinuxOS, no systemd with the following command-line:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /home/will/apps/bin/jwm

I have run JWM with this command-line just fine on other distros (and the latest non-git release), so I'm not sure what's going on.

Thanks! 😄

@ghost
Copy link

ghost commented Aug 23, 2017

Hi @willbprog127 There was a major breaking change that allows things to be customized more fully.
HERE is the documentation

Basically the answer is to use xsltproc and this file
I think there should be a default action setup to avoid this issue, however I like the new features.
You can now configure the placement and order of window buttons.
You can simply manually copy over the Mouse context stuff into your jwmrc or use xsltproc it will also modify the tasklist grouping

@willbprog127
Copy link
Author

@Israel- Thanks for letting me know. When I read raw man code my eyes glass over. :-P

This throws me for a loop. I'm going to try to find an older release until the smoke clears.

Thanks!

@ghost
Copy link

ghost commented Aug 23, 2017

@willbprog127
Here is the stuff to add.
It is really simple. But the usefulness of this is pretty large. You can make mouse context for the desktop (aka 'root'), like running programs when you click. So the benefits are much greater than the slight inconvenience!
😄

	<Mouse context="title" button="1">move</Mouse>
	<Mouse context="title" button="2">move</Mouse>
	<Mouse context="title" button="3">window</Mouse>
	<Mouse context="title" button="4">shade</Mouse>
	<Mouse context="title" button="5">shade</Mouse>
	<Mouse context="title" button="11">maximize</Mouse>
	<Mouse context="icon" button="1">window</Mouse>
	<Mouse context="icon" button="2">move</Mouse>
	<Mouse context="icon" button="3">window</Mouse>
	<Mouse context="icon" button="4">shade</Mouse>
	<Mouse context="icon" button="5">shade</Mouse>
	<Mouse context="border" button="1">resize</Mouse>
	<Mouse context="border" button="2">move</Mouse>
	<Mouse context="border" button="3">window</Mouse>
	<Mouse context="close" button="-1">close</Mouse>
	<Mouse context="close" button="2">move</Mouse>
	<Mouse context="close" button="-3">close</Mouse>
	<Mouse context="maximize" button="-1">maximize</Mouse>
	<Mouse context="maximize" button="-2">maxv</Mouse>
	<Mouse context="maximize" button="-3">maxh</Mouse>
	<Mouse context="minimize" button="-1">minimize</Mouse>
	<Mouse context="minimize" button="2">move</Mouse>
	<Mouse context="minimize" button="-3">shade</Mouse>

@willbprog127
Copy link
Author

willbprog127 commented Aug 24, 2017

@Israel- @joewing So I'm on the latest git version again and added the above Mouse text to the config file and, for the most part, it's working fine. There is, however, one thing not working correctly - Pidgin conversation windows.

For some reason, when I double-click a buddy in the buddy list, the conversation window comes up with no border or title. And bonus -- pressing Enter to send a message doesn't work any more. Instead, it just inserts a carriage-return in the text I'm sending. Pidgin has worked fine in earlier JWM versions. Should I reopen this issue?...or create a new one?

@joewing joewing mentioned this issue Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant