2 ===================================================================
3 --- src/panel.c (revision 1161)
4 +++ src/panel.c (revision 1162)
7 Bool had_rotation = False;
9 - XSelectInput (panel->dpy, panel->win, StructureNotifyMask|ExposureMask|
10 - SubstructureRedirectMask|SubstructureNotifyMask|
11 - ButtonPressMask|ButtonReleaseMask|PointerMotionMask|
12 - PropertyChangeMask);
14 XSelectInput (panel->dpy, panel->win_root,
15 PropertyChangeMask|StructureNotifyMask);
17 &an_event.xconfigurerequest);
20 + DBG("%s(): configureNotify\n", __func__);
21 if (an_event.xconfigure.window == panel->win_root)
26 MBPanelApp *papp = NULL;
28 + DBG("mark %i\n", __LINE__);
30 if (panel->ignore_next_config)
32 panel->ignore_next_config = False;
37 + DBG("mark %i\n", __LINE__);
39 if ((PANEL_IS_VERTICAL(panel)
40 && (an_event.xconfigure.width == panel->w)
43 /* && (an_event.xconfigure.width == dpy_w)
44 && dpy_w != panel->w */ )
49 DBG("%s() flipping ....\n", __func__);
52 papp = panel->apps_start_head;
54 papp = panel->apps_end_head;
57 + DBG("mark %i\n", __LINE__);
58 diff = an_event.xconfigure.width - panel->w;
59 if (an_event.xconfigure.x > panel->x)
60 papp = panel->apps_start_head;
61 @@ -1903,6 +1905,11 @@
65 + XSelectInput (panel->dpy, panel->win, StructureNotifyMask|ExposureMask|
66 + SubstructureRedirectMask|SubstructureNotifyMask|
67 + ButtonPressMask|ButtonReleaseMask|PointerMotionMask|
68 + PropertyChangeMask);
70 size_hints.flags = PPosition | PSize | PMinSize;
71 size_hints.x = panel->x;
72 size_hints.y = panel->y;
74 ===================================================================
75 --- ChangeLog (revision 1161)
76 +++ ChangeLog (revision 1162)
78 +2005-05-23 mallum,,, <mallum@openedhand.com>
80 + * src/panel.c: (panel_main), (panel_init):
81 + Select for panel win events much earlier so we dont
82 + miss initial configure notifys. Much improved panel
85 2005-04-11 mallum,,, <mallum@openedhand.com>