SFML community forums

Bindings - other languages => DotNet => Topic started by: Goz3rr on January 02, 2014, 12:04:46 am

Title: Window only gets focus when clicking on the border
Post by: Goz3rr on January 02, 2014, 12:04:46 am
There are a few (http://en.sfml-dev.org/forums/index.php?topic=13266.0) other (http://en.sfml-dev.org/forums/index.php?topic=12725.0) threads on this, but i'm running into the same issue with SFML.NET. I've recompiled SFML -> CSFML -> SFML.NET all from github source and it's still happening.
Title: Re: Window only gets focus when clicking on the border
Post by: zsbzsb on January 02, 2014, 12:16:26 am
This problem is fixed in the latest source, so if you did recompile CSFML make sure you are using the dlls you compiled.  ;)
Title: Re: Window only gets focus when clicking on the border
Post by: Goz3rr on January 02, 2014, 01:12:44 am
I'm sure i used them, the only thing that i had to do was rename csfml-*-d-2.dll to csfml-*-2.dll
Title: Re: Window only gets focus when clicking on the border
Post by: krzat on January 02, 2014, 06:41:17 pm
d stands for debug, so you should probably find release version.
Title: Re: Window only gets focus when clicking on the border
Post by: Goz3rr on January 02, 2014, 11:12:15 pm
Makes sense as i compiled with the debug configuration
Title: Re: Window only gets focus when clicking on the border
Post by: Goz3rr on January 07, 2014, 02:01:37 pm
Compiled as release, still not working
Title: Re: Window only gets focus when clicking on the border
Post by: zsbzsb on January 07, 2014, 02:30:07 pm
What I recommend you do is that you delete all SFML files from your computer, this will eliminate the chance of using old files anywhere. Then download the latest source from github and then recompile everything.  ;)
Title: Re: Window only gets focus when clicking on the border
Post by: krzat on January 08, 2014, 09:29:22 pm
These (https://dl.dropboxusercontent.com/u/14848632/csfml_2014-01-08.7z) are freshly compiled libs* and they work for me.

*vs 2012 x86 release
Title: Re: Window only gets focus when clicking on the border
Post by: Goz3rr on January 09, 2014, 10:41:56 pm
These (https://dl.dropboxusercontent.com/u/14848632/csfml_2014-01-08.7z) are freshly compiled libs* and they work for me.

*vs 2012 x86 release

Awesome! For some reason these work perfectly, i guess i somehow screwed up or something while trying to compile myself