Skip to content
Snippets Groups Projects
  1. Jul 03, 2017
  2. Jul 02, 2017
  3. Jun 12, 2017
  4. 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
  5. 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
  6. 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
  7. May 15, 2017
  8. Mar 21, 2017
  9. Mar 07, 2017
    • Olivier Fourdan's avatar
      moveresize: Cancel move/resize if client is gone · 5155c86c
      Olivier Fourdan authored
      Bug: 13344
      
      If a window is unmapped while the user is moving or resizing it, we
      would cancel the move but swallow the event, which would leave the
      window frame on screen as the main event handle would not get the
      unmap notify.
      
      Mark the client as gone when detected in the move/resize event loop,
      let the event get through to the main event handler that will free the
      client and shortcut the move/resize operation if the client is marked
      as gone.
      5155c86c
  10. Mar 06, 2017
    • Olivier Fourdan's avatar
      netwm: Make docks and spash screens appear focused · 0feb29e7
      Olivier Fourdan authored
      The panel is a dock window, and may appear differently as it is not
      focused by default by the window manager.
      
      Set the NET_WM_STATE_FOCUSED property on windows of type dock or
      spashscreen so that they don't get the state GTK_STATE_FLAG_BACKDROP set
      by default.
      0feb29e7
  11. Jan 19, 2017
  12. Jun 15, 2016
  13. Jun 13, 2016
    • Olivier Fourdan's avatar
      stacking: Raise on focus to activate · 3877bf45
      Olivier Fourdan authored
      
      Bug: 12634
      
      xfwm4 would raise a client upon receiving the _NET_ACTIVE_WINDOW message
      but if the client provided an old timestamp, the window won't be focused
      (as the timestamp will be older than the last current X server time).
      
      To avoid this, only raise the window on focus event notification and
      when using click-to-focus mode.
      
      Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
      3877bf45
  14. Jun 07, 2016
  15. Jun 02, 2016
    • Keith Packard's avatar
      Force application win_gravity to NorthWestGravity · b1658353
      Keith Packard authored and Olivier Fourdan's avatar Olivier Fourdan committed
      
      LibreOffice incorrectly sets its top level windows win_gravity field
      to StaticGravity. Resizing these windows to the left or upwards
      results in a corrupted application with the application window moved
      within the parent by the parent window resize.
      
      Metacity forces window gravity for all application windows to
      NorthWest, masking this application bug. xfwm4 should do the same.
      
      A bug has been filed against LibreOffice as well.
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      b1658353
Loading