~ubuntu-branches/ubuntu/edgy/compiz/edgy

« back to all changes in this revision

Viewing changes to src/display.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett, Quinn Storm, Matthew Garrett
  • Date: 2006-08-26 04:17:16 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060826041716-7ak42im2l5cuwchg
Tags: 0.0.13.38-0ubuntu1
[ Quinn Storm ]
* speed fix patch from forums, hope it works well, is supposed to fix to the
way it was in 13.11
* now passes lintian!

[ Matthew Garrett ]
* Targetted at Ubuntu repository, re-add Ubuntu logo

Show diffs side-by-side

added added

removed removed

Lines of Context:
2727
2727
                          StructureNotifyMask);
2728
2728
        }
2729
2729
 
 
2730
        sprintf (buf, "_NET_WM_CM_S%d", i);
 
2731
        cmSnAtom = XInternAtom (dpy, buf, 0);
 
2732
 
2730
2733
        currentCmSnOwner = XGetSelectionOwner (dpy, cmSnAtom);
2731
2734
 
2732
2735
        if (currentCmSnOwner != None)
2820
2823
            continue;
2821
2824
        }
2822
2825
 
2823
 
        sprintf (buf, "_NET_WM_CM_S%d", i);
2824
 
        cmSnAtom = XInternAtom (dpy, buf, 0);
2825
 
 
2826
2826
        XSetSelectionOwner (dpy, cmSnAtom, newCmSnOwner, wmSnTimestamp);
2827
2827
 
2828
2828
        if (XGetSelectionOwner (dpy, cmSnAtom) != newCmSnOwner)