that is how it looks on my machine... ofer Emil Nowak <[EMAIL PROTECTED]> wrote: On 05-10-2007, at 05:54:36 Ofer Oshri wrote:
> realizing the gdk::window solved the core dump but the window_manager still
> ignored the requested decoration.
Attached complete example, and resulting screenshoot.
> is there a way to force the window_manager to honor decoration request?
If you have some buggy WM change it to something else.
#include
using namespace Gtk;
class MyWindow : public Gtk::Window {
public:
MyWindow() {};
void on_realize() {
Window::on_realize();
Glib::RefPtr gdk_win = this->get_window();
gdk_win->set_decorations(Gdk::DECOR_TITLE | Gdk::DECOR_BORDER );
}
};
int main(int argc, char **argv) {
Main app(argc, argv);
MyWindow win;
app.run(win);
return 0;
}
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
<<inline: decor.png>>
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
