_NET_ACTIVE_WINDOW is a single xwindow id, not two.
2007-04-03 Elijah Newren <newren gmail com> * src/display.c (meta_display_update_active_window_hint): _NET_ACTIVE_WINDOW is a single xwindow id, not two. svn path=/trunk/; revision=3152
This commit is contained in:
parent
da7d198757
commit
9cae11fd9e
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-03 Elijah Newren <newren gmail com>
|
||||||
|
|
||||||
|
* src/display.c (meta_display_update_active_window_hint):
|
||||||
|
_NET_ACTIVE_WINDOW is a single xwindow id, not two.
|
||||||
|
|
||||||
2007-04-03 Elijah Newren <newren gmail com>
|
2007-04-03 Elijah Newren <newren gmail com>
|
||||||
|
|
||||||
* src/keybindings.c (handle_panel_keybinding): turn mouse_mode off
|
* src/keybindings.c (handle_panel_keybinding): turn mouse_mode off
|
||||||
|
@ -3959,13 +3959,12 @@ meta_display_update_active_window_hint (MetaDisplay *display)
|
|||||||
{
|
{
|
||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
|
|
||||||
unsigned long data[2];
|
gulong data[1];
|
||||||
|
|
||||||
if (display->focus_window)
|
if (display->focus_window)
|
||||||
data[0] = display->focus_window->xwindow;
|
data[0] = display->focus_window->xwindow;
|
||||||
else
|
else
|
||||||
data[0] = None;
|
data[0] = None;
|
||||||
data[1] = None;
|
|
||||||
|
|
||||||
tmp = display->screens;
|
tmp = display->screens;
|
||||||
while (tmp != NULL)
|
while (tmp != NULL)
|
||||||
@ -3976,7 +3975,8 @@ meta_display_update_active_window_hint (MetaDisplay *display)
|
|||||||
XChangeProperty (display->xdisplay, screen->xroot,
|
XChangeProperty (display->xdisplay, screen->xroot,
|
||||||
display->atom_net_active_window,
|
display->atom_net_active_window,
|
||||||
XA_WINDOW,
|
XA_WINDOW,
|
||||||
32, PropModeReplace, (guchar*) data, 2);
|
32, PropModeReplace, (guchar*) data, 1);
|
||||||
|
|
||||||
meta_error_trap_pop (display, FALSE);
|
meta_error_trap_pop (display, FALSE);
|
||||||
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user