mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
_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>
|
||||
|
||||
* src/keybindings.c (handle_panel_keybinding): turn mouse_mode off
|
||||
|
@ -3959,13 +3959,12 @@ meta_display_update_active_window_hint (MetaDisplay *display)
|
||||
{
|
||||
GSList *tmp;
|
||||
|
||||
unsigned long data[2];
|
||||
gulong data[1];
|
||||
|
||||
if (display->focus_window)
|
||||
data[0] = display->focus_window->xwindow;
|
||||
else
|
||||
data[0] = None;
|
||||
data[1] = None;
|
||||
|
||||
tmp = display->screens;
|
||||
while (tmp != NULL)
|
||||
@ -3976,7 +3975,8 @@ meta_display_update_active_window_hint (MetaDisplay *display)
|
||||
XChangeProperty (display->xdisplay, screen->xroot,
|
||||
display->atom_net_active_window,
|
||||
XA_WINDOW,
|
||||
32, PropModeReplace, (guchar*) data, 2);
|
||||
32, PropModeReplace, (guchar*) data, 1);
|
||||
|
||||
meta_error_trap_pop (display, FALSE);
|
||||
|
||||
tmp = tmp->next;
|
||||
|
Loading…
Reference in New Issue
Block a user