~ubuntu-branches/ubuntu/trusty/libcdk5/trusty

« back to all changes in this revision

Viewing changes to position.c

  • Committer: Bazaar Package Importer
  • Author(s): John Goerzen
  • Date: 2007-06-06 03:54:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070606035431-ba4gdvw0h6ybffsu
Tags: 5.0.20060507-1
* New upstream release.
* Fixed header patching.  Patch from Robert Schiele.
  Closes: #402978, #416336.
* Update widget count in description.  Closes: #294709.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
/*
4
4
 * $Author: tom $
5
 
 * $Date: 2004/08/22 21:28:55 $
6
 
 * $Revision: 1.10 $
 
5
 * $Date: 2005/12/30 00:27:48 $
 
6
 * $Revision: 1.11 $
7
7
 */
8
8
 
9
9
#undef  ObjOf
19
19
   WINDOW *parent = screen->window;
20
20
   int origX    = getbegx(win);
21
21
   int origY    = getbegy(win);
22
 
   chtype key   = 0;
23
22
   int begX     = getbegx(parent);
24
23
   int begY     = getbegy(parent);
25
24
   int endX     = begX + getmaxx(WindowOf(obj));
26
25
   int endY     = begY + getmaxy(WindowOf(obj));
27
26
 
 
27
   chtype key;
 
28
   boolean functionKey;
 
29
 
28
30
   /* Let them move the widget around until they hit return. */
29
 
   while ((key = getcCDKObject(obj)) != KEY_ENTER)
 
31
   while ((key = getchCDKObject(obj, &functionKey)) != KEY_ENTER)
30
32
   {
31
33
      switch (key)
32
34
      {