Mercurial > audlegacy-plugins
diff src/skins/ui_skinned_button.c @ 2860:2e081c64a529
transform UiSkinnedTextbox into windowless widget
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Sun, 03 Aug 2008 15:28:02 +0200 |
| parents | 312ba23cbb87 |
| children | 7c7471554d88 |
line wrap: on
line diff
--- a/src/skins/ui_skinned_button.c Sun Aug 03 14:11:02 2008 +0200 +++ b/src/skins/ui_skinned_button.c Sun Aug 03 15:28:02 2008 +0200 @@ -188,7 +188,8 @@ attributes.y = widget->allocation.y; attributes.width = widget->allocation.width; attributes.height = widget->allocation.height; - attributes.window_type = GDK_INPUT_ONLY; + attributes.wclass = GDK_INPUT_ONLY; + attributes.window_type = GDK_WINDOW_CHILD; attributes.event_mask = gtk_widget_get_events(widget); attributes.event_mask |= GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK;
