// What GDK_NATIVE_WINDOWS=1 does

GDK_NATIVE_WINDOWS is an environment variable to influence GTK+'s window management layer GDK. GTK+ is a toolkit used by many applications1) to render their graphical interfaces.

GTK+ 2.18.0 introduced so called “client-side windows”, offering new possibilities for application developers. Some applications may have problems with this because they are mixing X and GDK calls. GDK_NATIVE_WINDOWS=1 simply makes sure that every GDK window gets its native X window, making problematic applications work better.

So if you have problems like not working buttons (nothing happens after a click etc.) when using a GTK+ application, there is a good chance to fix the issues by setting GDK_NATIVE_WINDOWS=1 until the application developers clean up their code and release a new version of the program.

1)
e.g. GIMP or Eclipse

Leave a comment…




M G T P R
  • E-Mail address will not be published.
  • Formatting:
    //italic//  __underlined__
    **bold**  ''preformatted''
  • Links:
    [[http://example.com]]
    [[http://example.com|Link Text]]
  • Quotation:
    > This is a quote. Don't forget the space in front of the text: "> "
  • Code:
    <code>This is unspecific source code</code>
    <code [lang]>This is specifc [lang] code</code>
    <code php><?php echo 'example'; ?></code>
    Available: html, css, javascript, bash, cpp, …
  • Lists:
    Indent your text by two spaces and use a * for
    each unordered list item or a - for ordered ones.
I'm no native speaker (English)
Please let me know if you find any errors (I want to improve my English skills). Thank you!
Recent Comments
QR Code: URL of current page
QR Code: URL of current page 2010:07:24:what-gdk-native-windows-1-does (generated for current page)