~ubuntu-branches/ubuntu/vivid/compiz/vivid

« back to all changes in this revision

Viewing changes to gtk/window-decorator/decorator.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Chris Townsend, Alberts Muktupāvels
  • Date: 2014-07-07 11:42:19 UTC
  • mfrom: (3248.176.40)
  • Revision ID: package-import@ubuntu.com-20140707114219-ipum407fkn7ed64h
Tags: 1:0.9.11+14.10.20140707-0ubuntu1
[ Chris Townsend ]
* Release version 0.9.11
* Bump VERSION to 0.9.12
* Add more button ungrab keymasks, so unfocused Gtk window scrolling
  will work when NumLock is off and CapsLock is on and any combination
  thereof. (LP: #1330198)
* Remove the need to check the viewport we are painting the maximized
  window in while in Expo mode and only scale maximized windows that
  are not being dragged. Fixes a regression caused in r3868. (LP:
  #1333277)

[ Alberts Muktupāvels ]
* This is some preparation work to port gtk-window-decorator to gtk+-
  3.0. Changed gtk_object_destroy to gtk_widget_destory. Removed
  support for old metacity versions. Removed support for old wnck
  versions. .

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
            WNCK_WINDOW_ACTION_MINIMIZE,
325
325
            0,
326
326
            WNCK_WINDOW_ACTION_SHADE,
327
 
 
328
 
#ifdef HAVE_LIBWNCK_2_18_1
329
327
            WNCK_WINDOW_ACTION_ABOVE,
330
328
            WNCK_WINDOW_ACTION_STICK,
331
329
            WNCK_WINDOW_ACTION_UNSHADE,
332
330
            WNCK_WINDOW_ACTION_ABOVE,
333
331
            WNCK_WINDOW_ACTION_UNSTICK
334
 
#else
335
 
            0,
336
 
            0,
337
 
            0,
338
 
            0,
339
 
            0
340
 
#endif
341
 
 
342
332
        };
343
333
 
344
334
        /* Reparenting mode - if a box was set and we no longer need it reset its geometry */
393
383
 * Description: Wrapper function to either get the name of the window or
394
384
 * return NULL
395
385
 */
396
 
 
397
 
#ifdef HAVE_WNCK_WINDOW_HAS_NAME
398
386
static const char *
399
387
wnck_window_get_real_name (WnckWindow *win)
400
388
{
401
389
    return wnck_window_has_name (win) ? wnck_window_get_name (win) : NULL;
402
390
}
403
391
#define wnck_window_get_name wnck_window_get_real_name
404
 
#endif
405
392
 
406
393
/*
407
394
 * max_window_name_width