X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.hh;h=382ab1df01794e33adaf1d7dc59dca931858a7fa;hb=1e47e17d08d72d181edc2bde598ad246055655ad;hp=e18de3c9ff7694ad1a31cda94a5296ec5e4c5328;hpb=0dd7ebcba90752d3ad832586f0c1745660078a03;p=chaz%2Fopenbox diff --git a/src/client.hh b/src/client.hh index e18de3c9..382ab1df 100644 --- a/src/client.hh +++ b/src/client.hh @@ -478,8 +478,11 @@ private: /*! @param x The X coordinate to move to. @param y The Y coordinate to move to. + @param final true if this is the final move, false if there are more move + events coming. The client is not notified of the move when + final is false. */ - void internal_move(int x, int y); + void internal_move(int x, int y, bool final = true); //! Internal version of the Client::resize function /*! This also maintains things like the client's minsize, and size increments. @@ -593,7 +596,7 @@ public: inline DecorationFlags disabledDecorations() const { return _disabled_decorations; } //! Returns the functions that the user can perform on the window - inline FunctionFlags funtions() const { return _functions; } + inline FunctionFlags functions() const { return _functions; } //! Return the client this window is transient for inline Client *transientFor() const { return _transient_for; } @@ -674,8 +677,11 @@ public: the position specified. @param x The X coordinate to move to. @param y The Y coordinate to move to. + @param final true if this is the final move, false if there are more move + events coming. The client is not notified of the move when + final is false. */ - void move(int x, int y); + void move(int x, int y, bool final = true); //! Resizes the client window, anchoring it in a given corner /*!