mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
set net_supporting_wm_check in addition to win_supporting_wm_check, patch
2002-06-08 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_open): set net_supporting_wm_check in addition to win_supporting_wm_check, patch from JeyaSudha for #83365 * src/screen.c (set_wm_check_hint): remove setting win_supporting_wm_check on leader window here, done already in display.c
This commit is contained in:
parent
1efd5432ef
commit
459d8f9c9d
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2002-06-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/display.c (meta_display_open): set net_supporting_wm_check
|
||||||
|
in addition to win_supporting_wm_check, patch from
|
||||||
|
JeyaSudha for #83365
|
||||||
|
|
||||||
|
* src/screen.c (set_wm_check_hint): remove setting
|
||||||
|
win_supporting_wm_check on leader window here, done already in
|
||||||
|
display.c
|
||||||
|
|
||||||
2002-06-08 Havoc Pennington <hp@pobox.com>
|
2002-06-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/keybindings.c (meta_window_ungrab_keys): set keys_grabbed to
|
* src/keybindings.c (meta_window_ungrab_keys): set keys_grabbed to
|
||||||
|
@ -457,6 +457,12 @@ meta_display_open (const char *name)
|
|||||||
display->atom_win_supporting_wm_check,
|
display->atom_win_supporting_wm_check,
|
||||||
XA_CARDINAL,
|
XA_CARDINAL,
|
||||||
32, PropModeReplace, (guchar*) data, 1);
|
32, PropModeReplace, (guchar*) data, 1);
|
||||||
|
|
||||||
|
XChangeProperty (display->xdisplay,
|
||||||
|
display->leader_window,
|
||||||
|
display->atom_net_supporting_wm_check,
|
||||||
|
XA_CARDINAL,
|
||||||
|
32, PropModeReplace, (guchar*) data, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now manage all existing windows */
|
/* Now manage all existing windows */
|
||||||
|
@ -748,6 +748,8 @@ meta_window_ungrab_keys (MetaWindow *window)
|
|||||||
else if (!window->grab_on_frame)
|
else if (!window->grab_on_frame)
|
||||||
ungrab_all_keys (window->display,
|
ungrab_all_keys (window->display,
|
||||||
window->xwindow);
|
window->xwindow);
|
||||||
|
|
||||||
|
window->keys_grabbed = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,12 +67,6 @@ set_wm_check_hint (MetaScreen *screen)
|
|||||||
|
|
||||||
/* Legacy GNOME hint (uses cardinal, dunno why) */
|
/* Legacy GNOME hint (uses cardinal, dunno why) */
|
||||||
|
|
||||||
/* legacy hint window should have property containing self */
|
|
||||||
XChangeProperty (screen->display->xdisplay, screen->display->leader_window,
|
|
||||||
screen->display->atom_win_supporting_wm_check,
|
|
||||||
XA_CARDINAL,
|
|
||||||
32, PropModeReplace, (guchar*) data, 1);
|
|
||||||
|
|
||||||
/* do this after setting up window fully, to avoid races
|
/* do this after setting up window fully, to avoid races
|
||||||
* with clients listening to property notify on root.
|
* with clients listening to property notify on root.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user