diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/Clientmenu.cc | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.zip fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2 |
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/Clientmenu.cc')
-rw-r--r-- | src/Clientmenu.cc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/Clientmenu.cc b/src/Clientmenu.cc index e63aadc..d9335f4 100644 --- a/src/Clientmenu.cc +++ b/src/Clientmenu.cc | |||
@@ -39,28 +39,28 @@ | |||
39 | 39 | ||
40 | 40 | ||
41 | Clientmenu::Clientmenu(Workspace &ws) : Basemenu(ws.getScreen()), | 41 | Clientmenu::Clientmenu(Workspace &ws) : Basemenu(ws.getScreen()), |
42 | m_wkspc(ws) { | 42 | m_wkspc(ws) { |
43 | setInternalMenu(); | 43 | setInternalMenu(); |
44 | } | 44 | } |
45 | 45 | ||
46 | 46 | ||
47 | void Clientmenu::itemSelected(int button, unsigned int index) { | 47 | void Clientmenu::itemSelected(int button, unsigned int index) { |
48 | if (button > 2) | 48 | if (button > 2) |
49 | return; | 49 | return; |
50 | //get the window with index of the item we selected | 50 | //get the window with index of the item we selected |
51 | FluxboxWindow *win = m_wkspc.getWindow(index); | 51 | FluxboxWindow *win = m_wkspc.getWindow(index); |
52 | if (win) { | 52 | if (win) { |
53 | if (button == 1) { | 53 | if (button == 1) { |
54 | if (! m_wkspc.isCurrent()) | 54 | if (! m_wkspc.isCurrent()) |
55 | m_wkspc.setCurrent(); | 55 | m_wkspc.setCurrent(); |
56 | } else if (button == 2) { | 56 | } else if (button == 2) { |
57 | if (! m_wkspc.isCurrent()) | 57 | if (! m_wkspc.isCurrent()) |
58 | win->deiconify(true, false); | 58 | win->deiconify(true, false); |
59 | } | 59 | } |
60 | m_wkspc.raiseWindow(win); | 60 | m_wkspc.raiseWindow(win); |
61 | win->setInputFocus(); | 61 | win->setInputFocus(); |
62 | } | 62 | } |
63 | 63 | ||
64 | if (! (screen()->getWorkspacemenu()->isTorn() || isTorn())) | 64 | if (! (screen()->getWorkspacemenu()->isTorn() || isTorn())) |
65 | hide(); | 65 | hide(); |
66 | } | 66 | } |