Tearoff windows are utility windows rather than toolbars.

This commit is contained in:
nick_m 2015-03-10 03:58:00 +11:00
parent 52e99750a0
commit 03160ee182

View File

@ -70,7 +70,7 @@ TearOff::TearOff (Widget& c, bool allow_resize)
own_window.add_events (KEY_PRESS_MASK|KEY_RELEASE_MASK|BUTTON_PRESS_MASK|BUTTON_RELEASE_MASK|POINTER_MOTION_MASK|POINTER_MOTION_HINT_MASK);
own_window.set_resizable (allow_resize);
own_window.set_type_hint (WINDOW_TYPE_HINT_TOOLBAR);
own_window.set_type_hint (WINDOW_TYPE_HINT_UTILITY);
own_window.add (window_box);