Skip to content
Snippets Groups Projects
  1. Jan 19, 2018
    • Olivier Fourdan's avatar
      main: keep xfwm4_error_quark private · 52631807
      Olivier Fourdan authored
      No need to have that public, so we can please the compiler.
      52631807
    • Adam Purkrt's avatar
      Fix to erratic unmaximization by dragging · 84b905b7
      Adam Purkrt authored and Olivier Fourdan's avatar Olivier Fourdan committed
      Bug: 11960
      
      This patch fixes the erratic behaviour when unmaximizing a window by
      dragging it from the absolute top.
      
      clientToggleMaximized is now called with each motion event if
      a window is maximized, hence it is always unmaximized before possibly
      toggling maximization again in clientTile further down.
      84b905b7
    • Olivier Fourdan's avatar
      screen: Use computed screen size instead of xlib · 480517d4
      Olivier Fourdan authored
      When the xrandr layout is changed, we recompute the screen size on the
      actual monitors size and layout.
      
      Use this computed value instead of the size reported by Xlib as it's not
      yet updated by the time we reconfigure our display. This is particularly
      bad when the compositor is enabled as the overlay window end up being of
      the wrong size.
      480517d4
  2. Dec 20, 2017
  3. Dec 08, 2017
  4. Dec 06, 2017
  5. Dec 05, 2017
  6. Nov 27, 2017
  7. Nov 22, 2017
  8. Nov 12, 2017
  9. Aug 04, 2017
  10. Aug 01, 2017
    • Viktor Odintsev's avatar
      client: remove X error traps · e0ce131a
      Viktor Odintsev authored
      Xfwm error handler will cover all errors itself, there is no
      necessity to use error traps for client.
      
      GDK X error traps were changed in GDK 3 so using these traps
      caused unwanted SIGTRAPs within GDK X error handler.
      e0ce131a
  11. Jul 07, 2017
  12. Jul 05, 2017
  13. Jul 03, 2017
  14. Jul 02, 2017
  15. Jun 12, 2017
  16. Jun 09, 2017
    • Olivier Fourdan's avatar
      compositor: Disable XPresent on error · 7d9e6ced
      Olivier Fourdan authored
      Bug: 13607
      
      If XPresentPixmap() fails, we would disable Present rather that waiting
      for a notification that will never arrive.
      
      But that relies on the actual window to be reported in the XError, which
      is not necessarily the case.
      
      Disable Xpresent for all screens as we are not sure we can tell which
      one from the resource id.
      7d9e6ced
  17. Jun 02, 2017
    • Błażej Szczygieł's avatar
      compositor: remove old vblank code · b2c74634
      Błażej Szczygieł authored and Olivier Fourdan's avatar Olivier Fourdan committed
      Bug: 13613
      
      Since commit 7115d1b4, we can't disable second (broken) vblank waiting
      code.
      
      glXSwapBuffers() already waits for v-blank (if enabled in driver), so
      any other "synthetic" waiting for v-blank can reduce performance
      (de-sync) without actual benefit.
      
      This patch removes old code to prevent waiting for vblank twice.
      b2c74634
  18. Jun 01, 2017
    • Olivier Fourdan's avatar
      screen: Fix broken monitor index · 0c7bc537
      Olivier Fourdan authored
      Bug: 13608
      
      Commit 58955779 (Use ximerama indices for _NET_WM_FULLSCREEN_MONITORS)
      introduced a regression because the monitor index was wrongly compared
      against the total number of monitors, which would falsely assume that
      the Xrandr query failed whereas it actually worked.
      
      Fix the false comparison and also use the screen size as fallback values
      in case the Xrandr really failed so that we don't end up using random
      uninitialized values.
      0c7bc537
Loading