mirror of
https://github.com/brl/mutter.git
synced 2025-07-05 18:39:52 +00:00
only install .desktop file for metacity-properties if we actually install
2002-12-13 Havoc Pennington <hp@redhat.com> * src/tools/Makefile.am (Desktop_in_files): only install .desktop file for metacity-properties if we actually install metacity-properties * src/display.c (event_callback): not focusing on button 2 click was crack, revert that change.
This commit is contained in:

committed by
Havoc Pennington

parent
c2700863ca
commit
fd8c3514d6
@ -1225,14 +1225,14 @@ event_callback (XEvent *event,
|
||||
*/
|
||||
unmodified = (event->xbutton.state & grab_mask) == 0;
|
||||
|
||||
if ((unmodified && event->xbutton.button != 2) ||
|
||||
if (unmodified ||
|
||||
event->xbutton.button == 1)
|
||||
{
|
||||
if (!frame_was_receiver)
|
||||
{
|
||||
/* don't focus if frame received, will be
|
||||
* done in frames.c if the click wasn't on
|
||||
* the minimize/close button.
|
||||
/* don't focus if frame received, will be lowered in
|
||||
* frames.c or special-cased if the click was on a
|
||||
* minimize/close button.
|
||||
*/
|
||||
meta_window_raise (window);
|
||||
|
||||
|
Reference in New Issue
Block a user