1. 24 Aug, 2009 1 commit
    • Alexander Larsson's avatar
      Add support for enabling only native windows · a79f929d
      Alexander Larsson authored
      Some applications make weird assumtions on Gtk+ that do not work anymore
      with the new client-side windows support. For instance SWT/Eclipse reorders
      the stacking order of the X windows directly without telling gdk this,
      which breaks gdk drawing as gdk now relies on knowing the stacking order
      for window clipping.
      This introduces a GDK_NATIVE_WINDOWS environment variable, which if set
      causes Gtk+ to always use native windows. Its more compatible with
      pre-csw Gtk+ behaviour if you do weird X-specific hacks, although it does
      limit the size of GdkWindows to 65535x65535.
  2. 20 Aug, 2009 1 commit
  3. 17 Aug, 2009 1 commit
  4. 16 Aug, 2009 2 commits
  5. 14 Aug, 2009 2 commits
    • Alexander Larsson's avatar
      Always queue antiexposes after flushing outstanding moves · bd075575
      Alexander Larsson authored
      If antiexposures are queued and then we do the outstanding moves
      we will queue translations that will affect incomming exposes
      wrongly wrt the antiexposure. So, make sure we process the outstanding
      moves before doing the antiexposure.
      Additionally this commit adds a bunch of comments about how the
      expose handling works and fixes a small bug that made us always
      flush outstanding moves a little to early than necessary.
    • Alexander Larsson's avatar
      Fix type mismatch warnings · f1f7df64
      Alexander Larsson authored
      Cast g_list_foreach args to GFunc.
  6. 13 Aug, 2009 8 commits
  7. 11 Aug, 2009 3 commits
    • Matthias Clasen's avatar
      Make setting the root cursor work again · bdffae7f
      Matthias Clasen authored
      This used to work, and CSW broke it. Bug 591462, 589844.
    • Alexander Larsson's avatar
      Fix clearing of window background for some transparent notification icons · fa214590
      Alexander Larsson authored
      This extends the usage of the native clear region call such that its
      called also for windows that have parent relative background all the
      way up to a native window. That way we get true background relative
      background clearing even to a foreign parent, which means that some
      transparent notification icons look right again.
    • Alexander Larsson's avatar
      Show/Hide native window when updating viewable · f30cfd72
      Alexander Larsson authored
      This moves the native show/hide calls to the generic code
      for calculating viewable rather than in its own separate code
      called from gdk_window_show/hide. This simplifies the code a bit,
      but most significantly it means things are correctly shown when
      they become viewable for other reasons than a show/hide call.
      For instance, this fixes bug 590442 (gvim embedding) where the
      toplevel GtkPlug is mapped by the embedder and we didn't previously
      pick up that the native children became viewable and should be shown.
  8. 10 Aug, 2009 2 commits
    • Alexander Larsson's avatar
      Don't invalidate unnecessary areas on raise · 19c1c113
      Alexander Larsson authored
      We used to invalidate the whole window when raised, but this is
      unnecessary much, we now just invalidate the visible area minus the
      previously visible area.
      This also fixes a problem where expose calling raise caused a loop (#588438)
    • Alexander Larsson's avatar
      Don't ever invalidate the root window · 7f926842
      Alexander Larsson authored
      This never worked before csw since the root window is never
      set as IS_MAPPED, but with the new viewable check (which is
      true for the root window) we could erronously queue exposes
      on the root window.
      This happened unexpectedly in bug 589369, where metacity
      got a GraphicsExpose event on the root window due to some
      graphics operation, queueing an expose which would be handled
      by clearing that area. That is fixed with this commit.
  9. 30 Jul, 2009 2 commits
  10. 24 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Fix cairo rendering on large subwindows · a504784b
      Alexander Larsson authored
      We get the real pixmap size and use as cairo surface size rather
      than doing some magic to try to get clipping on the right hand size
      (and the magic looks wrong anyway).
      The previous code could result in the width/height being to big for
      the cairo 28.4 fix point size and thus not drawing anything.
      This fixes bug #588076.
  11. 23 Jul, 2009 1 commit
  12. 21 Jul, 2009 1 commit
  13. 20 Jul, 2009 6 commits
  14. 19 Jul, 2009 2 commits
  15. 18 Jul, 2009 7 commits