~jrrowe89/unity/fix-for-bug-718880

« back to all changes in this revision

Viewing changes to src/unityshell.cpp

  • Committer: macslow at bangang
  • Date: 2011-02-13 00:46:10 UTC
  • mto: This revision was merged to the branch mainline in revision 854.
  • Revision ID: macslow@bangang.de-20110213004610-10m6hf8sald84jqr
Adapt to newer API of XInputWindow allowing to give input-windows distinct names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
603
603
  self->launcherWindow->SetLayout(layout);
604
604
  self->launcherWindow->SetBackgroundColor(nux::Color(0x00000000));
605
605
  self->launcherWindow->ShowWindow(true);
606
 
  self->launcherWindow->EnableInputWindow(true);
 
606
  self->launcherWindow->EnableInputWindow(true, "launcher");
607
607
  self->launcherWindow->InputWindowEnableStruts(true);
608
608
 
609
609
  /* FIXME: this should not be manual, should be managed with a
634
634
  self->panelWindow->SetLayout(layout);
635
635
  self->panelWindow->SetBackgroundColor(nux::Color(0x00000000));
636
636
  self->panelWindow->ShowWindow(true);
637
 
  self->panelWindow->EnableInputWindow(true);
 
637
  self->panelWindow->EnableInputWindow(true, "panel");
638
638
  self->panelWindow->InputWindowEnableStruts(true);
639
639
  LOGGER_END_PROCESS ("initLauncher-Panel");
640
640