b14e2e0450
It seems most GTK apps like mintMenu and the default Gnome2/Mate menu use the GDK grab focus functions to grab input (pointer/keyboard). These functions appear to suck all input to the app like a blackhole. This patch gives more interactivity to the mintMenu window, making it a first class object in the desktop. Things that work now: * When the window is open, hovering on other desktop icons highlights them * Clicking outside the window propagates the event (e.g. select another window) * Alt-tab and other events unfocus and hide the window * Scrollbars in the mintMenu finally work right * Probably several other small things
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 2.10 -->
|
|
<!-- interface-naming-policy toplevel-contextual -->
|
|
<object class="GtkWindow" id="mainWindow">
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK</property>
|
|
<property name="type">toplevel</property>
|
|
<property name="resizable">False</property>
|
|
<property name="type_hint">menu</property>
|
|
<property name="skip_taskbar_hint">True</property>
|
|
<property name="skip_pager_hint">True</property>
|
|
<property name="decorated">False</property>
|
|
<property name="deletable">False</property>
|
|
<child>
|
|
<object class="GtkAlignment" id="border">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkHBox" id="paneholder">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|