Changeset 4b4bd31f0a522c3dc58c4b80dfb92563e522f525

Show
Ignore:
Timestamp:
11/03/07 16:52:45 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1173628365 +0000
git-parent:

[9c7f833f2441b85d2d959b423f7de30ee59743ff]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1173628365 +0000
Message:

Use long instead of int32_t when passing 32-bits value to XChangeProperty.
This seems to be the (stupid) way it has to be done - closes #670

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/skins2/x11/x11_window.cpp

    reef3b9d r4b4bd31  
    7474    // Changing decorations 
    7575    struct { 
    76         uint32_t flags; 
    77         uint32_t functions; 
    78         uint32_t decorations; 
    79         int32_t input_mode; 
    80         uint32_t status; 
     76        unsigned long flags; 
     77        unsigned long functions; 
     78        unsigned long decorations; 
     79        signed   long input_mode; 
     80        unsigned long status; 
    8181    } motifWmHints; 
    8282    Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False ); 
  • modules/video_output/x11/xcommon.h

    r3f8b630 r4b4bd31  
    243243typedef struct mwmhints_t 
    244244{ 
    245     uint32_t flags; 
    246     uint32_t functions; 
    247     uint32_t decorations; 
    248     int32_t input_mode; 
    249     uint32_t status; 
     245    unsigned long flags; 
     246    unsigned long functions; 
     247    unsigned long decorations; 
     248    signed   long input_mode; 
     249    unsigned long status; 
    250250} mwmhints_t; 
    251251