I want to reposition a application window on the desktop using a c++ program .
How should i go about doing that , i need solution for both situations .
-
When i have the source of the application which want to move .
-
Move windows of other application by Writing an external program.
External Bash script:
For more information about this, use
xdotool search,xdotool windowmoveandman xdotool.C++ example:
And bare minimum example: