summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/FbTk/Menu.cc3
-rw-r--r--src/Slit.cc7
-rw-r--r--src/SlitClient.hh3
4 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bae23b..461226e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.6: 2Changes for 0.9.6:
3*03/10/31: 3*03/10/31:
4 * Fix slit client map on restart and surplus menu redraw (Simon)
5 SlitClient.hh Slit.cc Menu.cc
4 * Fix textbutton text alignment (out by one) (Simon) 6 * Fix textbutton text alignment (out by one) (Simon)
5 TextButton.cc 7 TextButton.cc
6 * Tweak some positioning for winbutton drawn icons (Simon) 8 * Tweak some positioning for winbutton drawn icons (Simon)
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index ebaea3b..8b4a91e 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.39 2003/10/06 09:55:36 rathnor Exp $ 25// $Id: Menu.cc,v 1.40 2003/11/01 00:12:53 rathnor Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -723,7 +723,6 @@ void Menu::drawSubmenu(unsigned int index) {
723 if (! item->submenu()->isVisible()) { 723 if (! item->submenu()->isVisible()) {
724 item->submenu()->show(); 724 item->submenu()->show();
725 item->submenu()->raise(); 725 item->submenu()->raise();
726 item->submenu()->renderTransFrame();
727 } 726 }
728 727
729 item->submenu()->moving = moving; 728 item->submenu()->moving = moving;
diff --git a/src/Slit.cc b/src/Slit.cc
index a16bfb8..422d0e4 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.80 2003/08/30 01:01:47 fluxgen Exp $ 25// $Id: Slit.cc,v 1.81 2003/11/01 00:12:53 rathnor Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -968,7 +968,10 @@ void Slit::handleEvent(XEvent &event) {
968 configureRequestEvent(event.xconfigurerequest); 968 configureRequestEvent(event.xconfigurerequest);
969 } else if (event.type == DestroyNotify) { 969 } else if (event.type == DestroyNotify) {
970 removeClient(event.xdestroywindow.window, false); 970 removeClient(event.xdestroywindow.window, false);
971 } else if (event.type == UnmapNotify) { 971 } else if (event.type == UnmapNotify && event.xany.send_event) {
972 // we ignore server-generated events, which can occur
973 // on restart. The ICCCM says that a client must send
974 // a synthetic event for the withdrawn state
972 removeClient(event.xunmap.window); 975 removeClient(event.xunmap.window);
973 } 976 }
974} 977}
diff --git a/src/SlitClient.hh b/src/SlitClient.hh
index 5719ab0..f88c062 100644
--- a/src/SlitClient.hh
+++ b/src/SlitClient.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: SlitClient.hh,v 1.1 2003/06/20 01:25:26 fluxgen Exp $ 22// $Id: SlitClient.hh,v 1.2 2003/11/01 00:12:53 rathnor Exp $
23 23
24#ifndef SLITCLIENT_HH 24#ifndef SLITCLIENT_HH
25#define SLITCLIENT_HH 25#define SLITCLIENT_HH
@@ -55,6 +55,7 @@ public:
55 void setWindow(Window win) { m_window = win; } 55 void setWindow(Window win) { m_window = win; }
56 void move(int x, int y) { m_x = x; m_y = y; } 56 void move(int x, int y) { m_x = x; m_y = y; }
57 void resize(unsigned int width, unsigned int height) { m_width = width; m_height = height; } 57 void resize(unsigned int width, unsigned int height) { m_width = width; m_height = height; }
58 void moveResize(int x, int y, unsigned int width, unsigned int height) { m_x = x; m_y = y; m_width = width; m_height = height; }
58 void hide(); 59 void hide();
59 void show(); 60 void show();
60 void setVisible(bool value) { m_visible = value; } 61 void setVisible(bool value) { m_visible = value; }