Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, everyone! Is it possible to create a window in X11/WM, but override the position Window Manager sets for the window. I'm not sure how to use 'override_redirect' flag, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    1

    Lightbulb How to override Window Manager placement of windows.


    Hello, everyone!

    Is it possible to create a window in X11/WM, but override the position Window Manager sets for the window. I'm not sure how to use 'override_redirect' flag, and what to do in order to use it. But the problem with the flag is also that it probably will disable all decorations given by the WM. Actually I just need to be able to set the windows position programmatically, while the WM puts every window (except popups) at the center of the display. I can only move windows with mouse and it's not the best idea to emulate mouse events to move windows.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    What window manager are you using?

    For WM's like openbox and pekwm, it's pretty easy to do, using window matching rules.

    For window manager without built in window matching ability, you can use devil's pie.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •