|
|
|
@ -407,7 +407,6 @@ void KRDC::switchToFullscreen(bool scaling)
|
|
|
|
|
|
|
|
|
|
bool fromFullscreen = (m_isFullscreen == WINDOW_MODE_FULLSCREEN);
|
|
|
|
|
|
|
|
|
|
TQWidget *desktop = TQT_TQWIDGET(TQApplication::desktop());
|
|
|
|
|
TQDesktopWidget* desktopWidget = TQApplication::desktop();
|
|
|
|
|
//int activeXineramaScreen = desktopWidget->screenNumber(this);
|
|
|
|
|
int activeXineramaScreen = desktopWidget->screenNumber(TQCursor::pos());
|
|
|
|
@ -481,7 +480,7 @@ void KRDC::switchToFullscreen(bool scaling)
|
|
|
|
|
|
|
|
|
|
TDEToolBar *t = new TDEToolBar(m_fsToolbar);
|
|
|
|
|
m_fsToolbarWidget = t;
|
|
|
|
|
t->setIconSize(TDEIcon::Panel);
|
|
|
|
|
t->setIconSize(16);
|
|
|
|
|
|
|
|
|
|
TQIconSet pinIconSet;
|
|
|
|
|
pinIconSet.setPixmap(m_pinup, TQIconSet::Automatic, TQIconSet::Normal, TQIconSet::On);
|
|
|
|
@ -735,7 +734,7 @@ bool KRDC::event(TQEvent *e) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool KRDC::eventFilter(TQObject *watched, TQEvent *e) {
|
|
|
|
|
/* used to get events from TQScrollView on resize for scale mode*/
|
|
|
|
|
/* used to get events from TQScrollView on resize for scale mode*/
|
|
|
|
|
if (TQT_BASE_OBJECT(watched) != TQT_BASE_OBJECT(m_scrollView))
|
|
|
|
|
return false;
|
|
|
|
|
if (e->type() != TQEvent::Resize)
|
|
|
|
|