When I drag a file, I want to wake my program up, how?
When I drag a file, I want to wake my program up, how?
What do you mean by "wake my program up"? In what way do you consider it "sleeping"? Regardless, you'll have to tap into your platform's (X11?) event dispatching system.
This still doesn't say what do you mean by waking it up.
Google for "intercepting X11 events". You will probably be able to use QAbstractNativeEventFilter once you manage to redirect the desired events to your application.Which api in x11 could be used? Any ideas would be gratefully recieved.
Bookmarks