1. 24 Aug, 2014 1 commit
  2. 23 Aug, 2014 1 commit
  3. 22 Aug, 2014 3 commits
  4. 21 Aug, 2014 10 commits
  5. 19 Aug, 2014 11 commits
    • Jasper St. Pierre's avatar
      wayland: Initialize SHM again · d41449b5
      Jasper St. Pierre authored
      Uh, whoops. I accidentally removed this when revamping the
      initialization sequence. This causes bad things to happen.
      d41449b5
    • Jasper St. Pierre's avatar
      window: Don't try to map / unmap OR windows by ourselves · 34979c3f
      Jasper St. Pierre authored
      This is bad behavior, and can also cause us to get in an infinite loop
      if an OR window is mapped and unmapped in quick succession. This
      sequence causes a MapNotify followed by an UnmapNotify, and when
      processing the events, we'll call XMapWindow, XUnmapWindow, which will
      put another set of MapNotify, UnmapNotify events in our queue, which we
      then process by calling XMapWindow, XUnmapWindow, and so it goes
      forever, or at least some scheduler uncorks us by making us call
      XMapWindow when the window is already mapped, or XUnmapWindow when the
      window is already unmapped.
      
      We can stop this madness by simply making sure never to call neither
      XMapWindow or XUnmapWindow on OR windows, which is the correct thing to
      do anyway.
      34979c3f
    • Jasper St. Pierre's avatar
      common: Make UNKNOWN a flag, not a combination of all directions · 711f0c0c
      Jasper St. Pierre authored
      This was the original intention, but it was thought to be easier
      to mark this as a combination of all directions. It turned out to
      instead cause subtle bugs since code that blindly checked & DIR_WEST or
      similar turned out to get it wrong when it was UNKNOWN, so just make
      it an explicit flag.
      
      This fixes the cursor appearing in the wrong place when starting a
      keyboard resize.
      711f0c0c
    • Jasper St. Pierre's avatar
      window: Fix the north/south cursor position when keyboard resizing · 933d05a5
      Jasper St. Pierre authored
      We got these backwards...
      933d05a5
    • Jasper St. Pierre's avatar
      keybindings: Make sure to filter out the virtualized mod itself · 8a0da1cb
      Jasper St. Pierre authored
      When devirtualizing the modifier, we can't include the virtualized mod
      itself, otherwise our grab won't have the correct mask.
      8a0da1cb
    • Jasper St. Pierre's avatar
      prefs: Don't crash when we get a preference changed we don't know about · 1445903a
      Jasper St. Pierre authored
      We commonly used the generic, undetailed signal 'changed' to track
      changes to preferences. Since we crash on unknown preference types,
      this can be dangerous if somebody adds a new setting that has a
      type we're unfamiliar with, and something else changes it.
      
      Instead of crashing, just fizzle out doing nothing.
      1445903a
    • Jasper St. Pierre's avatar
      stack: Reindent · 5d9386df
      Jasper St. Pierre authored
      5d9386df
    • Jasper St. Pierre's avatar
      window: Add a hack to correct dragging from the top panel in gnome-shell · 6fd1de22
      Jasper St. Pierre authored
      In gnome-shell, we have a feature where the user can unmaximize windows
      by dragging them from the panel above the window. With accurate
      anchoring, this looks really weird as the cursor is now "detached" from
      the window. Detect this case and put the cursor in the middle of the
      window titlebar instead.
      6fd1de22
    • Jasper St. Pierre's avatar
      window: Increase the height of CSD titlebars · ac099343
      Jasper St. Pierre authored
      This seems to be more accurate with what we currently see in
      GNOME. Without having the app expose this information to us, it might be
      a better idea to use the default frame style for this information instead.
      ac099343
    • Jasper St. Pierre's avatar
      window: Fix cursor anchoring issues when drag-unmaximizing windows · bce5f3f1
      Jasper St. Pierre authored
      The cursor was anchored wrongly when trying to unmaximize windows from
      dragging them from the top of the screen because of a few think-o's and
      some code that forgot to be updated when we moved to the frame rect
      coordinate system.
      
      The cursor is still offset for windows that start dragging from the top
      panel. This is technically correct, but looks wrong. We'll fix this in
      the next commit.
      bce5f3f1
    • Jasper St. Pierre's avatar
      xrandr: Port some checks to XCB so we don't have to deal with BadName · 35e0982e
      Jasper St. Pierre authored
      RandR's QueryOutputProperty request makes the incredible decision of
      throwing a BadName if you pass a property that doesn't exist, which
      means that trying to check if a property exists is a royal pain when
      using Xlib.
      
      XCB's interface is much more friendly about errors and not having global
      state and things like that, so use that instead to query our backlight
      property.
      35e0982e
  6. 18 Aug, 2014 14 commits