~ubuntu-branches/ubuntu/trusty/liblauncher/trusty

« back to all changes in this revision

Viewing changes to launcher/launcher-session.c

adds in focus tracking support

modified:
  launcher/launcher-application.c
    - adds set_focused method
    - adds focus tracking on set_focused and show
  launcher/launcher-application.h
  launcher/launcher-session.c
    - updated to use set_focused
pending merges:
  Gordon Allott 2009-11-06 cleaup of focus tracking on finalize
    Gordon Allott 2009-11-06 adds window focus tracking to liblauncher

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
                                            quark);
275
275
      g_assert (LAUNCHER_IS_APPLICATION (new_focused_app));
276
276
 
277
 
      g_object_set (G_OBJECT (new_focused_app),
278
 
                    "focused", TRUE,
279
 
                    NULL);
 
277
      launcher_application_set_focused (new_focused_app, active_window);
280
278
    }
281
279
}
282
280