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

Fix #599 (issue with focus on multiple instances) #607

Closed
wants to merge 1 commit into from

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Dec 23, 2015

This fixes #599 as far as I'm concerned - meaning it changes behavior to fix the issues I was seeing with running multiple instances of awesome on separate screens.

The awesomeConfig.cmake I accidentally checked in prior to this branch, and now github wants it unconditionally, and I can't seem to deselect it. However, if you do require lua v5.3, it does fix an issue with FindLua when there are multiple versions of lua installed on the system (since lua doesn't really do pkg config very well)

@psychon psychon added this to the next: pull requests to be merged soon milestone Dec 23, 2015
@psychon
Copy link
Member

psychon commented Dec 23, 2015

The second commit looks fine to me (glad to hear that my idea works).

The first one makes travis fail to build this, because neither lua 5.1, lua 5.2 nor luajit work anymore while they did before. :-) I consider the problem with multiple installed lua versions to be a bug in CMake / FindLua and I don't know what to do about it. See #361 and https://cmake.org/Bug/view.php?id=15756.

I think we can just cherry-pick the second commit and be done with this PR (if @blueyed agrees)?

@Manfred-Knick
Copy link

@ kdt3rd : against which version of awesome was this patch created? It's not awesome-3.5.6 ...
Perhaps against a HEAD tree pulled from git as mentioned in #599 ?
Thanks in advance for pointing this out.

@blueyed
Copy link
Member

blueyed commented Dec 23, 2015

@Manfred-Knick
The patch is against Git master.

@kdt3rd
Please remove 41dcdea from the PR, so we can see that it passes the builds.

@Manfred-Knick
Copy link

Confirmation:
. . . back-ported into awesome-3.5.6 .
Please c.f. comment WORKSFORME in #598 .

When there are multiple X11 screens (i.e. :0.0 and :0.1) for zaphod mode
style X setups, this triggers a refresh of focus when the instance
running on a particular root receives the mouse
@kdt3rd
Copy link
Contributor Author

kdt3rd commented Dec 24, 2015

I don't seem to easily be able to remove the initial patch against awesomeConfig.cmake - I wanted to remove it earlier, but realized I'd already pushed it to my remote. I guess either make the patch elsewise and reject this pull request, or if you want, I'll clean up my fork and re-submit.

thanks

@blueyed
Copy link
Member

blueyed commented Dec 24, 2015

I'll clean up my fork and re-submit

Yes, you should be able to use git rebase -i origin/master to remove the patch/commit and then force-push it to your branch again. That should update this PR.

@psychon
Copy link
Member

psychon commented Dec 26, 2015

(Force push: I guess that this would be git push --force origin multi_instance for you. However, git push git://github.com/kdt3rd/awesome.git +multi_instance should work in any case (the + means "force push, even if this means that changes are lost))

@kdt3rd
Copy link
Contributor Author

kdt3rd commented Dec 28, 2015

OK, thanks, I've patched up that branch, and Travis seems happy now. thanks for the patience

@thmo
Copy link
Contributor

thmo commented Jan 11, 2016

Could you please port/apply fc8c91c to the 3.5 branch as well?

@psychon
Copy link
Member

psychon commented Jan 11, 2016

Cherry-picked into 3.5.
Closing this since it was apparently merged with a slightly edited commit message, as @thmo noticed.

@psychon psychon closed this Jan 11, 2016
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

Successfully merging this pull request may close these issues.

focus issue with multiple awesome instances
5 participants