Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Window only gets focus when clicking on the border  (Read 4717 times)

0 Members and 1 Guest are viewing this topic.

Goz3rr

  • Newbie
  • *
  • Posts: 5
    • View Profile
Window only gets focus when clicking on the border
« on: January 02, 2014, 12:04:46 am »
There are a few other 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.

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Window only gets focus when clicking on the border
« Reply #1 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.  ;)
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Goz3rr

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #2 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

krzat

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #3 on: January 02, 2014, 06:41:17 pm »
d stands for debug, so you should probably find release version.
SFML.Utils - useful extensions for SFML.Net

Goz3rr

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #4 on: January 02, 2014, 11:12:15 pm »
Makes sense as i compiled with the debug configuration

Goz3rr

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #5 on: January 07, 2014, 02:01:37 pm »
Compiled as release, still not working

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Window only gets focus when clicking on the border
« Reply #6 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.  ;)
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

krzat

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #7 on: January 08, 2014, 09:29:22 pm »
These are freshly compiled libs* and they work for me.

*vs 2012 x86 release
SFML.Utils - useful extensions for SFML.Net

Goz3rr

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Window only gets focus when clicking on the border
« Reply #8 on: January 09, 2014, 10:41:56 pm »
These 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