User forums > Using Code::Blocks

Bring C::B to front when opening file via command line

<< < (3/3)

daniloz:

--- Quote from: MortenMacFly on May 25, 2012, 11:05:31 am ---
--- Quote from: daniloz on May 25, 2012, 11:02:43 am ---do you have any other idea/concern/suggestion/test case? ;)

--- End quote ---
No, but I know that iconising and raising are two different things. So to be on the safe side, I would always raise. This might be a platform / configuration thing, too. For example, on Windows there is a switch to (dis-) allow stealing the focus of windows globally which affects Raise().

--- End quote ---
Ok, as I said I have no experience in this area, so I accept your suggestion.

Attached is a patch with "always raise".

MortenMacFly:

--- Quote from: daniloz on May 25, 2012, 01:22:15 pm ---Attached is a patch with "always raise".

--- End quote ---
...and applied in SVN after testing. Seems really to fix the bug.

Navigation

[0] Message Index

[*] Previous page

Go to full version