How do I change the Name of a window in X11(R6)

Discussion in 'Desktop / X' started by bashcommando, Jul 28, 2014.

  1. bashcommando

    bashcommando Active Member

    Joined:
    Jan 28, 2014
    Messages:
    223
    Likes Received:
    49
    How do I do this? As you probably guessed, I am diving into the deep world of X.

     
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Joined:
    Aug 4, 2012
    Messages:
    1,858
    Likes Received:
    654
    The window name is created by the Graphical toolkit normally. So it depends on what you are using.
    However, if you are using straight X11 then use this:
    Code:
    XStoreName(display, w, window_name)
          Display *display;
          Window w;
          char *window_name;
     
  3. bashcommando

    bashcommando Active Member

    Joined:
    Jan 28, 2014
    Messages:
    223
    Likes Received:
    49
    Can you give me an example
     

Share This Page