By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 869
Collapse All | Expand All

(-)workspace.h (+3 lines)
Lines 339-344 Link Here
339
339
340
        void slotWalkThroughDesktops();
340
        void slotWalkThroughDesktops();
341
        void slotWalkBackThroughDesktops();
341
        void slotWalkBackThroughDesktops();
342
        void slotWalkThroughApps();
343
        void slotWalkBackThroughApps();
344
342
        void slotWalkThroughDesktopList();
345
        void slotWalkThroughDesktopList();
343
        void slotWalkBackThroughDesktopList();
346
        void slotWalkBackThroughDesktopList();
344
        void slotWalkThroughWindows();
347
        void slotWalkThroughWindows();
(-)tabbox.cpp (-4 / +27 lines)
Lines 47-52 Link Here
47
    setLineWidth(2);
47
    setLineWidth(2);
48
    setMargin(2);
48
    setMargin(2);
49
49
50
    appsOnly = false;
50
    showMiniIcon = false;
51
    showMiniIcon = false;
51
52
52
    no_tasks = i18n("*** No Windows ***");
53
    no_tasks = i18n("*** No Windows ***");
Lines 86-92 Link Here
86
    m = mode;
87
    m = mode;
87
    }
88
    }
88
89
90
/*! 
91
  Sets the appsOnly variable, TRUE means createClientList will only return windows matching the current WM_CLASS
89
92
93
*/
94
void TabBox::setAppsOnly( bool a ) {
95
   appsOnly = a;
96
}
90
/*!
97
/*!
91
  Create list of clients on specified desktop, starting with client c
98
  Create list of clients on specified desktop, starting with client c
92
*/
99
*/
Lines 95-110 Link Here
95
    ClientList::size_type idx = 0;
102
    ClientList::size_type idx = 0;
96
103
97
    list.clear();
104
    list.clear();
105
    
98
106
99
    Client* start = c;
107
    Client* start = c;
100
108
109
    TQString startclass = start->readClass();
101
    if ( chain )
110
    if ( chain )
102
        c = workspace()->nextFocusChainClient(c);
111
        c = workspace()->nextFocusChainClient(c);
103
    else
112
    else
104
        c = workspace()->stackingOrder().first();
113
        c = workspace()->stackingOrder().first();
105
114
106
    Client* stop = c;
115
    Client* stop = c;
107
116
    
108
    while ( c )
117
    while ( c )
109
        {
118
        {
110
        Client* add = NULL;
119
        Client* add = NULL;
Lines 121-127 Link Here
121
                // nothing
130
                // nothing
122
                }
131
                }
123
            }
132
            }
124
133
        if(appsOnly && (!TQString::compare( startclass, c->readClass()) == 0))
134
            {
135
            add = NULL;
136
            }
125
        if( options->separateScreenFocus && options->xineramaEnabled )
137
        if( options->separateScreenFocus && options->xineramaEnabled )
126
            {
138
            {
127
            if( c->screen() != workspace()->activeScreen())
139
            if( c->screen() != workspace()->activeScreen())
Lines 645-653 Link Here
645
    XEvent otherEvent;
657
    XEvent otherEvent;
646
    while (XCheckTypedEvent (qt_xdisplay(), EnterNotify, &otherEvent ) )
658
    while (XCheckTypedEvent (qt_xdisplay(), EnterNotify, &otherEvent ) )
647
        ;
659
        ;
660
    setAppsOnly( false );
648
    }
661
    }
649
662
650
651
void TabBox::reconfigure()
663
void TabBox::reconfigure()
652
    {
664
    {
653
    KConfig * c(KGlobal::config());
665
    KConfig * c(KGlobal::config());
Lines 893-898 Link Here
893
        }
905
        }
894
    }
906
    }
895
907
908
void Workspace::slotWalkThroughApps() {
909
  kdDebug(0) << "slot walk" << endl;
910
  tab_box->setAppsOnly(true);  
911
  slotWalkThroughWindows();
912
}
913
914
915
void Workspace::slotWalkBackThroughApps() {
916
    tab_box->setAppsOnly(true);   
917
    slotWalkBackThroughWindows();
918
}
896
void Workspace::slotWalkThroughDesktops()
919
void Workspace::slotWalkThroughDesktops()
897
    {
920
    {
898
    if ( root != qt_xrootwin() )
921
    if ( root != qt_xrootwin() )
Lines 1342-1345 Link Here
1342
1365
1343
} // namespace
1366
} // namespace
1344
1367
1345
#include "tabbox.moc"
1368
#include "tabbox.moc"
(-)client.cpp (+6 lines)
Lines 2029-2035 Link Here
2029
    else 
2029
    else 
2030
        return KWin::readNameProperty( window(), XA_WM_NAME );
2030
        return KWin::readNameProperty( window(), XA_WM_NAME );
2031
    }
2031
    }
2032
2033
TQString Client::readClass() const
2034
    {
2035
    return KWin::readNamePropertyByInt( window(), XA_WM_CLASS, 1 );
2032
    
2036
    
2037
    }
2038
2033
KWIN_COMPARE_PREDICATE( FetchNameInternalPredicate, const Client*, (!cl->isSpecialWindow() || cl->isToolbar()) && cl != value && cl->caption() == value->caption());
2039
KWIN_COMPARE_PREDICATE( FetchNameInternalPredicate, const Client*, (!cl->isSpecialWindow() || cl->isToolbar()) && cl != value && cl->caption() == value->caption());
2034
2040
2035
void Client::setCaption( const TQString& s, bool force )
2041
void Client::setCaption( const TQString& s, bool force )
(-)client.h (+1 lines)
Lines 55-60 Link Here
55
55
56
        Workspace* workspace() const;
56
        Workspace* workspace() const;
57
        const Client* transientFor() const;
57
        const Client* transientFor() const;
58
        TQString readClass() const;
58
        Client* transientFor();
59
        Client* transientFor();
59
        bool isTransient() const;
60
        bool isTransient() const;
60
        bool isModalSystemNotification() const;
61
        bool isModalSystemNotification() const;
(-)tabbox.h (-1 / +3 lines)
Lines 41-46 Link Here
41
    // DesktopListMode lists them in the order created.
41
    // DesktopListMode lists them in the order created.
42
        enum Mode { DesktopMode, DesktopListMode, WindowsMode };
42
        enum Mode { DesktopMode, DesktopListMode, WindowsMode };
43
        void setMode( Mode mode );
43
        void setMode( Mode mode );
44
        void setAppsOnly(bool appsOnly);
44
        Mode mode() const;
45
        Mode mode() const;
45
46
46
        void reset();
47
        void reset();
Lines 48-54 Link Here
48
49
49
        void delayedShow();
50
        void delayedShow();
50
        void hide();
51
        void hide();
51
52
        
52
        void handleMouseEvent( XEvent* );
53
        void handleMouseEvent( XEvent* );
53
54
54
        Workspace* workspace() const;
55
        Workspace* workspace() const;
Lines 72-77 Link Here
72
        int desk;
73
        int desk;
73
        int lineHeight;
74
        int lineHeight;
74
        bool showMiniIcon;
75
        bool showMiniIcon;
76
        bool appsOnly;
75
        TQTimer delayedShowTimer;
77
        TQTimer delayedShowTimer;
76
        TQString no_tasks;
78
        TQString no_tasks;
77
        bool options_traverse_all;
79
        bool options_traverse_all;
(-)kwinbindings.cpp (+2 lines)
Lines 20-25 Link Here
20
	keys->insert( "Group:Navigation", i18n("Navigation") );
20
	keys->insert( "Group:Navigation", i18n("Navigation") );
21
	DEF( I18N_NOOP("Walk Through Windows"),                ALT+Qt::Key_Tab, ALT+Qt::Key_Tab, slotWalkThroughWindows() );
21
	DEF( I18N_NOOP("Walk Through Windows"),                ALT+Qt::Key_Tab, ALT+Qt::Key_Tab, slotWalkThroughWindows() );
22
	DEF( I18N_NOOP("Walk Through Windows (Reverse)"),      ALT+SHIFT+Qt::Key_Tab, ALT+SHIFT+Qt::Key_Tab, slotWalkBackThroughWindows() );
22
	DEF( I18N_NOOP("Walk Through Windows (Reverse)"),      ALT+SHIFT+Qt::Key_Tab, ALT+SHIFT+Qt::Key_Tab, slotWalkBackThroughWindows() );
23
  DEF( I18N_NOOP("Walk Through Windows of Same Application"),                ALT+Qt::Key_QuoteLeft, ALT+Qt::Key_QuoteLeft, slotWalkThroughApps() );
24
  DEF( I18N_NOOP("Walk Through Windows of Same Appilication (Reverse)"),      ALT+SHIFT+Qt::Key_QuoteLeft, ALT+SHIFT+Qt::Key_QuoteLeft, slotWalkBackThroughApps() );
23
	DEF( I18N_NOOP("Walk Through Desktops"),               0, WIN+Qt::Key_Tab, slotWalkThroughDesktops() );
25
	DEF( I18N_NOOP("Walk Through Desktops"),               0, WIN+Qt::Key_Tab, slotWalkThroughDesktops() );
24
	DEF( I18N_NOOP("Walk Through Desktops (Reverse)"),     0, WIN+SHIFT+Qt::Key_Tab, slotWalkBackThroughDesktops() );
26
	DEF( I18N_NOOP("Walk Through Desktops (Reverse)"),     0, WIN+SHIFT+Qt::Key_Tab, slotWalkBackThroughDesktops() );
25
	DEF( I18N_NOOP("Walk Through Desktop List"),           0, 0, slotWalkThroughDesktopList() );
27
	DEF( I18N_NOOP("Walk Through Desktop List"),           0, 0, slotWalkThroughDesktopList() );

Return to bug 869